I would like to clean up my IR microspectroscopy graphs a little more than the options within the Opus software, but am struggling to import the ASCII files and visualise the data. Anyone manage to do this?
numpy.loadtxt function is generally pretty adept at reading ASCII files. You can skip a fixed number of lines (the header), or identify comment lines by some lead character (for example, #), and specify delimiter characters (tabs or spaces, etc.).
As far as I have understood, OPUS allows to export its data in JCAMP-DX format. That is the way I support that format in PyMca to explore
microspectroscopy data (XRF, FT-IR, ...). To read a map you should use the PyMca ROI Tool if they are individual files you can use the PyMca main application. Ready to use binaries are available at: