nmrglue.analysis.linesh.make_slist

nmrglue.analysis.linesh.make_slist(l, t_sizes)[source]

Create a list of tuples of given sizes from a list

Parameters :

l : list or ndarray

List or array to pack into shaped list.

t_sizes : list of ints

List of tuple sizes.

Returns :

slist : list of tuples

List of tuples of lengths given by t_sizes.

Previous topic

nmrglue.analysis.linesh.estimate_scales

Next topic

nmrglue.analysis.linesh.split_list

This Page