nmrglue.fileio.fileiobase.
index2trace_reg
Calculate trace number from shape and index of all indirect dimensions assuming the same phase and time ordering.