nmrglue.analysis.peakpick.pack_table

nmrglue.analysis.peakpick.pack_table(locations, cluster_ids=None, scales=None, amps=None, axis_names=['A', 'Z', 'Y', 'X'])[source]

Create a table from peak information.

Parameters
locationslist

List of peak locations.

cluster_idslist, optional

List of cluster numbers. None will not include cluster number in the table.

scaleslist, optional

List of peak scales (linewidths). None will not include peak scales in the table.

ampslist, optional

List of peak amplitudes. None will not include peak amplitudes in the table.

axis_nameslist, optional

List of axis names, the last n will be used for column name prefixes where n is the number of dimensions.

Returns
tablerecarray

nmrglue table with column representing peak parameters. Peak locations are given column names like ‘X_AXIS’, ‘Y_AXIS’, etc. Cluster_ids are given a column name of ‘cID’. Peak scales (linewidths) are given column names like ‘X_LW’,’Y_LW’. Peak amplitudes are given a column name of ‘VOL’.