How to rotate and slice a cube for pV diagrams
From CASA Guides
A position-velocity diagram is typically along slice along a direction in the RA/DEC plane with a given position angle. The y-axis consist of the velocities along that slice. How to do this? Currently there's no task but one can use the tools in CASA.
Here's a recipe:
1) rotate the input cube by a given position angle (to align the slice in the vertical direction):