Fix .txt (ASCII) Raman spectrum

Some Raman spectra (.txt / ASCII format) can not be viewed properly (see below screenshot/image). How can you fix this minor bug? Its very simple:

 

1. Open .txt Raman spectrum (select .txt Raman spectrum -> right click -> open with Notepad/Notepad++);

2. Remove header lines (words/rows that begin with ##);
Example:

##Title= Raman spectra of Anatase
##NAMES= Anatase
##CHEMISTRY= TiO2
##LOCALITY= Binnenthal - Elvetia

3. Remove footer lines (words/rows that begin with ##);
Example:

##END=

Important! The final Raman spectrum should contain only two columns of numbers.
Example:

3399.61      -0.519297
3397.15      30.5165
3394.69      11.5476
3392.22      20.0742
.......      .......

or

145.8416, 42.06689
146.3237, 26.87427
146.8058, 32.36987
147.2879, 75.71753
........, ........

4. Save the file (keep the same format .txt)

5. And now open the Raman spectrum

 

Leave a comment