how to load a spectrum from a dataset with more than 2 columns with spectrum.from_local_file? #72
-
Normally spectra is saved as two columns (Raman shift, wavelength, etc for the x axis and Intensity for the y axis). However, some software from some systems, for example in the case of the Neegala system of Elodiz, the files are saved with the value for different parameters, followed by a number of columns (I give an example further down). Is there already an option implemented in ramanchada2 to load spectra from such files? I can easily circunvent the problem now that I am looking to a single spectra, but it would be convenient to address this in the future. Example: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
RC2 v0.0.3 should be able to read these files. import ramanchada2 as rc2
rc2.spectrum.from_local_file('<your-neegala-file.txt>') It takes |
Beta Was this translation helpful? Give feedback.
RC2 v0.0.3 should be able to read these files.
It takes
Wavenumbers
as x-axis andProcessed_Data
as y-axis. It might be beneficial to use also the rest of the data form the file, but this was never discussed so not implemented.If there is a problem, it should be fixed.
Let me know