h2020charisma/ramanchada2

Check RRUF files reading

Closed this issue · 0 comments

  • x axis is nan only . no metadata is read.

https://rruff.info/zipped_data_files/raman/

spe = rc2.spectrum.from_local_file(file_path)
        print(spe.x,spe.y)
        spe.plot()
        print(spe._metadata)

Abelsonite__R070007__Broad_Scan__532__0__unoriented__Raman_Data_RAW__13756.txt
[nan nan nan ... nan nan nan] [ 4434.013 4587.709 4659.256 ... 25257.25 25325.32 24789.02 ]
{'Original file': 'Abelsonite__R070007__Broad_Scan__532__0__unoriented__Raman_Data_RAW__13756.txt'}