mahos.inst.tdc_interface.TDCInterface#

class mahos.inst.tdc_interface.TDCInterface(client: InstrumentClient | MultiInstrumentClient, inst: str)#

Interface for Time to Digital Converter.

__init__(client: InstrumentClient | MultiInstrumentClient, inst: str)#

Methods

clear()

Clear the data.

configure_correlation(base_config, trange, tbin)

Configure for correlation measurement.

configure_histogram(base_config, trange, tbin)

Configure for histogram measurement.

configure_raw_events(base_config, save_file)

Configure for raw_events measurement.

get_data(ch)

Get data of channel ch.

get_data_normalized(ch)

Get normalized data of channel ch.

get_data_roi(ch, roi)

Get data of channel ch using ROI.

get_range_bin()

Get range and bin in sec.

get_raw_events()

Get raw events of last measurement.

get_status(ch)

Get status of channel ch.

get_timebin()

Get time bin in sec.

set_duration(duration)

set limit of measurement duration.

set_save_file_name(name)

set save file name.

set_sweeps(sweeps)

set limit of sweeps.