mahos_dq.meas.spectroscopy.Spectroscopy#

class mahos_dq.meas.spectroscopy.Spectroscopy(gconf: dict, name, context=None)#

Spectroscopy measurement.

Parameters:
  • target.servers (dict[str, str]) – InstrumentServer targets. Required keys: spectrometer. Optional keys: switch and pg (and any keys listed in switch_names).

  • target.tweakers (list[str]) – Optional Tweaker node names saved alongside spectroscopy data.

  • target.log (str) – LogBroker target full name.

  • switch_names (list[str]) – Optional switch instrument names to route signal/optical paths.

  • switch_command (str) – Switch command label passed to Switch worker.

  • repeater (dict) – Repeater worker configuration dictionary.

  • pub_interval_sec (float) – Maximum interval between periodic status/data publications.

__init__(gconf: dict, name, context=None)#

Methods

__init__(gconf, name[, context])

change_state(msg)

Change state to msg.state.

close_resources()

Close custom resources.

export_data(msg)

Export data.

get_param_dict(msg)

Get parameter dict.

get_param_dict_labels(msg)

Get parameter dict labels.

load_data(msg)

Load data.

main()

Main procedure that will be looped.

save_data(msg)

Save data.

wait()

Wait until required resources are ready.

Attributes