nmrglue.fileio.bruker.write

nmrglue.fileio.bruker.write(dir, dic, data, bin_file=None, acqus_files=None, pprog_file=None, overwrite=False, big=None, write_prog=True, write_acqus=True)[source]

Write Bruker files to disk.

Parameters :

dir : str

Directory to write files to.

dir : dict

Dictionary of Bruker parameters.

data : array_like

Array of NMR data

bin_file : str, optional

Filename of binary file in directory. None uses standard files.

acqus_files : list, optional

List of filename(s) of acqus parameter files in directory. None uses standard files.

pprog_file : str, optional

Filename of pulse program in directory. None uses standard files.

overwrite : bool, optional

Set True to overwrite files, False will raise a Warning if files exist.

big : bool or None, optional

Endiness of binary file. True of big-endian, False for little-endian, None to determine endiness from Bruker dictionary.

write_pprog : bool, optional

True to write the pulse program file, False prevents writing.

write_acqus : bool, optional

True to write the acqus files(s), False prevents writing.

See also

write_lowmem
Write Bruker files using minimal amounts of memory.
read
Read Bruker files.

Previous topic

nmrglue.fileio.bruker.read

Next topic

nmrglue.fileio.bruker.read_pdata

This Page