mahos_dq.msgs.podmr_msgs.PODMRData#
- class mahos_dq.msgs.podmr_msgs.PODMRData(params: dict | None = None, label: str = '')#
Pulse ODMR data container with TDC-derived raw traces.
- Variables:
tdc_status – Latest time-to-digital-converter status summary.
data0 – Primary accumulated signal sequence.
data1 – Secondary accumulated signal sequence.
data0ref – Reference data paired with
data0.data1ref – Reference data paired with
data1.raw_data – Raw detector events or histogram data.
raw_xdata – X-axis for
raw_data.marker_indices – Cached marker ranges for signal/reference windows.
laser_timing – Pulse timing array used for ROI calculation.
- __init__(params: dict | None = None, label: str = '')#
Methods
__init__([params, label])can_resume(params, label)Check if the measurement can be resumed with given new_params.
get_bin()get_fit_xdata()Get X-axis data of 2D fitting result.
get_fit_ydata()Get Y-axis data of 2D fitting result.
get_method()get_params()get_pulse_params()get_range()get_raw_xdata()get x (time) axis of raw data.
get_roi(index)get ROI (start, stop) at index in unit of time bins.
get_roi_margins()ROI margins [head, tail] in sec.
get_roi_num()get number of points in a ROI.
get_rois()get list of ROI (start, stop) in unit of time bins for all the laser pulses.
get_sampling_rate()get_total_scale()Get the scaling parameters to get total precession time.
get_xdata([fit, force_taumode])get analyzed xdata.
get_ydata()get analyzed ydata.
has_data()Return True if data is ready and valid data could be read out.
has_raw_data()return True if current data is valid (not empty nor all zero).
has_roi()init_xdata()is_CPlike()is_correlation()is_partial()is_supersampling()is_sweepN()measurement_time()calculate measurement time in sec.
partial()sweeps()