nmrglue.fileio.rnmrtk.write

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

Write RNMRTK files.

Parameters :

filename : str

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

dic : dict

Dictionary of RNMRTK parameters.

data : ndarray

Array of NMR data.

par_file : str or None, optional

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

overwrite : bool, 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.

Previous topic

nmrglue.fileio.rnmrtk.read

Next topic

nmrglue.fileio.rnmrtk.write_lowmem

This Page