function twodcut
Create a 2D-cut from an image.
Syntax
result = twodcut(image, x, y, theta, width)
Arguments
| image: | An image |
| x: | The x center for the 2D-cut |
| y: | The y center for the 2D-cut |
| theta: | The position angle, in degrees |
| width: | The width of the cut, in pixels |
Returns
A 1D spectrum
See also
function longslit