nmrglue.helpers

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_limits_amp(npeaks)

No amplitude limits for npeaks

super_zip(l)

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)