mahos_dq.msgs.hbt_msgs.HBTData#

class mahos_dq.msgs.hbt_msgs.HBTData(params: dict | None = None)#

HBT measurement data with raw and normalized correlation traces.

Variables:
  • data – Raw correlation histogram values.

  • data_normalized – Optional normalized histogram values.

  • timebin – Time resolution per histogram bin.

  • tdc_correlation – True when data is TDC-generated correlation. False when data is raw event data.

__init__(params: dict | None = None)#

Methods

__init__([params])

can_resume(params)

Check if the measurement can be resumed with given new params.

denormalize_xdata(xdata)

Deprecated.

denormalize_ydata(ydata)

Deprecated.

get_bg_ratio()

get_bin()

get_range()

get_reference()

get_reference_window()

get_t0()

get_xdata([normalize])

Get X-axis data for 2D plot.

get_ydata([normalize])

Get Y-axis data for 2D plot.

has_data()

return True if current data is valid (not empty).

has_data_normalized()

return True if has normalized data.

init_axes()

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

set_bin(timebin)

update_plot_params(plot_params)