SPICE_DATA::get_instr_y_vector - ITA-Solar/solo-spice-ql GitHub Wiki
Source code: SPICE_DATA::get_instr_y_vector
Class: SPICE_DATA
Description
Returns a vector containing the coordinates (instrument y-direction) for each pixel in the second dimension, either the actual size of the selected window or the full CCD size.
Syntax
instr_y_coords = spice_object->get_instr_y_vector( window [, x=x] [, lambda=lambda] [, time=time] [, /diff_rot] [, /full_ccd] )
Return Value
Float array, coordinates in arcsec.
Arguments
window
The index or name of the window.
OPTIONAL INPUTS:
x
The index of the x-coordinate of the pixel, default is the middle of the window
lambda
The index of the wavelength coordinate of the pixel, default is the middle of the window
time
The index of the time coordinate of the pixel, default is the middle of the window
Keywords
diff_rot
If set, applies the differential rotation correction to the x- and y-coordinates using spice_diff_rot_coord. If this keyword is set, then x, lambda and time provided must be within the actual data volume.
full_ccd
If set, a vector of size CCD-size[1] is returned with coordinate values for the whole detector. The data is then debinned. This may give wrong results if diff_rot is also set.