Menu

par_fixed

A. Smith

par.fixed

If one is using a fixed peak list, it is possible to restrict which variables can be changed, by specifying ‘par.fixed’, or alternatively ‘fit0.fixed’ (both fields are equivalent). The ‘.fixed’ field is a logical with 2N+1 entries, N being the number of dimensions. The first entry specifies whether the peak amplitudes are fixed, the second and third entries specify whether to fix the peak positions and linewidths, respectively, of the first dimension, and subsequent dimensions follow.

For a 2D spectrum, with the amplitudes and linewidths variable, but positions fixed:

par.fixed=[0 1 0 1 0];

[Amplitude, Position 1, Linewidth 1, Position 2, Linewidth 2]


Auth0 Logo