next up previous 623
Next: SCULIB_CALC_SKYDIP_TEMPS - Calculate all the skydip temps from raw data
Up: Library APIs
Previous: SCULIB_CALC_GRID - calculate the minimum rectangular grid that would contain the input jiggle pattern


SCULIB_CALC_OUTPUT_COORDS - calculate output coords of map centre and angle of output coord system N relative to apparent N

Description:
This routine takes the apparent centre coords at the time of the observation and converts them to the output coordinate system. In addition, the angle between the north direction in the output coordinate frame and that in the apparent frame is calculated (measured anticlockwise from output north, in radians).

Invocation:
CALL SCULIB_CALC_OUTPUT_COORDS (RA_APP, DEC_APP, MJD, OUTPUT_COORDS, LONG, LAT, STATUS)

Arguments:

RA_APP = DOUBLE PRECISION (Given)
apparent RA of map centre on MJD (radians)
DEC_APP = DOUBLE PRECISION (Given)
apparent declination of map centre on MJD (radians)
MJD = DOUBLE PRECISION (Given)
U1 of observation expressed as modified Julian day
OUTPUT_COORDS = CHARACTER$ *$($ *$) (Given)
output coordinated system; RB, RJ, RD, GA or EQ
LONG = DOUBLE PRECISION (Returned)
longitude of map centre in output coord system (radians)
LAT = DOUBLE PRECISION (Returned)
latitude of map centre in output coord system (radians)
STATUS = INTEGER (Given and returned)
global status

Notes:
SLA routines are used to perform the coordinate conversions.
Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.


next up previous 623
Next: SCULIB_CALC_SKYDIP_TEMPS - Calculate all the skydip temps from raw data
Up: Library APIs
Previous: SCULIB_CALC_GRID - calculate the minimum rectangular grid that would contain the input jiggle pattern

SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2008 Science and Technology Facilities Council