mahos_dq.meas.iodmr.IODMR#

class mahos_dq.meas.iodmr.IODMR(gconf: dict, name, context=None)#

Imaging ODMR measurement.

NOTE that this measurement logic is under development and rather immature.

There are two options for the worker (sweeper, measurement logic). See docs of sweeper below for sweeper parameters.

Parameters:
  • target.servers (dict[str, str]) – InstrumentServer targets. Required keys (overlay mode): isweeper. Required keys (direct mode): sg, pg, and camera. Optional keys: switch keys listed in switch_names.

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

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

  • publish_each (bool) – If True, publish data after each completed sweep.

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

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