nmrglue.fileio.rnmrtk.read
- nmrglue.fileio.rnmrtk.read(filename, par_file=None)[source]
Read RNMRTK files.
- Parameters
- filenamestr
Filename of RNMRTK file to read (.sec).
- par_filestr or None, optional
Filename of RNMRTK parameter file. If None (default) a the last four characters of file are changed to .par.
- Returns
- dicdic
Dictionary of RNMRTK parameters.
- datandarray
Array of NMR data.
See also
read_lowmem
Read RNMRTK files with minimal memory usage.
write
Write RNMRTK files.
Notes
The dictionary parameters are ordered opposite the data layout, that is to say the the FIRST parameter in each list corresponds to the LAST axis in the data array.