nmrglue.fileio.rnmrtk.read_sec

nmrglue.fileio.rnmrtk.read_sec(filename, dtype, shape, cplex)[source]

Read a RNMRTK parameter .par file.

Parameters
filenamestr

Filename of RNMRTK (.sec) file to read .

dtypedtype

Type of data in file, typically ‘float32’.

shapetuple

Shape of data.

cplexbool

True if the last (fast) dimension is complex. False is real only.

Returns
datandarray

Array of NMR data.