mahos_dq.meas.odmr.ODMR#
- class mahos_dq.meas.odmr.ODMR(gconf: dict, name, context=None)#
ODMR (Optically Detected Magnetic Resonance) measurement.
This Node is for frequency-sweep, CW and Pulse ODMR measurements for defect qubits using non-imaging, single-pixel photodetectors. See
PODMRorSPODMRfor pulse ODMR measurements (Rabi, FID, SpinEcho, etc.) with fixed frequency. SeeIODMRfor frequency-sweep, imaging CW ODMR with camera.There are two options for the worker (sweeper, measurement logic). See docs of sweeper below for sweeper parameters.
Sweeper: fast logic with hardware trigger.SweeperOverlay: interface to overlay.
- Parameters:
target.servers (dict[str, str]) – InstrumentServer targets (instrument name, server full name). Required keys (overlay mode):
sweeper. Required keys (direct mode):sg,pg, and names insweeper.pd_names. In direct mode, ifsweeper.pd_analogis True, the key named bysweeper.clock_nameis also required. Optional keys:pgin overlay mode (for non-PG overlays) and switch keys listed inswitch_names.target.tweakers (list[str]) – The Tweaker targets (list of tweaker full name).
target.log (str) – The LogBroker target (broker 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.
pub_interval_sec (float) – Maximum interval between periodic status/data publications.
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.
- __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.
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