Qudi
|
Dummy hardware for camera interface. More...
Public Member Functions | |
def | on_activate (self) |
Initialisation performed during activation of the module. | |
def | on_deactivate (self) |
Deinitialisation performed during deactivation of the module. | |
def | get_name (self) |
Retrieve an identifier of the camera that the GUI can print. More... | |
def | get_size (self) |
Retrieve size of the image in pixel. More... | |
def | support_live_acquisition (self) |
Return whether or not the camera can take care of live acquisition. More... | |
def | start_live_acquisition (self) |
Start a continuous acquisition. More... | |
def | start_single_acquisition (self) |
Start a single acquisition. More... | |
def | stop_acquisition (self) |
Stop/abort live or single acquisition. More... | |
def | get_acquired_data (self) |
Return an array of last acquired image. More... | |
def | set_exposure (self, exposure) |
Set the exposure time in seconds. More... | |
def | get_exposure (self) |
Get the exposure time in seconds. More... | |
def | set_gain (self, gain) |
Set the gain. More... | |
def | get_gain (self) |
Get the gain. More... | |
def | get_ready_state (self) |
Is the camera ready for an acquisition ? 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... | |
Additional Inherited Members | |
![]() | |
module_state | |
connectors | |
Dummy hardware for camera interface.
Example config for copy-paste:
camera_dummy: module 'camera.camera_dummy.CameraDummy' support_live True camera_name 'Dummy camera' resolution (1280, 720) exposure 0.1 gain 1.0
def camera_dummy.CameraDummy.get_acquired_data | ( | self | ) |
Return an array of last acquired image.
Each pixel might be a float, integer or sub pixels
def camera_dummy.CameraDummy.get_exposure | ( | self | ) |
Get the exposure time in seconds.
def camera_dummy.CameraDummy.get_gain | ( | self | ) |
Get the gain.
def camera_dummy.CameraDummy.get_name | ( | self | ) |
Retrieve an identifier of the camera that the GUI can print.
def camera_dummy.CameraDummy.get_ready_state | ( | self | ) |
Is the camera ready for an acquisition ?
def camera_dummy.CameraDummy.get_size | ( | self | ) |
Retrieve size of the image in pixel.
def camera_dummy.CameraDummy.set_exposure | ( | self, | |
exposure | |||
) |
Set the exposure time in seconds.
float | time: desired new exposure time |
def camera_dummy.CameraDummy.set_gain | ( | self, | |
gain | |||
) |
Set the gain.
float | gain: desired new gain |
def camera_dummy.CameraDummy.start_live_acquisition | ( | self | ) |
Start a continuous acquisition.
def camera_dummy.CameraDummy.start_single_acquisition | ( | self | ) |
Start a single acquisition.
def camera_dummy.CameraDummy.stop_acquisition | ( | self | ) |
Stop/abort live or single acquisition.
def camera_dummy.CameraDummy.support_live_acquisition | ( | self | ) |
Return whether or not the camera can take care of live acquisition.