tomwer.core.utils.scanutils#

Utils to mock scans

Functions

create_scan_reduced_darks_and_flats_models(scan)

function that create ReducedFrames model for darks and flats from a scan

data_identifier_to_scan(data_identifier)

from a identifier (as str) try to create a scan.

format_output_location(location, scan)

format possible keys from the location like {scan_dir} or {scan_path}

reduced_url_formula_to_data_url(url, scan)

Util function that convert a reduced frame URL containing indices.

Classes

HDF5MockContext(scan_path, n_proj, **kwargs)

Util class to provide a context with a new Mock HDF5 file

MockBlissAcquisition(n_sample, n_sequence, ...)

MockEDF(scan_path, n_radio[, n_ini_radio, ...])

MockNXtomo(*args, **kwargs)