Converter tool

NMR Spectrum Processor

Process a one-dimensional Bruker FID or JCAMP-DX file: remove the digital filter, apodise, Fourier transform, phase by hand or by entropy minimisation, correct the baseline, reference, pick peaks and integrate.

1D only: Bruker experiment as a ZIP, or JCAMP-DX

1. Open data

NMR Spectrum Processor for Bruker and JCAMP-DX

Operator: Abdulla Al Fahad. How tools are built and checked

A raw NMR free induction decay is a decaying oscillation, not a spectrum, and between it and a peak table sit a dozen small decisions: how many points of digital-filter delay to remove, how much line broadening to apply, how far to zero-fill, which phase angles flatten the baseline of every line. This page runs those steps on a one-dimensional Bruker FID or a JCAMP-DX file and shows the result as you change each setting.

Phasing can be done by hand with two sliders or automatically by entropy minimisation, and the manual route is always open because an automatic phase on a noisy spectrum is sometimes wrong. Peak picking, integration and first-order multiplet labels follow from the phased, baseline-corrected trace.

Only one-dimensional data are read. Varian/Agilent and JEOL formats are not supported; export those as JCAMP-DX first.

Key features

  • Bruker ZIP input: fid, acqus and pdata/1/procs, int32, float and double data, either byte order, with a choice when the ZIP holds several experiments
  • Group-delay removal from GRPDLY (or the DSPFVS 12 table when GRPDLY is missing), applied as a fractional shift
  • Exponential, Gaussian and Lorentz-to-Gauss apodisation, zero filling to 16k to 512k points and an optional axis flip
  • Zero- and first-order phase with a movable pivot, plus automatic phase by the ACME entropy criterion
  • Asymmetric least squares or polynomial baseline correction, referencing to TMS or a residual solvent line

Which Bruker and JCAMP-DX files are read, how the digital filter is handled, and what the exports hold

A Bruker experiment is the folder that holds fid and acqus. Put that folder in a ZIP, with pdata/1/procs and title inside it if you have them; the processor reads TD, SW_h, SFO1, O1, BF1, BYTORDA, DTYPA, GRPDLY, DECIM, DSPFVS, NUC1 and SOLVENT from acqus. Complex points are the TD values taken in pairs. Entries inflate with a running byte count, so a ZIP that expands past 64 MB for the fid is refused.

JCAMP-DX files come in two kinds. An NTUPLES file with real and imaginary FID pages is processed like a Bruker FID, but because it does not record the carrier offset the axis starts centred on 4.7 ppm and you reference it from a known line. A processed spectrum (XYDATA with an observe frequency) skips the Fourier and phase steps.

The JCAMP-DX export writes the real part after phasing, baseline correction and referencing as an X++(Y..Y) table on a frequency axis in hertz, high frequency first, with the observe frequency in the header.

How it works

The digital filter of an oversampling Bruker spectrometer delays the signal by GRPDLY points and leaves ringing in front of it. The processor shifts the FID left by that number of points using a phase ramp in the frequency domain, which also handles fractional values such as 67.9858, and zeroes the points that wrapped round the end. Then it removes the DC offset from the last sixteenth of the points, applies the window, halves the first point, zero-fills and transforms.

Common use cases

  • An undergraduate processes the FID of their lab's ethyl acetate sample and compares the quartet and triplet couplings with the textbook value of about 7 Hz.
  • A synthetic chemist who has the raw data but no license on the laptop in the field needs a phased spectrum with an integral ratio for a notebook entry.
  • A reviewer receives a JCAMP-DX spectrum and wants a peak list and the referencing checked against the residual solvent line.
  • A researcher re-processes an old FID with 1 Hz of line broadening and 128k zero filling to see whether two overlapping doublets resolve.

How to use this tool

  1. Drop the ZIP or JCAMP-DX file, or load the simulated example.
  2. Leave group-delay removal on for Bruker data and choose the apodisation and size.
  3. Press Auto phase, then fine-tune p0 and p1 until every line is symmetric and the baseline is flat.
  4. Pick a baseline method, then reference with a known peak such as the residual CHCl3 line at 7.26 ppm.
  5. Press Find regions from the peaks, scale one region to its proton count, and download the tables.
  6. Zoom with the ppm limits and save the plot as SVG or PNG.

Example

Loading the simulated ethylbenzene data set: 400.13 MHz, 12 ppm wide, 32,768 complex points, 67.9858 points of group delay and a 37 degree phase error

Group-delay removal: on
Apodisation: exponential, 0.3 Hz
Size: 64k points
Auto phase, Whittaker baseline with lambda 1e7
Peaks at 8 times the noise
CH3 region scaled to 3 protons

Phase, peaks and integrals

Auto phase: p0 = -38.1 degrees, p1 = 3.4 degrees (entropy score 100.96 to 7.21)
13 peaks picked: triplet at 1.259, 1.240, 1.221; quartet at 2.678, 2.659, 2.640, 2.622
Integrals, high to low shift: 7.33-7.15 ppm = 5.06, 2.69-2.61 ppm = 1.97, 1.27-1.20 ppm = 3.00
Labels: m, q (J about 7.5 Hz), t (J 7.6 Hz)

Tips for best results

  • Set the pivot at the ppm of a strong, isolated line, because first-order phase pivots on it and leaves that line untouched while it corrects the rest.
  • When auto phase lands on a spectrum that looks inverted, shift p0 by 180 degrees and check the baseline again; entropy can prefer either sign of a single tall line.
  • A whittaker lambda between 1e5 and 1e7 follows a gently rolling baseline without eating broad lines; raise it if the corrected trace dips under a broad peak.

Common pitfalls

Integrals are only as good as the baseline. A tilt under a region adds area in proportion to its width, so use a wide enough baseline method before trusting a ratio.

Multiplet labels assume first-order coupling. A strongly coupled aromatic block will be reported as m even when it is made of simple lines.

Without removing the group delay a Bruker spectrum needs a first-order phase of hundreds of degrees; the simulated example needs p1 = -244 degrees without it and 3.4 degrees with it.

Common errors and how to fix them

No experiment with both a 'fid' and an 'acqus' file was found.
Zip the numbered experiment folder (for example exp/1), not the whole project, and make sure fid and acqus are inside it, not only the processed pdata folder.
The spectrum comes out mirrored, with the chemical shifts reversed.
Tick Flip the frequency axis. Some acquisition settings reverse the quadrature sign, and a mirrored spectrum shows the wrong shifts even when it looks well phased.

Best practices

  • Reference before reading shifts. Point the observed field at the residual solvent line, press Snap, choose the solvent's literature value and apply it.
  • Record the processing settings next to the peak list: apodisation, zero fill, phase angles and baseline method change the numbers you export.

Frequently asked questions

How accurate are the shifts, couplings and integrals?

On a simulated ethylbenzene FID with a known phase error and group delay, peaks come back at the input shifts (CH3 1.24 ppm triplet, CH2 2.65 ppm quartet, aromatic lines near 7.2 ppm), couplings at 7.5 to 7.6 Hz and integrals at 3.00 : 1.97 : 5.06 for 3 : 2 : 5 protons. Real spectra add noise, baseline roll and overlapping multiplets, so integrals of overlapped signals are the least exact figure.

Why am I asked to type a group delay for some Bruker data sets?

The delay is read from GRPDLY, or from a table keyed on DECIM when GRPDLY is absent and DSPFVS is 12. That table is the only one here; older DSPFVS 10 data sets carry no table, so enter the delay from the spectrometer's documentation, or the spectrum will show a rolling baseline from the unremoved filter delay.