nmrglue.analysis.linesh.pack_table

nmrglue.analysis.linesh.pack_table(pbest, abest, iers, rec, param_columns, amp_column, ier_column=None)[source]

Pack fitting parameters into table

Parameters
pbestlist

List of best-fit parameters. See fit_NDregion() for format.

abestlist

List of best-fit amplitudes.

ierslist

List of fitting error return values.

recrecarray

Records array (table) to save fitting parameters into. Updated with fitting parameter in place.

param_columnslist

List of parameter columns in rec. Format is the same as pbest.

amp_columnsstr

Name of amplitude column in rec.

ier_columnstr or None, optional

Name of column in rec to save iers to. None will not record this in the table.