IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 1, 2004, 9:56:06 AM (22 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

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

    r2436 r2583  
    1010*  @author George Gusciora, MHPCC
    1111*
    12 *  @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-11-24 22:14:39 $
     12*  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-12-01 19:56:05 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    249249}
    250250
     251// XXX: SHould these be in radians, not degrees?
    251252psSphereTransform* psSphereTransformICRSToGalatic(void)
    252253{
     
    254255}
    255256
     257// XXX: SHould these be in radians, not degrees?
    256258psSphereTransform* psSphereTransformGalaticToICRS(void)
    257259{
     
    534536                          const psTime *toTime)
    535537{
     538    psF64 fromMJD = fromTime->sec/86400.0 + fromTime->usec/86400000000.0 + 40587.0;
     539    psF64 toMJD = toTime->sec/86400.0 + toTime->usec/86400000000.0 + 40587.0;
     540    psF64 = (toMJD - fromMJD) / 36525.0;
     541
     542
     543
    536544    return(NULL);
    537545}
Note: See TracChangeset for help on using the changeset viewer.