GUIDE
How to open a .0 spectrometer file and export the spectrum to CSV
Many spectrometers store each measurement in a binary file whose extension is a number: .0, .1, .2… These files open well in the instrument's own software, but can also be converted to CSV in a few steps. Understanding what the file holds and how the spectrum is calculated avoids inappropriate comparisons.
- A .0, .1, .2… file is binary and organized into blocks; the final (absorbance) spectrum is what you export for interpretation.
- Apodization, zero filling and phase correction slightly change the spectral shape: keep the original file and its parameters.
- No installation needed: the site's spectrum-file-to-CSV tool converts the file into two columns.
1. File structure
Lesson 1: What is spectroscopy?Lesson 2: What is light?Molecular vibrations
A .0 file is binary and organized into blocks, each with a type, size and position recorded in an initial directory. There are data blocks (spectra) and parameter blocks. Each data block is described by parameters such as the number of points (NPT) and the first and last wavenumbers (FXV and LXV), which reconstruct the X-axis. Other parameters store resolution, scan count, apodization function, zero-filling factor and date, among other information (parameter codes vary with software version). The most common data blocks are:
| Block | Content |
|---|---|
| AB | calculated absorbance spectrum |
| TR | transmittance spectrum |
| ScSm | sample single channel (raw intensity) |
| ScRf | reference single channel (background) |
Absorbance and transmittance come from dividing the sample channel by the reference channel: T = ScSm/ScRf and A = −log₁₀ T.
2. From interferogram to spectrum
The instrument measures an interferogram; the software transforms it into a spectrum and divides it by the reference to obtain T and A. Processing choices (apodization, zero filling and phase correction) slightly change band shape and width.
Explore further: processing steps
The detector records the interferogram, intensity as a function of optical path difference δ. The single-channel spectrum is obtained through a sequence of operations, each of which can affect the final result:
- Apodization: the interferogram is truncated at δmax; multiplying it by a window function (for example, three-term Blackman–Harris, Norton–Beer or triangular) reduces the sinc-function sidelobes at the cost of slight band broadening. A boxcar function (no window) gives the highest resolution and largest sidelobes.
- Zero filling: adds zeros to the interferogram and interpolates the spectrum, reducing point spacing (for example, to ≈ 1.9 cm⁻¹ with 4 cm⁻¹ resolution and factor 2). It does not improve the actual resolution, which is on the order of 1/δmax.
- Fourier transform e phase correction (for example, Mertz or power methods), required because the measured interferogram is not symmetric.
- Ratio to the reference and conversion to T or A.
Two measurements of the same material with different resolution, apodization or zero filling produce slightly different band shapes and widths; these parameters should therefore accompany the data when spectra are compared.
3. Two ways to obtain the CSV
- In the instrument software: open the spectrum and use the save-as or export command (depending on the version), choosing DPT, CSV or JCAMP-DX.
- Without installing software: upload your .0 file to the free spectrum file to CSV and download two columns: wavenumber (cm⁻¹) and intensity. Your file is not retained.
JCAMP-DX, an infrared-spectral exchange standard proposed by McDonald and Wilks in 1988 and maintained by IUPAC, preserves headers containing units and parameters, unlike a two-column CSV.
4. Precautions
- For interpretation, export the processed absorbance spectrum, not the single channel. A single channel contains the instrument transfer function (source, optics and detector) and does not represent sample absorption.
- Keep the original file: it contains measurement parameters (resolution, scans and date) that CSV does not preserve.
- If the spectrum was ATR-corrected in the instrument software, record this: comparison with other libraries depends on the technique.
- Before resampling or comparing, check whether the X-axis wavenumber increases or decreases and whether spacing is regular.
5. After conversion
With your CSV, you can plot the spectrum in Excel or Origin, or upload it to espectroFTIR for a band table and interpretation by region. The site also accepts .0 files directly.
References
- Griffiths, P. R.; de Haseth, J. A. Fourier Transform Infrared Spectrometry. 2nd ed. Hoboken: Wiley-Interscience, 2007.
- McDonald, R. S.; Wilks, P. A., Jr. JCAMP-DX: a standard form for exchange of infrared spectra in computer readable form. Applied Spectroscopy, v. 42, p. 151–162, 1988. DOI 10.1366/0003702884428734.
- Stuart, B. H. Infrared Spectroscopy: Fundamentals and Applications. Chichester: Wiley, 2004.
Frequently asked questions
What does .0 at the end of the filename mean?
It is the measurement number: the first measurement is .0, the second .1, and so on. The content is binary.
Do I need the instrument software to read the file?
To open it with all features, yes. To obtain the data as CSV, espectroFTIR's spectrum-file-to-CSV tool converts it in your browser, with no installation.
Does conversion change the spectrum?
No. Values come from the file, without smoothing, baseline correction or normalization.
Does zero filling improve spectral resolution?
No. It interpolates the spectrum and reduces point spacing, but actual resolution is determined by the maximum mirror displacement (≈ 1/δ max).
Ranges are typical tabulated values and vary with technique, physical state, matrix and instrument. This guide describes functional groups and compatible classes; it does not identify substances.