Skip to content

Signal Generator#

The Signal Generator builds a synthetic signal or spectrum from a formula, a list of decaying components, a multiplet description, a spin system or a molecular structure. You can look at the result, load it as the current scan, or overlay it on real data. Nothing is acquired from an instrument.

Opening it#

Click Generator in the status bar (right side), or press Ctrl+Shift+G (Cmd+Shift+G on macOS). The same command toggles it closed; Escape closes it too. It opens in its own window titled Signal Generator. Controls sit on the left and the preview on the right; in a narrow window the preview moves below the controls.

Modes#

Tab What you describe
Formula An expression in t, for example sin(2*pi*50*t) * exp(-t/0.1). Available: sin, cos, exp, sqrt, pi. Named Constants can be added.
FID A list of FID Components, each with a Frequency, Amplitude, decay (Decay (T2*)) and Phase. An optional Reference Frequency allows shifts in ppm.
Multiplet A Center Frequency or one or more Chemical Shifts, Coupling Constants (J), Linewidth (HWHM) and a Frequency Range with Resolution. Each shift gets its own multiplet with the same couplings.
Spin system Spins with shift, nucleus and equivalent-nucleus count, plus a J-coupling matrix (Hz). See below.
Predict A structure entered as SMILES or drawn with Draw Structure. Shows a Predicted Signals table (atom, shift, pattern, J, nH). Only present in builds that include the prediction models.

Shared settings#

Formula and FID modes also have a Time Axis section (Duration, Sampling Rate). All modes except spin system add two optional sections, each with its own switch:

  • Noise: a target SNR, and a Type (Gaussian, Pink, Thermal by default; Advanced Settings lists twelve types such as Uniform, Spike and Baseline Drift, some with extra parameters).
  • Phase Correction: Zero-order (p0) and First-order (p1) with a Linear or Exponential method, to produce a spectrum with phase errors.

Spin system#

The spin-system tab simulates a full quantum-mechanical spectrum from chemical shifts and J couplings, including strongly coupled systems. The preview updates a moment after each edit; there is no Generate Preview button on this tab.

  • Start from Examples: AB pair, Ethyl group or ABX.
  • Equivalent nuclei are entered as one spin with a count (a CH3 is 3). The limit is 12 nuclei in total; beyond it the tab reports an error instead of simulating.
  • Second-order character shows J / delta-nu for each coupling and labels it First order, Roofing, Strong or Collapsed.
  • Acquisition sets Spectrometer frequency (MHz), Observed nucleus, Linewidth (Hz), Line shape (Lorentzian or Gaussian), Spectrum points and the ppm range. The Transitions list shows each line.

Using the output#

Generate Preview runs the current tab and draws a time-domain Signal and a frequency-domain Spectrum (the Predict tab shows the spectrum first). Two buttons act on the preview:

  • Load as Current turns it into a new unsaved scan and plots it. It is disabled until a preview exists. If the current scan has unsaved work you are asked first.
  • Overlay generates a fresh preview, scales it to the amplitude of the current data and draws it on top, labelled "(overlay)". It is meant for comparing a model against a measurement.

Preview traces are marked preview-only and are not saved with the project until you load them.

Note

Changing tabs clears the current preview.

With Teaching features on, the FID ↔ spectrum lab on the Learn page works on the FID you last generated here.