mahos_dq.msgs.odmr_msgs.ODMRData#

class mahos_dq.msgs.odmr_msgs.ODMRData(params: dict | None = None, label: str = '')#

Data type for ODMR measurement.

Variables:
  • data – Signal values with shape (frequency, sweep).

  • bg_data – Background values with shape (frequency, sweep), or None.

  • raw_data_sum – Sum of the burst-averaged AnalogPD traces across ODMR sweeps with shape (point, sample). Signal and background points are interleaved when background acquisition is enabled. This is populated only for pd_trace pulse acquisition.

  • fit_complex_conv – Complex conversion used for loading fitted data.

__init__(params: dict | None = None, label: str = '')#

Methods

__init__([params, label])

bounds()

can_resume(params, label)

Check if the measurement can be resumed with given new_params.

get_fit_xdata()

Get X-axis data of 2D fitting result.

get_fit_ydata([last_n, normalize_n])

get fit ydata.

get_image([last_n, complex_conv, allow_nan])

get_xdata()

Get X-axis data for 2D plot.

get_ydata([last_n, normalize_n, ...])

get ydata.

has_background()

has_data()

return True if data is ready and valid data could be read out.

init_axes()

Initialize X and Y axes label, unit, and scale.

is_complex()

measure_background()

step()

sweeps()

Attributes

fit_complex_conv

complex_conv used for loading data fit