sbm.ScanFields.load_det#
- classmethod ScanFields.load_det(det_name: str, base_path=None) ScanFields [source]#
Load the scan fields data of a detector from a HDF5 file
- Parameters:
filename (str) – name of the HDF5 file containing the scan fields data simulated by Falcons.jl
base_path (str) – path to the directory containing the HDF5 file
- Returns:
instance of the ScanFields class containing the scan fields data of the detector
- Return type:
instance (
ScanFields
)