stanza.base.instruments

Module Contents

Classes

NameDescription
BaseMeasurementInstrumentBase class for measurement instruments.
BaseControlInstrumentBase class for control instruments.
BaseInstrumentBase class for instruments.

API

1class stanza.base.instruments.BaseMeasurementInstrument(instrument_config: stanza.models.MeasurementInstrumentConfig)

Bases: stanza.base.mixins.MeasurementInstrumentMixin

Base class for measurement instruments.

1prepare_measurement() -> None

Prepare the measurement.

1teardown_measurement() -> None

Teardown the measurement.

1instrument_info() -> dict[str, typing.Any]

Get the instrument information.

1class stanza.base.instruments.BaseControlInstrument(instrument_config: stanza.models.ControlInstrumentConfig)

Bases: stanza.base.mixins.ControlInstrumentMixin

Base class for control instruments.

1instrument_info() -> dict[str, typing.Any]

Get the instrument information.

1class stanza.base.instruments.BaseInstrument(instrument_config: stanza.models.BaseInstrumentConfig)

Bases: stanza.base.mixins.MeasurementInstrumentMixin, stanza.base.mixins.ControlInstrumentMixin

Base class for instruments.

1instrument_info() -> dict[str, typing.Any]

Get the instrument information.