OrsDatasetConvertor¶
Converts data type of datasets
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2018. |
| date: | Oct 05 2015 16:44 |
| dragonflyVersion: | |
| 3.0 | |
| UUID: | 22d4a214761111e78995448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsDatasetConvertor.OrsDatasetConvertor.OrsDatasetConvertor(varname=None, managed=True)¶ -
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
closable= True¶
-
closeWidget(name)¶
-
classmethod
contextualMenu(context)¶
-
interfacemethod
convertDataset(dataset, newType, createNewDataset, minNormalize=None, maxNormalize=None, minFilter=None, maxFilter=None, replacement=None, IProgress=None)¶ Converts a dataset to a specified data type
Both optional values minNormalize and maxNormalize should be given to use the normalization.
All optional values minFilter, maxFilter and replacement should be given to use the filtering.
Parameters: - dataset (ORSModel.ors.Channel) – dataset to convert
- newType (IntEnum CxvChannel_Data_Type) – datatype of the converted dataset
- createNewDataset (bool) – if True, a new dataset will be created. Otherwise, the given dataset will be modified.
- minNormalize (float) – lower bound of normalization range (optional)
- maxNormalize (float) – higher bound of normalization range (optional)
- minFilter (float) – lower bound of filter range (optional)
- maxFilter (float) – higher bound of filter range (optional)
- replacement (float) – replacement value for the filter (optional)
- IProgress (ORSModel.ors.Progress) – progress object
Returns: newDataset (ORSModel.ors.Channel) – converted dataset
-
getChannelGUID()¶
-
getSourceStructuredGrid()¶
-
keepAlive= False¶
-
multiple= False¶
-
classmethod
openDatasetConverterAction(channelGUID)¶
-
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)¶
-
savable= False¶
-
selectedObjectsChanged()¶
-
setChannelGUID(guid)¶
-
setSourceStructuredGrid(structuredGrid)¶
-