cf.Data.flip¶
- Data.flip(axes=None, inplace=False, i=False)[source]¶
- Reverse the direction of axes of the data array. - Parameters:
- axes: (sequence of) int
- Select the axes. By default all axes are flipped. Each axis is identified by its integer position. No axes are flipped if axes is an empty sequence. 
- inplace: bool, optional
- If True then do the operation in-place and return - None.
- i: deprecated at version 3.0.0
- Use the inplace parameter instead. 
 
- axes: (sequence of) 
- Returns:
 - Examples - >>> d.flip() >>> d.flip(1) >>> d.flip([0, 1]) >>> d.flip([]) - >>> e = d[::-1, :, ::-1] >>> d.flip((2, 0)).equals(e) True 
 
 
 
