nmrglue.fileio.rnmrtk.write_lowmem

nmrglue.fileio.rnmrtk.write_lowmem(filename, dic, data, par_file=None, overwrite=False)[source]

Write RNMRTK files using minimal amounts of memory (trace by trace).

Parameters
filenamestr

Filename of RNMRTK file to write to (.sec).

dicdict

Dictionary of RNMRTK parameters.

dataarray_like

Array of NMR data.

par_filestr or None, optional

Filename of RNMRTK parameter file. If None (default) a the last four characters of file are changed to .par.

overwritebool, optional

True to overwrite existing files. False will raises a Warning if the file exists.

See also

write

Write RNMRTK files using minimal amounts of memory.

read_lowmem

Read RNMRTK files using minimal amounts of memory.