nmrglue.fileio.rnmrtk.write

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

Write RNMRTK files.

Parameters
filenamestr

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

dicdict

Dictionary of RNMRTK parameters.

datandarray

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_lowmem

Write RNMRTK files using minimal amounts of memory.

read

Read RNMRTK files.