mahos.meas.podmr.IODMRIO#

class mahos.meas.iodmr.IODMRIO(logger=None)#
save_data(filename: str, data: IODMRData, params: dict | None = None, note: str = '') bool#
save_data_async(filename: str, data: IODMRData, params: dict | None = None, note: str = '') bool#

save data asynchronously using ThreadPoolExecutor.

load_data(filename: str) IODMRData | None#
load_fit(filename: str) IODMRFitResult | None#

Load IODMRFitResult from filename. return None if load is failed.

export_data(filename: str, data: IODMRData | list[mahos.msgs.iodmr_msgs.IODMRData], params: dict | None = None) bool#

Export an IODMRData.

export_fit(filename: str, fit: IODMRFitResult, params: dict | None = None)#

Export an IODMRFitResult.