photons.equipment.sia_cmi module

Switched Integrator Amplifier from CMI.

class photons.equipment.sia_cmi.SIA3CMI(record, **kwargs)[source]

Bases: BaseEquipment

Switched Integrator Amplifier from CMI.

Parameters:
  • record (EquipmentRecord) – The equipment record.

  • **kwargs – Keyword arguments. Can be specified as attributes of an XML element in a configuration file (with the tag of the element equal to the alias of record).

connection: SIA3
Integration

alias of IntegrationTime

integration_time_changed: SignalInstance
get_integration_time(as_enum=False)[source]

Get the integration time.

Parameters:

as_enum (bool) – Whether to return the value as an IntegrationTime enum value or as a numeric value in seconds.

Return type:

IntegrationTime | float

Returns:

The integration time.

set_integration_time(time)[source]

Set the integration time (i.e., the gain).

For example:

time=sia.Integration.TIME_100u
time='100u'
time='100us'
time=6

are all equivalent.

Parameters:

time (int | str) – The integration time.

Return type:

None