qcodes_contrib_drivers.drivers.Andor package¶
Submodules¶
qcodes_contrib_drivers.drivers.Andor.DU401 module¶
- class qcodes_contrib_drivers.drivers.Andor.DU401.Andor_DU401(*args: Any, **kwargs: Any)[source]¶
Bases:
Instrument
Instrument driver for the Andor DU401 BU2 CCD.
- Parameters:
name – Instrument name.
dll_path – Path to the atmcd64.dll file. If not set, a default path is used.
camera_id – ID for the desired CCD.
setup – Flag for the setup of the CCD. If true, some default settings will be sent to the CCD.
- serial_number¶
Serial number of the CCD.
- head_model¶
Head model of the CCD.
- firmware_version¶
Firmware version of the CCD.
- firmware_build¶
Firmware build of the CCD.
- x_pixels¶
Number of pixels on the x axis.
- y_pixels¶
Number of pixels on the y axis.
- close() None [source]¶
Irreversibly stop this instrument and free its resources.
Subclasses should override this if they have other specific resources to close.
- get_idn() Dict[str, str | None] [source]¶
Parse a standard VISA
*IDN?
response into an ID dict.Even though this is the VISA standard, it applies to various other types as well, such as IPInstruments, so it is included here in the Instrument base class.
Override this if your instrument does not support
*IDN?
or returns a nonstandard IDN string. This string is supposed to be a comma-separated list of vendor, model, serial, and firmware, but semicolon and colon are also common separators so we accept them here as well.- Returns:
A dict containing vendor, model, serial, and firmware.
- class qcodes_contrib_drivers.drivers.Andor.DU401.Spectrum(name: str, instrument: Andor_DU401, **kwargs)[source]¶
Bases:
Parameter
Parameter class for a spectrum taken with an Andor CCD. The spectrum is saved in a list with the length being set by the number of pixels on the CCD.
- Parameters:
name – Parameter name.
- get_raw() List[int] [source]¶
get_raw
is called to perform the actual data acquisition from the instrument. This method should either be overwritten to perform the desired operation or alternatively forParameter
a suitable method is automatically generated ifget_cmd
is supplied to the parameter constructor. The method is automatically wrapped to provide aget
method on the parameter instance.
- set_raw(value)[source]¶
set_raw
is called to perform the actual setting of a parameter on the instrument. This method should either be overwritten to perform the desired operation or alternatively forParameter
a suitable method is automatically generated ifset_cmd
is supplied to the parameter constructor. The method is automatically wrapped to provide aset
method on the parameter instance.
- class qcodes_contrib_drivers.drivers.Andor.DU401.atmcd64d(dll_path: str | None = None, verbose: bool = False)[source]¶
Bases:
object
Wrapper class for the atmcd64.dll Andor library. The class has been tested for an Andor iDus DU401 BU2.
- Parameters:
dll_path – Path to the atmcd64.dll file. If not set, a default path is used.
verbose – Flag for the verbose behaviour. If true, successful events are printed.
- verbose¶
Flag for the verbose behaviour.
- dll¶
WinDLL object for atmcd64.dll.