next up previous 264
Next: astSetStatus - Set the AST error status to an explicit value
Up: AST Function Descriptions
Previous: astSetFitsU - Store an undefined keyword value in a FitsChan


astSetRefPos - Set the reference position in a specified celestial coordinate system

Description:
This function sets the reference position (see attributes RefRA and RefDec) using axis values (in radians) supplied within the celestial coordinate system represented by a supplied SkyFrame.
Synopsis:
void astSetRefPos( AstSpecFrame $*$this, AstSkyFrame $*$frm, double lon, double lat )
Parameters:
this
Pointer to the SpecFrame.
frm
Pointer to the SkyFrame which defines the celestial coordinate system in which the longitude and latitude values are supplied. If NULL is supplied, then the supplied longitude and latitude values are assumed to be FK5 J2000 RA and Dec values.
lon
The longitude of the reference point, in the coordinate system represented by the supplied SkyFrame (radians).
lat
The latitude of the reference point, in the coordinate system represented by the supplied SkyFrame (radians).


next up previous 264
Next: astSetStatus - Set the AST error status to an explicit value
Up: AST Function Descriptions
Previous: astSetFitsU - Store an undefined keyword value in a FitsChan

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council