NMR Spectrum Analysis
GX-TXT DEV112 P011-bis
Explore an NMR spectrum, select the interval and check peaks, units and sample metadata.
GX-TXT P011-bis · module 1.0.0. NMR Spectrum Analysis reads a 1D NMR spectrum in the frequency domain, crops a region in ppm, corrects the baseline, normalizes, detects the peaks and integrates an interval. The results stay in the Session as Datasets.
Import a 1D spectrum
In the search for Generators in the tested build no suitable NMR Generator turned up. Use the processed file cambridge_1h_gia_processato.dx (ZIP), with a 1H spectrum, 131,072 points and an observed frequency of 400.330324 MHz. It is the file Main/3/3a/0-0.dx from the collection by Coady et al., CC BY 4.0. Cambridge Apollo collection.
For a reproducible case without measured data use due-picchi-nmr.dx (ZIP) or generate the same file with the preparation script (ZIP). The two simulated maxima are at 1.25 and 3.60 ppm. The file includes the metadata required by the NTUPLES handler even when they describe a simulation. In this build, if the solvent field is missing, the acquisition shows NMR worker returned a malformed record. For the verified case, a copy with ##.SOLVENT NAME=UNKNOWN was accepted. Keep the original file and use this indication when the solvent is actually unknown.
- Create a Session and open Acquisition. Choose the NMR handler, add the JCAMP-DX file, assign
nmr.cambridge.1hand use the contractspectrum.scientific. - Check the source row in the queue and choose Import current.
- In the browser Datasets enable the source. In Preview and Metadata check
spectral_xin ppm,spectral_yas intensity, and the provenance. To start from an FID, first use the spectrum processing path in the NMR viewer.


Enable and configure the analysis
In Configuration → Modules → Analysis & Services select NMR Spectrum Analysis, read Health and press Enable module. In Analysis enable Run / recalculate now. In Dataset sources choose nmr.cambridge.1h as primary. For Chemical shift [ppm] choose primary.spectral_x and for Measured NMR intensity choose primary.spectral_y. auto delegates the binding to the metadata. If the source map offers + Add source, you can add aliases in separate rows. Remove releases the main source or removes an added alias. For this exercise primary.
- Lower / Upper chemical shift [ppm]
- Bound the domain used by the computation. The initial values are −5 and 220 ppm. For the test file enter −2 and 6.
- Baseline
nonekeeps the baseline,constantsubtracts a constant level andlinearcorrects a linear trend. The default islinear.- Peak prominence [normalized]
- Prominence threshold after normalization, initially 0.05. In a second test 0.025 lets less marked maxima in.
- Minimum peak separation [ppm]
- Minimum distance between the selected peaks. The test keeps 0.15 ppm.
- Peak search samples (extrema preserving)
- Limit of the sampling used for the maximum search, with the extremes kept. It starts from 8,192. The test with a constant baseline goes down to 1,024.
- Integration lower / upper bound [ppm]
- Integration interval. From the initial 0–220 ppm it changes to 1–3 ppm for the Cambridge case.
- Maximum analysis samples (full-resolution default)
- Limit of the points used in the processing. Keep 131,072 for the full-resolution test. With a limit of 4,096 the test report gives a sampling step of 6 in the selected region.
- Reset and error indication
- Next to the numeric fields that have Reset, the button restores the initial value. The message below or beside the field describes invalid values while you fill it in.

Start and read the results
Open Run, update the plan and start the selective analysis. After Selective analysis completed, open Results and read nmr_analysis_report.txt. The report describes normalization to the absolute maximum, resolution, search sampling, peaks and integral. The linear case returned one peak and an integral of about 1.228615 in relative intensity × ppm.
.nmr.processedkeeps the processed signal at the configured resolution..nmr.displaycontains the reduced representation that keeps the extremes. In the linear case it has 3,817 points..nmr.peakscontains the peaks found. Open Canonical table to read the values row by row..nmr.integralscontains the region limits and the area. Use Metadata and Technical details to link table, source and computation step.


To repeat the simulated case, import the file with ID nmr.didattico.ntuple, choose baseline linear, region −2–6 ppm, prominence 0.05 and integration 1–1.5 ppm. The Run detects two peaks. The integral is about 0.066356 in relative intensity × ppm.

The second pass, with constant, 1,024 points for the search and threshold 0.025, gave about 1.354187. The third, with none and at most 4,096 samples, gave about 1.790468. Since several parameters change, these values illustrate the effect of the whole preparation. The Runs update the same output IDs. To compare the tables, keep results and reports separately before recalculating. In the tested case Plots is empty. Open the spectrum Datasets in a compatible viewer to look at their shape.