| Last change
 on this file since 2554 was             731, checked in by tbretz, 25 years ago | 
        
          | *** empty log message *** | 
        
          | 
              
Property                 svn:executable
 set to                 * | 
        
          | File size:
            1.0 KB | 
      
      
| Line |  | 
|---|
| 1 | #include "slalib.h" | 
|---|
| 2 | #include "slamac.h" | 
|---|
| 3 | void slaAoppat ( double date, double aoprms[14] ) | 
|---|
| 4 | /* | 
|---|
| 5 | **  - - - - - - - - - - | 
|---|
| 6 | **   s l a A o p p a t | 
|---|
| 7 | **  - - - - - - - - - - | 
|---|
| 8 | ** | 
|---|
| 9 | **  Recompute the sidereal time in the apparent to observed place | 
|---|
| 10 | **  star-independent parameter block. | 
|---|
| 11 | ** | 
|---|
| 12 | **  Given: | 
|---|
| 13 | **     date   double      UTC date/time (Modified Julian Date, JD-2400000.5) | 
|---|
| 14 | **                        (see slaAoppa source for comments on leap seconds) | 
|---|
| 15 | **     aoprms double[14]  star-independent apparent-to-observed parameters | 
|---|
| 16 | ** | 
|---|
| 17 | **       (0-11)   not required | 
|---|
| 18 | **       (12)     longitude + eqn of equinoxes + sidereal dut | 
|---|
| 19 | **       (13)     not required | 
|---|
| 20 | ** | 
|---|
| 21 | **  Returned: | 
|---|
| 22 | **     aoprms double[14]  star-independent apparent-to-observed parameters: | 
|---|
| 23 | ** | 
|---|
| 24 | **       (0-12)   not changed | 
|---|
| 25 | **       (13)     local apparent sidereal time (radians) | 
|---|
| 26 | ** | 
|---|
| 27 | **  For more information, see slaAoppa. | 
|---|
| 28 | ** | 
|---|
| 29 | **  Called:  slaGmst | 
|---|
| 30 | ** | 
|---|
| 31 | **  Last revision:   31 October 1993 | 
|---|
| 32 | ** | 
|---|
| 33 | **  Copyright P.T.Wallace.  All rights reserved. | 
|---|
| 34 | */ | 
|---|
| 35 | { | 
|---|
| 36 | aoprms[13] = slaGmst ( date ) + aoprms[12]; | 
|---|
| 37 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.