OrsHyperdimensonalDataManager_c7583beeb50411e79de074d435ecf773¶
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2021. |
| date: | Oct 19 2017 15:36 |
| dragonflyVersion: | |
| 3.1.0.307 (D) | |
| UUID: | c7583beeb50411e79de074d435ecf773 |
Class Code¶
-
class
OrsPythonPlugins.OrsHyperdimensonalDataManager_c7583beeb50411e79de074d435ecf773.OrsHyperdimensonalDataManager_c7583beeb50411e79de074d435ecf773.OrsHyperdimensonalDataManager_c7583beeb50411e79de074d435ecf773(varname=None)¶ -
FilterMap= {<class 'ORSServiceClass.hyperspectra.dataHandlers.pycroscopyDataHandler.PycroscopyDataHandler'>: 'Pycroscopy (*.h5)', <class 'ORSServiceClass.hyperspectra.dataHandlers.digitalMicrographDataHandler.DigitalMicrographDataHandler'>: 'Gatan Digital Micrographs (*.dm3 *.dm4)', <class 'ORSServiceClass.hyperspectra.dataHandlers.envi.EnviLoader'>: 'ENVI (*.hdr)', <class 'ORSServiceClass.hyperspectra.dataHandlers.lanl_cxrf.LANL_CXRF'>: 'LANL CXRF (*.txt)'}¶
-
Filters= ['Pycroscopy (*.h5)', 'Gatan Digital Micrographs (*.dm3 *.dm4)', 'ENVI (*.hdr)', 'LANL CXRF (*.txt)', 'All Accepted (*.h5 *.dm3 *.dm4 *.hdr *.txt)']¶
-
OrsStateHyperprobe= 'OrsStateHyperprobe'¶
-
OrsStateHyperprobeActivation()¶
-
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>, <ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
classmethod
action_open()¶
-
enterTemporaryStateProbeAction()¶
-
getDataManager() → ORSServiceClass.hyperspectra.dataHandlers.abstractDataHandler.AbstractDataHandler¶
-
getFormattedProbeHeader(positionLabel)¶
-
getFormattedProbeValues()¶
-
classmethod
getMainFormClass()¶ Gets the class of the main form
Returns: output –
-
getProbeWorldPosition()¶
-
getSelectedDataManager()¶
-
handleChanged(oldState, newState)¶ This method is called when the state of the application is changed.
Parameters: - oldState (str) – name of the old (previous) state
- newState (str) – name of the new (current) state
-
handleTriggered(eventdata)¶ This method is called on every user input (mouse move, mouse click, key press, …) when the current state of the application is one of those declared by the plugin. This method can be used to perform specific tasks even if no action is currently in progress.
Parameters: eventData (OrsEvent.eventdata.InputEventData) – the event data
-
keepAlive= False¶
-
loadData(filename, filter)¶
-
loadDataForGatan(path)¶ Parameters: path – Return:
-
loadDataForPycroscopy(path)¶ Parameters: path – Return:
-
load_data_interface()¶
-
managedDataHandlers= {}¶
-
multiple= False¶
-
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1, show=True)¶ Instantiates the widget with the provided name. This is done only if it is not already instantiated.
Parameters: - name (str) – name of the widget to instantiate
- dock (str) – docking location in the main window (left, right, top, bottom, center, floating)
- tab (str) – name of the tab to dock in
- x (int) – position of top left corner of window in x. Use -1 for default value.
- y (int) – position of top left corner of window in y. Use -1 for default value.
- w (int) – width of window. Use -1 for default value.
- l (int) – height of window. Use -1 for default value.
- order (int.) – position of widget in docking location. Use -1 to put at the end.
- show (bool) – if
True, the form is also shown after being instantiated. If the form already exists, a “raise” is done. IfFalse, no call to show the form is made.
-
renameSelectedWorkingDataset(newName)¶
-
savable= False¶
-
setSelectedDataHandler(handler)¶
-
showInToolbar= True¶
-
classmethod
startupDefault(openMainForm=True)¶ Creates an instance of the plugin class and opens the main form (if required) at the default position.
Returns: output (AbstractPlugin) – plugin instance
-
stateDescriptors= [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]¶
-
switchToStateProbeAction()¶
-
classmethod
toolsMenu()¶
-
updateSelection()¶
-