mahos.meas.odmr.ODMR#

class mahos.meas.odmr.ODMR(gconf: dict, name, context=None)#
__init__(gconf: dict, name, context=None)#

ODMR Sweep measurement.

Parameters:
  • sweeper.pd_clock (str) – DAQ terminal name for PD’s clock (gate)

  • sweeper.pd_names (list[str]) – (default: [“pd0”, “pd1”]) PD names in target.servers.

  • sweeper.pd_analog (bool) – (default: False) set True if PD is AnalogIn-based.

  • sweeper.trigger_channel (str) – (default: trigger) PG channel name for SG trigger.

  • sweeper.start_delay (float) – (default: 0.0) delay time (sec.) before starting SG/PG output.

  • sweeper.sg_first (bool) – (has preset) if True, turn on SG first and PG second. This mode is for SGs which won’t start the point sweep by software command.

  • pulser.pg_freq_cw (float) – (has preset) PG frequency for CW mode.

  • pulser.pg_freq_pulse (float) – (has preset) PG frequency for Pulse mode.

  • pulser.minimum_block_length (int) – (has preset) minimum block length in generated blocks

  • sweeper.block_base (int) – (has preset) block base granularity of pulse generator.

  • sweeper.start (float) – (default param) start frequency in Hz.

  • sweeper.stop (float) – (default param) stop frequency in Hz.

  • sweeper.num (int) – (default param) number of frequency points.

  • sweeper.power (float) – (default param) SG output power in dBm.

  • sweeper.time_window (float) – (default param) time window for cw mode.

  • sweeper.pd_rate (float) – (default param) analog PD sampling rate.

  • sweeper.sg_modulation (bool) – (default param) enable external IQ modulation for SG.

  • fitter.dip (bool) – (default: True) True if ODMR shape is dip instead of peak.

  • fitter.n_guess (int) – (default: 20) Number of data points in peak center guess.

  • fitter.n_guess_bg (int) – (default: 40) Number of histogram bins in background guess.

Methods

__init__(gconf, name[, context])

ODMR Sweep measurement.

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.

handle_req(msg)

Handle Request other than basic requests.

load_data(msg)

Load data.

main()

Main procedure that will be looped.

save_data(msg)

Save data.

validate(msg)

Validate the measurement params.

wait()

Wait until required resources are ready.

Attributes