Helper functions for lineshape fitting.

This modules is imported as nmrglue.helpers and can be called as such.

User Functions

delta(v, d)

Limits of v +/- d for array v and d.

limit(vmin, vmax, npeaks)

Fixed limits, vmin to vmax for all peaks.

scale_params(rec, prefix, first, last)

scale lineshape parameters in rec with name prefixX with X from from first to last (inclusive)

no_limits(nparams, npeaks)

No limits on nparameters for npeaks.


No amplitude limits for npeaks


Zip a list after zipping each element.

scale_columns(prefix, first, last)

Create a list of scale parameter column names with name prefixX with X from first to last (inclusive)