h2020charisma / ramanchada2

A library for Raman spectroscopy harmonization
https://h2020charisma.github.io/ramanchada2/
MIT License
5 stars 3 forks source link

Check RRUF files reading #130

Closed vedina closed 4 months ago

vedina commented 4 months ago

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)

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