spectrochempy.transpose
- transpose(*dims, inplace=False)[source]
Permute the dimensions of a NDDataset.
- Parameters:
*dims (sequence of dimension indexes or names, optional) – By default, reverse the dimensions, otherwise permute the dimensions according to the values given.
inplace (bool, optional, default=`False`) – Flag to say that the method return a new object (default) or not (inplace=True).
- Returns:
NDDataset – Transposed NDDataset.
See also
swapdims
Interchange two dimensions of a NDDataset.