nmrglue.fileio.rnmrtk.create_dic

nmrglue.fileio.rnmrtk.create_dic(udic, dim_order=None)[source]

Create a RNMRTK dictionary from a universal dictionary.

Parameters
udicdict

Universal dictionary of spectral parameters.

dim_orderlist, optional

List mapping axis numbers in the universal dictionary to the order in which they will appear in the RNMRTK dictionary. If None, the default [0, 1, 2, …] is used.

Returns
dicdict

Dictionary of RNMRTK parameters.