nmrglue.fileio.fileiobase.
index2trace_flat
Calculate trace number from shape and index of all indirect dimensions assuming a flat structure