-
Notifications
You must be signed in to change notification settings - Fork 1
SPICE_DATA::get_window_position
Source code: SPICE_DATA::get_window_position
Class: SPICE_DATA
This function returns the position of the window on the CCD, starting with 0 if idl_coord is set, 1 otherwise. The position is given as a 4-element vector, with [lambda0, lambda1, y0, y1]. Note: y0 > y1, but lambda0 < lambda1.
array = spice_object->get_window_position( window [, detector=detector] [, /idl_coord] [, /reverse_y] [, /reverse_x] [, /no_warning] )
Integer array with 4 elements [lambda0, lambda1, y0, y1].
The index or name of the window.
If set, the coordinates start with zero, instead of with 1.
If set, y-coordinates are given as (CCD-size +1 - (original y-coords)).
For dumbbells x-coordinates are flipped. If this keyword is set, the coordinates will be flipped again, i.e. values of PXBEG3 and PXEND3 will be swapped.
If set, warnings about x-flipping will be suppressed.
Set this keyword to a named variable, which then will be set to either 1 or 2 to indicate on which detector the window is.