lr_convert_tocsv function

Convert spectral data files to csv files