|
|
def | __init__ (self, config, kwargs) |
| |
|
def | on_activate (self) |
| | Initialisation performed during activation of the module.
|
| |
|
def | on_deactivate (self) |
| | Deinitialisation performed during deactivation of the module.
|
| |
| def | set_up_odmr_clock (self, clock_frequency=None, clock_channel=None) |
| | Configures the hardware clock of the NiDAQ card to give the timing. More...
|
| |
| def | set_up_odmr (self, counter_channel=None, photon_source=None, clock_channel=None, odmr_trigger_channel=None) |
| | Configures the actual counter with a given clock. More...
|
| |
| def | set_odmr_length (self, length=100) |
| | Sets up the trigger sequence for the ODMR and the triggered microwave. More...
|
| |
| def | count_odmr (self, length=100) |
| | Sweeps the microwave and returns the counts on that sweep. More...
|
| |
| def | close_odmr (self) |
| | Closes the odmr and cleans up afterwards. More...
|
| |
| def | close_odmr_clock (self) |
| | Closes the odmr and cleans up afterwards. More...
|
| |
| def | get_odmr_channels (self) |
| | Return a list of channel names. More...
|
| |
| def | __init__ (self, manager, name, config=None, callbacks=None, kwargs) |
| | Initialise Base class object and set up its state machine. More...
|
| |
|
def | log (self) |
| | Returns a logger object.
|
| |
|
def | is_module_threaded (self) |
| | Returns whether the module shall be started in a thread.
|
| |
| def | on_activate (self) |
| | Method called when module is activated. More...
|
| |
| def | on_deactivate (self) |
| | Method called when module is deactivated. More...
|
| |
| def | getStatusVariables (self) |
| | Return a dict of variable names and their content representing the module state for saving. More...
|
| |
| def | setStatusVariables (self, variableDict) |
| | Give a module a dict of variable names and their content representing the module state. More...
|
| |
| def | getConfiguration (self) |
| | Return the configration dictionary for this module. More...
|
| |
| def | get_connector (self, connector_name) |
| | Return module connected to the given named connector. More...
|
| |
| def | __new__ (cls, name, bases, attrs) |
| | Collect declared Connectors, ConfigOptions and StatusVars into dictionaries. More...
|
| |
Dummy hardware class to simulate the controls for a simple ODMR.
Example config for copy-paste:
odmr_counter_dummy: module 'odmr_counter_dummy.ODMRCounterDummy' clock_frequency 100 # in Hz number_of_channels 2 fitlogic 'fitlogic' # name of the fitlogic module, see default config