photons.equipment.shutter module

Base class for a shutter.

class photons.equipment.shutter.Shutter(record, **kwargs)[source]

Bases: BaseEquipment

Base class for a shutter.

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).

state_changed: SignalInstance
is_open()[source]

Query whether the shutter is open (True) or closed (False).

Return type:

bool

open()[source]

Open the shutter.

Return type:

None

close()[source]

Close the shutter.

Return type:

None