darfix.tests.utils#

Functions

createDataset(data[, filter_data, header, ...])

Create a dataset from a configuration

createRandomEDFDataset(dims[, ...])

Simple creation of a dataset in _dir with the requested number of data files and dark files.

createRandomHDF5Dataset(dims[, ...])

Simple creation of a dataset in output_file with the requested number of data files and dark files.

create_scans(file_path[, n_scan, ...])

create 'n_scan' scans with a detector like dataset and a 'positioners' groups containing motor like datasets

random_generator([size, chars])

Returns a string with random characters.

Classes

DatasetArgs(data, header)