PlasmaCalcs.hookups.bifrost.bifrost_stagger.transpose_to_0_tuple
- PlasmaCalcs.hookups.bifrost.bifrost_stagger.transpose_to_0_tuple(ndim, x)
- return tuple to pass to np.transpose to swap axis 0 with axis x (int).T = np.transpose(array, result) gives array with x axis swapped with 0th axis.np.transpose(T, result) swaps them back.