nmrglue.analysis.linesh.estimate_scales

nmrglue.analysis.linesh.estimate_scales(spectrum, centers, box_width, scale_axis=0)[source]

Estimate scale parameter for peaks in a spectrum.

Parameters :

spectrum : array_like

NMR spectral data. ndarray or emulated type which can be sliced.

centers : list

List of N-tuples indicating peak centers.

box_width : tuple

N-tuple indicating box width to add and subtract from peak centers to form region around peak to fit.

scale_axis : int

Axis number to estimate scale parameters for.

Returns :

scales : list

List of estimated scale parameters.

Previous topic

nmrglue.analysis.linesh.unpack_table

Next topic

nmrglue.analysis.linesh.make_slist

This Page