>  Docs Center  >  Libraries  >  Buie  >  HANGLE
Libraries

HANGLE

HANGLE

Name


  hangle

Purpose (one Line)


  Compute the local hour angle of an object.

Description


Category


  Astronomy

Calling Sequence


  hangle,jd,ra,dec,lat,lon,lha,lst [,UT=ut]

Inputs


  JD - Julian date (must be double precision to get nearest second).
  RA - Right ascension (of date) in radians.
  DEC - Declination (of date) in radians.
  LAT - Latitude of observatory in radians.
  LON - West longitude of observatory in radians.

Optional Input Parameters


  None.

Keyword Input Parameters


  UT - Time, in hours to add to JD to get the correct Universal Time.
          That the same as Universal Time minus the Local Time.

Keyword Output Parameters


Outputs


  LHA - Return of the local hour angle.
  LST - Return of the local sidereal time.

Common Blocks


  None.

Side Effects


Restrictions


  Any input may be a vector. If more than one is a vector then the
  lengths must match. The return will have the same dimensions as
  the input.

Procedure


Modification History



  94/05/05 - Written by Marc W. Buie, Lowell Observatory
  2002/01/08, MWB, now allows 2-d input for jd,ra,dec



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us