lrs2_xy

A routine for transorming X,Y coordinates measured on the LRS2 grey-scale images from llmap. If you input pixels you get arcsecond units returned. If you feed in arcseconds, you get pixel units returned.

% 
% lrs2_xy 
Usage: lrs2_xy lrs2map.fits 100.0 200.0 pixels
arg1 = input FITS image name 
arg2 = X position (in pixels or arcseconds) 
arg3 = Y position (in pixels or arcseconds) 
arg4 = units of input X,Y (pixels,arcseconds) 
 
Typical runs: 

% lrs2_xy lrs2map.fits 0.384 -0.002 arcseconds
  538.033875 255.864410

% lrs2_xy lrs2map.fits 538 255 pixels
0.383500 -0.014750

 



Back to SCO CODES page