Flip (reverse the direction of) axes of the field.
Parameters : |
|
---|---|
Returns : | out : cf.Field |
See also
axes, expand_dims, squeeze, swapaxes, transpose, unsqueeze
Examples
>>> f.flip()
>>> f.flip('time')
>>> f.flip(1)
>>> f.flip('dim2')
>>> f.flip(['time', 1, 'dim2'])