Datamuncher uses several different files, some inherited, some new.
Image data are saved as .ims or .dms files. The .ims files were used by microxrf2 before. Their structure is as follows:
2 [The number of dimensions of the dataset minus 1]
182 173 28 [The dimensions of the data set, typically the lateral dimensions are the first two]
... [The image data, either as ASCII text (.ims) or as raw data dump (.dms)]
Cl-K
Ar-K
K-K
Ca-Ka
Ca-Kb
... [The names of the elemental distribution images. Number of entries matches the third dimension (28).]
EDF and CDF files. EDF files are the ESRF (European Synchrotron Radiation Facility) Data Format. CDF are the same files, compressed by using the /COMPRESS option of the IDL OPENW command, resulting in a gzipped file. The CDF extension is original to datamuncher and is not expected to work with other software. The extension .edf.bz was avoided, as in datamuncher in many cases filenames are split by the last period in the name.
SPE files are based on the IAEA standard of the same name. As far as datamuncher is concerned, the only header needed is:
$DATA:
1 2048
Note that AXIL and datamuncher tread this numbers as the dimension of the array to be read. Other software read the data automatically and use the channels indicated by these numbers, i.e. in this case they omit the first channel.
TAU files contain the Dynamic Analysis matrix to be used during a scan