photons.equipment.coherent_fieldmaster module

Coherent FieldMaster GS power meter.

class photons.equipment.coherent_fieldmaster.FieldMasterGS(record, **kwargs)[source]

Bases: BaseEquipment

Coherent FieldMaster GS power meter.

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: ConnectionMessageBased
detector()[source]

Returns the detector type.

Return type:

str

get_attenuation()[source]

Returns the attenuation factor.

Return type:

float

get_offset()[source]

Returns the offset.

Return type:

float

get_wavelength()[source]

Returns the wavelength (in nm).

Return type:

float

power(nsamples=1)[source]

Returns the power readings (in Watts).

Parameters:

nsamples (int) – The number of samples to acquire.

Return type:

Samples

restart()[source]

Restart the system.

Return type:

None

set_attenuation(attenuation)[source]

Sets the attenuation factor.

Return type:

None

set_offset(enabled)[source]

Whether to use the current reading as the offset or to turn the offset off.

Return type:

None

set_wavelength(nm)[source]

Sets the wavelength (in nm).

Return type:

None