nmrglue.fileio.bruker.write_pprog

nmrglue.fileio.bruker.write_pprog(filename, dic, overwrite=False)[source]

Write a minimal Bruker pulse program to file.

DO NOT TRY TO RUN THE RESULTING PULSE PROGRAM

This pulse program should return the same dictionary when read using read_pprog, nothing else. The pulse program will be nonsense.

Parameters :

filename : str

Filename of file to write pulse program to.

dic : dict

Dictionary of pulse program parameters.

overwrite : bool, optional

True to overwrite an existing file, False will raise a Warning if the file already exists.

See also

read_pprog
Read a Bruker pulse program.

Previous topic

nmrglue.fileio.bruker.read_pprog

Next topic

nmrglue.fileio.bruker.guess_udic

This Page