Description Usage Arguments Value Examples
It opens every file wich .asd.txt extension and process them: 1) Search for a line with the header format. 2) Every line after that is supposed to be <wavelength><tab><value>.
1 | load_signature_files(path, header, wavelength_start, wavelength_end)
|
path |
Folder path which contains the .asd files. The files might be in subfolders as well. |
header |
The line format of the head of the data (the line before the data measurements). |
wavelength_start |
The shorter measured wavelength in nm. |
wavelength_end |
The longer measured wavelength in nm. |
A spectral object. Contains the information of the signatures, the processed files and the wavelength ranges.
1 2 3 4 5 | ## Not run:
# Do not escape special characters for header parameter, like \t
load_signature_files(path = "/path/mydata", header="Wavelength\t%s", wavelength_start=350, wavelength_end=2500)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.