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
llist or ndarray

List or array to pack into shaped list.

t_sizeslist of ints

List of tuple sizes.

Returns
slistlist of tuples

List of tuples of lengths given by t_sizes.