import dascore # import dascore library
= dascore.get_example_patch() # generate example patch
pa # transpose the time and data array dimensions in the example patch
= dascore.proc.transpose(pa,"time", "distance") out
transpose
transpose(
self: Patch ,
*dims: str ,
)-> ‘PatchType’
Transpose the data array to any dimension order desired.
Parameters
Parameter | Description |
---|---|
*dims | Dimension names which define the new data axis order. |