OrsHyperdimensonalDataManager_c7583beeb50411e79de074d435ecf773

author:

Dragonfly Team

contact:

http://theobjects.com

email:

support.dragonfly@comet.tech

organization:

Comet Technologies Canada Inc.

address:

460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7

copyright:

Comet Technologies Canada Inc. All rights reserved 2023.

date:

Oct 19 2017 15:36

dragonflyVersion:

3.1.0.307 (D)

UUID:

c7583beeb50411e79de074d435ecf773

Class Code

class OrsPythonPlugins.OrsHyperdimensonalDataManager_c7583beeb50411e79de074d435ecf773.OrsHyperdimensonalDataManager_c7583beeb50411e79de074d435ecf773.OrsHyperdimensonalDataManager_c7583beeb50411e79de074d435ecf773(*args, **kwargs)
classmethod getMainFormClass()

Gets the class of the main form

Returns:

output

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

loadDataForGatan(path)
Parameters:

path

Return:

loadDataForPycroscopy(path)
Parameters:

path

Return:

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. If False, no call to show the form is made.

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