Spectral Conformer Assignment is the inverse step of the IR chain. Vibrational Spectrum Library predicts a spectrum for every conformer; this tool takes a measured spectrum and asks which mix of those conformers explains it. Each observed spectrum is fitted as a non-negative combination of the library spectra by bounded least squares (Lawson and Hanson, 1995), and the normalized weights are reported as conformer populations. Every population carries a bootstrap interval, and conformers whose spectra cannot be told apart are flagged rather than given a falsely precise split.
How a run works
- The observed x values are converted to wavenumbers (cm⁻¹, µm, or nm are accepted) and sorted, so a descending instrument axis works as is.
- The fit uses only the range where the observed spectrum and the library overlap, optionally narrowed to a window. Observed points are interpolated onto the library grid; nothing is extrapolated. A spectrum that overlaps the library over less than the minimum fraction is rejected.
- If calibration is on, a global shift (or a shift and a frequency scale) is fitted first and then held fixed.
- The populations are fitted, with an optional constant or linear baseline alongside them.
- Intervals come from a seeded block bootstrap of the residuals (Efron, 1979): the fit is repeated on resampled residuals, and the 2.5 and 97.5 percentiles are reported.
The same inputs and seed always give the same result.
Inputs
- Library: a
wavenumber_cm1column followed by one intensity column per conformer. Thelibrary.csvfrom Vibrational Spectrum Library has this shape; a library from another program works if it does too. - Observed spectra: an x column and one intensity column per measured spectrum. Baseline-correct and trim the spectra first, or let the fit add a baseline. Intensity units do not matter, because the populations are normalized.
- Conformers (optional): the Vibrational Spectrum Library
conformers.csv. It adds SMILES, molecule indices, and Boltzmann populations, joined on theconformer_<index>_column names of the library. - Sticks (optional): the Vibrational Spectrum Library
sticks.csv. It adds the band assignment table.
In a workflow, the library, conformers, and sticks inputs bind straight to a Vibrational Spectrum Library step.
Calibration
Computed harmonic frequencies are usually offset from experiment, often by a few percent. A shift moves every library band by the same amount; shift and scale also stretches the axis about zero, like a frequency scaling factor. The fitted values are reported on every row. A value that lands on a bound is flagged, since the true calibration may lie outside it. Intervals are conditional on the fitted calibration.
The Boltzmann prior
With a conformers table, the computed Boltzmann populations are always reported next to the fitted ones, together with how well a spectrum built from them fits. Regularizing turns them into a prior: the fit is pulled toward the computed populations, and the strength sets how far. A strength of 1 makes a 0.1 population deviation cost 1% of the squared size of the spectrum. Use the prior when the spectrum alone cannot separate some conformers and the computed energies are trusted; leave it off to let the spectrum speak for itself.
Reading the results
populations.csv: one row per spectrum and conformer, with the population and its interval, the computed prior population, the collinear group and its summed population, the calibration, and flags.fit.csv: one row per spectrum, with the residual, R², and the residuals of three simple alternatives: equal populations, the lowest-energy conformer alone, and the Boltzmann mix. A fit that is not clearly better than these says little about the conformers.assignments.csv: each computed band weighted by its conformer's fitted population, so peaks in the measured spectrum can be traced to conformers.overlay.csv: the observed and reconstructed spectra on the fitted grid, ready to plot.
The flags mean:
non_identifiable: the conformer's spectrum is nearly identical to another's over the fitted window (cosine similarity above the threshold), or its interval is wide. For a collinear group the split is not determined, but the group's summed population, reported with its own interval, often is.wide_ci: the interval is wider than the threshold.at_bound: the population is zero.no_signal_in_window: the conformer has no intensity in the fitted window.
Limits and not covered
On synthetic three-conformer mixtures, the nominal 95% intervals covered the true populations 84 to 94% of the time, so read them as a lower bound on the uncertainty. The noise model is Gaussian and the library is taken as exact: errors in the computed spectra themselves, such as band shapes or relative intensities, are not propagated into the intervals. Overtones, combination bands, and solvent or matrix bands that the library does not contain show up as residual. Raw instrument files are not read; upload a processed table.
Related tools
Build the library with Vibrational Spectrum Library from a Conformer Ensemble Generator or xTB / CREST ensemble. QC Conformer Ranking & Descriptors gives DFT-level populations, which Vibrational Spectrum Library can carry through as the prior.