![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Tool to merge several single-spectrum files into a dataset.
Directory containing multiple files - directory containing multiple single-spectrum files.
File type - Currently supported types are:
File filter - wildcard filter. Examples: *.*
; *.dat
; *.DAT
Group code trimming dot (right-to-left) - allows you control over trimming off part of the filename for the group code of each spectrum. For example, you may have several files like:
/// sample1.000.dat /// sample1.001.dat /// sample1.002.dat /// ^ ^ /// | | /// | 1 first dot (left-to-right) /// | /// 2 second dot ///
All these are spectra from the same group (named "sample1"). Specifying "2" for the trimming dot will get rid of everything after the 2nd last dot counting from right to left. Thus, all spectra will have group code "sample1".
If Build image is checked, the image height needs to be informed. The width is automatically calculated as the number of files in the directory divided by the informed height.
Definition in file mergetool.m.