darfix.io.utils.write_maps#
- darfix.io.utils.write_maps(h5_file, list_of_maps, default_map, entry, processing_order, data_path='/', overwrite=True)[source]#
Write a stack of components and its parameters into .h5
- Parameters:
h5_file (str) – path to the hdf5 file
entry (str) – entry name
dimensions (dict) – Dictionary with the dimensions names and values
W (numpy.ndarray) – Matrix with the rocking curves values
data (numpy.ndarray) – Stack with the components
processing_order (int) – processing order of treatment
data_path (str) – path to store the data