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 :

locations : list

List of peak locations.

cluster_ids : list, optional

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

scales : list, optional

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

amps : list, optional

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

axis_names : list, optional

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

Returns :

table : recarray

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’.

Previous topic

nmrglue.analysis.peakpick.clusters

Next topic

nmrglue.analysis.peakpick.guess_params_slice

This Page