IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2005, 2:17:06 PM (21 years ago)
Author:
evanalst
Message:

Change function name psTimeToLST to psTimeToLMST. (SDR-13)

Location:
trunk/psLib/src/astronomy
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astronomy/psAstrometry.c

    r3682 r3708  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.64 $ $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 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    230230
    231231    // XXX: how is this value derived?
    232     *(double *)&exp->lst = psTimeToLST((psTime*)time,observatory->longitude);
     232    *(double *)&exp->lst = psTimeToLMST((psTime*)time,observatory->longitude);
    233233    *(float *)&exp->positionAngle = 0.0f; // XXX: need input, see Bug #207
    234234    *(float *)&exp->parallacticAngle = 0.0f; // XXX: need input, see Bug #207
  • trunk/psLib/src/astronomy/psTime.c

    r3706 r3708  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-04-18 23:40:15 $
     12 *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-04-19 00:17:05 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    422422}
    423423
    424 double psTimeToLST(psTime *time, double longitude)
     424double psTimeToLMST(psTime *time, double longitude)
    425425{
    426426    psF64  jdTdtDays    =  0.0;
  • trunk/psLib/src/astronomy/psTime.h

    r3706 r3708  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-04-18 23:40:15 $
     12 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-04-19 00:17:05 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    107107);
    108108
    109 /** Convert psTime to Local Mean Sidereal Time (LST).
    110  *
    111  *  Converts psTime at the given longitude to LST time. If the input time is not in UTC format, then it is
     109/** 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
    112112 *  converted.
    113113 *
    114114 *  @return  double: LST Time.
    115115 */
    116 double psTimeToLST(
     116double psTimeToLMST(
    117117    psTime *time,                       ///< psTime to be converted.
    118118    double longitude                    ///< Longitude.
Note: See TracChangeset for help on using the changeset viewer.