Repository navigation
Spectra and NMR
From 0.9.0 a drawing holds spectra: measured ones opened from JCAMP-DX files, and 1H and 13C NMR spectra FormChem predicts for a structure on the page. Peaks, integrals and multiplets link to atoms, so hovering one lights the other. The engine side, with the file support table, the prediction method and its accuracy, and every route, is docs/SPECTRA.md.
-
File > Open a
.jdx,.dxor.jcampfile: a new drawing with one spectrum per block of the file, with a report of anything the reader repaired or left out. - Insert > Spectrum from File adds the spectra of a file to the drawing you have open, as one undo step.
FormChem reads IR, Raman, UV-Vis, mass spectra and 1D NMR, in every JCAMP-DX compression form, with several blocks per file. The file is kept byte for byte inside the .fchem drawing, so nothing is lost when you save, and Export Spectrum can give it back untouched.
Each spectrum is drawn as its technique is read: IR and Raman wavenumber and NMR ppm run from high on the left to low on the right, UV-Vis wavelength and m/z from low to high, and the y axis is labelled from the file (Transmittance (%), Absorbance, Relative abundance, Intensity). Spectra zoom with the page and get sharper as you zoom in.
Double-click a spectrum, or Analysis > Spectrum > Edit Spectrum, to open the editor beside the canvas.
| Do | How |
|---|---|
| Zoom and pan | wheel to zoom the x axis, drag to pan, Shift-drag or the box tool to zoom into a range, double-click or Fit for the whole spectrum |
| Pick peaks | the peak tool, then drag across a range; or Analysis > Spectrum > Pick Peaks for the visible range |
| Add or remove a peak | the add tool, then click near a peak (it snaps to the nearest top or dip), or click a peak's label to remove it |
| Integrate (NMR) | the integral tool, then drag across a multiplet; type a value into any integral (for example its proton count) and the others follow |
| Transmittance or absorbance | the Y axis switch (IR, Raman, UV-Vis) |
| Show a range on the page | zoom to it, then Show this range on the page |
| Export | Export Spectrum: a fresh JCAMP-DX file with its peaks, CSV of every point, or the original file |
The list below the plot shows the peaks, integrals and multiplets; each row can be linked, unlinked or removed. Every change is one undo step.
Select a peak, integral or multiplet in the editor and press Link to Atoms. If you had atoms of one structure selected they are linked at once; otherwise click the atoms in the drawing (they get a dashed ring) and press Done or Enter. Esc cancels.
Then hover an atom to light its peaks in every spectrum on the page, or hover a peak label, an integral or a multiplet (on the page or in the editor's list) to light its atoms.
Select a structure (or have only one on the page) and choose Analysis > Predict 1H NMR Spectrum or Predict 13C NMR Spectrum. The spectrum lands beside the structure as one undo step, titled with the method, the version and the frequency, for example "Predicted ¹H NMR, 400 MHz (FormChem increments 0.9.0)". For ethyl acetate the 1H spectrum shows 4.10 (q, J = 7.0), 2.05 (s) and 1.25 (t, J = 7.0) with integrals 2, 3 and 3, and the 13C spectrum 171.0, 59.8, 20.2 and 13.8, each linked to its atoms.
The method is FormChem's own: additive increments written for FormChem, with no shift database. On molecules it was never tuned on, it is off by 0.09 ppm on average for 1H and 1.1 ppm for 13C. Each atom carries a confidence and an uncertainty, and the prediction notes exchangeable protons (OH, NH), diastereotopic CH2, second-order patterns and amide rotamers. Predicted values are never measured data.
The curve follows the structure: change the structure and the predicted curve is redrawn. Its multiplets, integrals and peaks move with Analysis > Refresh Predicted Spectrum (also on the spectrum's right-click menu), as one undo step.
Edit Spectrum, Pick Peaks, Integrate (NMR) or Transmittance or Absorbance (IR, Raman, UV-Vis), Refresh Predicted Spectrum (predicted spectra), and Export Spectrum, above the usual items.
- 2D NMR is listed as not drawn, an NMR FID is shown as recorded (no Fourier transform), and of a GC-MS file only the first scan is drawn.
- The Analysis panel has no NMR table yet; predictions show on the page and in the editor.
- 1H labels can crowd at the default size; make the spectrum larger with its handles.
- A third predicted spectrum on an A4 page can be placed below the page.
predict_nmr and predict_spectrum predict, open_spectrum opens a JCAMP-DX file, and spectrum_data, spectrum_peaks, spectrum_pick_peaks, spectrum_integrate and spectrum_export work on spectrum objects. See Agents.
FormChem
- Home
- Manual
- Getting Started
- Drawing
- Grid and Page
- Annotations
- Reactions
- Templates
- Printing and pages
- Keyboard Shortcuts
- Stereo and Queries
- Analysis
- Names
- Spectra and NMR
- 3D
- Databases
- Lab Notebook
- Biopolymers
- Live Structures
- Accessibility
- Formats and Export
- Clipboard
- Command Line
- Agents
- Agent Activity
- Terminal
- Extensions
- Project Format
- Architecture
- Desktop
- Troubleshooting
- Development
- Releasing
Documents