Qudi
|
Hardware module for reading spectra from the WinSpec32 spectrometer software. More...
Public Member Functions | |
def | on_activate (self) |
Activate module. | |
def | on_deactivate (self) |
Deactivate module. | |
def | recordSpectrum (self) |
Record spectrum from WinSpec32 software. More... | |
def | saveSpectrum (self, path, postfix='') |
Save spectrum from WinSpec32 software. More... | |
def | getExposure (self) |
Get exposure. More... | |
def | setExposure (self, exposureTime) |
Set exposure. 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... | |
Public Attributes | |
expt_is_running | |
path | |
prefix | |
querytime | |
WinspecDoc | |
WinspecDocs | |
WinspecExpt | |
status | |
![]() | |
module_state | |
connectors | |
Hardware module for reading spectra from the WinSpec32 spectrometer software.
Example config for copy-paste:
spectrometer_dummy: module 'spectrometer.winspec_spectrometer.WinSpec32'
def winspec_spectrometer.WinSpec32.getExposure | ( | self | ) |
Get exposure.
Not implemented.
def winspec_spectrometer.WinSpec32.recordSpectrum | ( | self | ) |
Record spectrum from WinSpec32 software.
def winspec_spectrometer.WinSpec32.saveSpectrum | ( | self, | |
path, | |||
postfix = '' |
|||
) |
Save spectrum from WinSpec32 software.
str | path: path to save origial spectrum |
str | postfix: file posfix |
def winspec_spectrometer.WinSpec32.setExposure | ( | self, | |
exposureTime | |||
) |
Set exposure.
float | exposureTime: exposure |
Not implemented.