nmrglue.fileio.varian.reorder_data

nmrglue.fileio.varian.reorder_data(data, shape, torder)[source]

Reorder raw data from file.

Parameters :

data : 2D ndarray

Raw data as ordered in binary file.

shape : tuple of ints

Shape of the NMR data.

torder : {‘f’, ‘r’, ‘o’ of Pytho function}

Trace ordering . See read() for details.

Returns :

tdata : ndarray

Array of NMR data.

Notes

Minimal error checking is done to see if data and shape contain the same number of values. This should be done before calling this function.

Previous topic

nmrglue.fileio.varian.torder2t2i

Next topic

nmrglue.fileio.varian.order_data

This Page