Qudi
Public Member Functions | Public Attributes | List of all members
iXon897_ultra.IxonUltra Class Reference

Hardware class for Andors Ixon Ultra 897. More...

Inheritance diagram for iXon897_ultra.IxonUltra:
Inheritance graph
[legend]
Collaboration diagram for iXon897_ultra.IxonUltra:
Collaboration graph
[legend]

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 set_up_counter (self)
 
def count_odmr (self, length)
 
def get_down_time (self)
 
def get_counter_channels (self)
 
- Public Member Functions inherited from core.module.BaseMixin
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...
 
- Public Member Functions inherited from core.module.ModuleMeta
def __new__ (cls, name, bases, attrs)
 Collect declared Connectors, ConfigOptions and StatusVars into dictionaries. More...
 

Public Attributes

 dll
 
- Public Attributes inherited from core.module.BaseMixin
 module_state
 
 connectors
 

Detailed Description

Hardware class for Andors Ixon Ultra 897.

Example config for copy-paste:

andor_ultra_camera: module 'camera.andor.iXon897_ultra.IxonUltra' dll_location 'C:\camera\andor.dll' # path to library file default_exposure 1.0 default_read_mode 'IMAGE' default_temperature -70 default_cooler_on True default_acquisition_mode 'SINGLE_SCAN' default_trigger_mode 'INTERNAL'

Member Function Documentation

◆ get_acquired_data()

def iXon897_ultra.IxonUltra.get_acquired_data (   self)

Return an array of last acquired image.

Returns
numpy array: image data in format [[row],[row]...]

Each pixel might be a float, integer or sub pixels

◆ get_exposure()

def iXon897_ultra.IxonUltra.get_exposure (   self)

Get the exposure time in seconds.

Returns
float exposure time

◆ get_gain()

def iXon897_ultra.IxonUltra.get_gain (   self)

Get the gain.

Returns
float: exposure gain

◆ get_name()

def iXon897_ultra.IxonUltra.get_name (   self)

Retrieve an identifier of the camera that the GUI can print.

Returns
string: name for the camera

◆ get_ready_state()

def iXon897_ultra.IxonUltra.get_ready_state (   self)

Is the camera ready for an acquisition ?

Returns
bool: ready ?

◆ get_size()

def iXon897_ultra.IxonUltra.get_size (   self)

Retrieve size of the image in pixel.

Returns
tuple: Size (width, height)

◆ set_exposure()

def iXon897_ultra.IxonUltra.set_exposure (   self,
  exposure 
)

Set the exposure time in seconds.

Parameters
floattime: desired new exposure time
Returns
bool: Success?

◆ set_gain()

def iXon897_ultra.IxonUltra.set_gain (   self,
  gain 
)

Set the gain.

Parameters
floatgain: desired new gain
Returns
float: new exposure gain

◆ start_live_acquisition()

def iXon897_ultra.IxonUltra.start_live_acquisition (   self)

Start a continuous acquisition.

Returns
bool: Success ?

◆ start_single_acquisition()

def iXon897_ultra.IxonUltra.start_single_acquisition (   self)

Start a single acquisition.

Returns
bool: Success ?

◆ stop_acquisition()

def iXon897_ultra.IxonUltra.stop_acquisition (   self)

Stop/abort live or single acquisition.

Returns
bool: Success ?

◆ support_live_acquisition()

def iXon897_ultra.IxonUltra.support_live_acquisition (   self)

Return whether or not the camera can take care of live acquisition.

Returns
bool: True if supported, False if not

The documentation for this class was generated from the following file: