darfix.tests.utils.create_scans#
- darfix.tests.utils.create_scans(file_path, n_scan=3, detector_path='{scan}/measurement/my_detector', metadata_path='{scan}/instrument/positioners')[source]#
create ‘n_scan’ scans with a detector like dataset and a ‘positioners’ groups containing motor like datasets
warning: one of the dataset (delta) has an incoherent number of points (2 instead of 4). This is done on purpose to check behavior with this use case.
- Parameters:
file_path (
str
)n_scan (
int
)