IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2006, 10:59:32 AM (20 years ago)
Author:
drobbin
Message:

Small update to TEO/polarTide. New fxn Time_TideUT1Corr done and tested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.h

    r5507 r6036  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-11-12 03:37:34 $
     13 *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-01-18 20:59:31 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7676 * Reads config and data files associated with various time conversions.
    7777 *
    78  * @return  bool: True for success, false for failure.
     78 * @return bool:    True for success, false for failure.
    7979 */
    8080psBool p_psTimeInit(
     
    9494 * Frees time data to be held in memory until the end of successful program execution.
    9595 *
    96  * @return  void: void.
     96 * @return void:    void.
    9797 */
    9898psBool p_psTimeFinalize(void);
     
    110110 * of the struct are set to zero.
    111111 *
    112  * @return  psTime*: Struct with empty time.
     112 * @return psTime*:    Struct with empty time.
    113113 */
    114114psTime* psTimeAlloc(
     
    133133 * (PS_TIME_TAI or PS_TIME_UTC) in the argument.
    134134 *
    135  *  @return  psTime*: Struct with current time.
     135 *  @return psTime*:    Struct with current time.
    136136 */
    137137psTime* psTimeGetNow(
     
    143143 *  Converts psTime to UTC, TAI, UT1, or TT time based on the psTimeType argument.
    144144 *
    145  *  @return  psTime*: Pointer to psTime.
     145 *  @return psTime*:    Pointer to psTime.
    146146 */
    147147psTime* psTimeConvert(
     
    155155 *  in UTC format, then it is converted.
    156156 *
    157  *  @return  double: LST Time.
     157 *  @return double:    LST Time.
    158158 */
    159159double psTimeToLMST(
     
    166166 *  This function is necessary to for various SLALIB functions.
    167167 *
    168  *  @return  double: Time difference.
     168 *  @return double:    Time difference.
    169169 */
    170170double psTimeGetUT1Delta(
     
    173173);
    174174
     175/** Provides tidal corrections to UT1-UTC.
     176 *
     177 *  Uses the Ray model of Simon et al.
     178 *
     179 *  @return psTime*:    The corrected time in UT1.
     180 */
     181psTime *psTime_TideUT1Corr(
     182    const psTime *time                 ///< psTime to be corrected.
     183);
     184
    175185/** Determine TAI - UTC from table lookup.
    176186 *
    177187 *  This function is necessary to for various psTime functions.
    178188 *
    179  *  @return  psF64: Time difference.
     189 *  @return psF64:      Time difference.
    180190 */
    181191psF64 p_psTimeGetTAIDelta(
     
    187197 *  Determines the orientation of the polar axis at the given time.
    188198 *
    189  *  @return  psSphere*: Spherical coordinates of Earth's polar axias.
     199 *  @return psSphere*:      Spherical coordinates of Earth's polar axias.
    190200 */
    191201psSphere* p_psTimeGetPoleCoords(
     
    197207 *  Calculates the number of leapseconds between two times.
    198208 *
    199  *  @return  long: leapseconds added between given times
     209 *  @return long:  leapseconds added between given times
    200210 */
    201211long psTimeLeapSecondDelta(
     
    208218 *  Determines if the specified UTC time is a valid leapsecond.
    209219 *
    210  *  @return  bool: valid leap second
     220 *  @return bool:  valid leap second
    211221 */
    212222bool psTimeIsLeapSecond(
     
    219229 *  subtract leapseconds.
    220230 *
    221  *  @return  double: Julian Date (JD) time.
     231 *  @return double:    Julian Date (JD) time.
    222232 */
    223233double psTimeToJD(
     
    229239 *  add or subtract leapseconds.
    230240 *
    231  *  @return  double: Modified Julian Days (MJD) time.
     241 *  @return double:    Modified Julian Days (MJD) time.
    232242 */
    233243double psTimeToMJD(
     
    240250 *  This function does not add or subtract leapseconds.
    241251 *
    242  *  @return  psString:     Pointer null terminated array of chars in ISO time.
     252 *  @return psString:     Pointer null terminated array of chars in ISO time.
    243253 */
    244254psString psTimeToISO(
     
    250260 *  Converts psTime to timeval time. This function does not add or subtract leapseconds.
    251261 *
    252  *  @return  timeval*: timeval struct time.
     262 *  @return timeval*:  timeval struct time.
    253263 */
    254264struct timeval* psTimeToTimeval(
Note: See TracChangeset for help on using the changeset viewer.