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
- spectrumarray_like
NMR spectral data. ndarray or emulated type which can be sliced.
- centerslist
List of N-tuples indicating peak centers.
- box_widthtuple
N-tuple indicating box width to add and subtract from peak centers to form region around peak to fit.
- scale_axisint
Axis number to estimate scale parameters for.
- Returns
- scaleslist
List of estimated scale parameters.