Changeset 3708 for trunk/psLib/src/astronomy
- Timestamp:
- Apr 18, 2005, 2:17:06 PM (21 years ago)
- Location:
- trunk/psLib/src/astronomy
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psAstrometry.c
r3682 r3708 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1.6 4$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-04- 07 20:27:41$10 * @version $Revision: 1.65 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-04-19 00:17:05 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 230 230 231 231 // XXX: how is this value derived? 232 *(double *)&exp->lst = psTimeToL ST((psTime*)time,observatory->longitude);232 *(double *)&exp->lst = psTimeToLMST((psTime*)time,observatory->longitude); 233 233 *(float *)&exp->positionAngle = 0.0f; // XXX: need input, see Bug #207 234 234 *(float *)&exp->parallacticAngle = 0.0f; // XXX: need input, see Bug #207 -
trunk/psLib/src/astronomy/psTime.c
r3706 r3708 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.5 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-04-1 8 23:40:15 $12 * @version $Revision: 1.58 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-19 00:17:05 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 422 422 } 423 423 424 double psTimeToL ST(psTime *time, double longitude)424 double psTimeToLMST(psTime *time, double longitude) 425 425 { 426 426 psF64 jdTdtDays = 0.0; -
trunk/psLib/src/astronomy/psTime.h
r3706 r3708 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.2 5$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-04-1 8 23:40:15 $12 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-19 00:17:05 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 107 107 ); 108 108 109 /** Convert psTime to Local Mean Sidereal Time (L ST).110 * 111 * Converts psTime at the given longitude to L ST time. If the input time is not in UTC format, then it is109 /** Convert psTime to Local Mean Sidereal Time (LMST). 110 * 111 * Converts psTime at the given longitude to LMST time. If the input time is not in UTC format, then it is 112 112 * converted. 113 113 * 114 114 * @return double: LST Time. 115 115 */ 116 double psTimeToL ST(116 double psTimeToLMST( 117 117 psTime *time, ///< psTime to be converted. 118 118 double longitude ///< Longitude.
Note:
See TracChangeset
for help on using the changeset viewer.
