nmrglue.fileio.varian.find_torder

nmrglue.fileio.varian.find_torder(dic, shape)[source]

Find the torder from the procpar dictionary.

If propar dictionary is incomplete a UserWarning is issued and ‘r’ is returned.

Parameters
dicdict

Dictionary of parameters in the procpar file.

shaoetuple of ints

Shape of NMR data.

Returns
torder{‘r’, ‘f’, ‘o’}

File ording for using in read() or write().