IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 18, 2011, 2:11:14 PM (15 years ago)
Author:
eugene
Message:

fix group and write problems for uniphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/Ohana/src/uniphot/include/uniphot.h

    r28717 r30976  
    2929
    3030typedef struct {
     31  char tstart[64];
     32  char tstop[64];
    3133  char label[64];
    3234  float M;
     
    124126int           update_setphot         PROTO((Image *image, off_t Nimage));
    125127void          update_catalog_setphot PROTO((Catalog *catalog, Image *image, off_t *index, off_t Nimage));
     128
     129/*** time/coord conversion functions not supplied by libohana ***/
     130time_t        TimeRef               PROTO((double time, time_t TimeReference, int TimeFormat));
     131double        TimeValue             PROTO((time_t time, time_t TimeReference, int TimeFormat));
     132
     133int           hh_hms                PROTO((double hh, int *hr, int *mn, double *sc));
     134int           dd_dms                PROTO((double dd, int *dg, int *mn, double *sc));
     135int           hms_format            PROTO((char *line, double value));
     136int           dms_format            PROTO((char *line, double value));
     137int           hh_hm                 PROTO((double hh, int *hr, double *mn));
     138int           day_to_sec            PROTO((char *string, time_t *second));
     139int           hms_to_sec            PROTO((char *string, time_t *second));
     140char         *ohana_sec_to_hms      PROTO((time_t second));
     141char         *ohana_sec_to_day      PROTO((time_t second));
     142
     143char         *meade_deg_to_str      PROTO((double deg));
     144char         *meade_ra_to_str       PROTO((double deg));
     145char         *meade_dec_to_str      PROTO((double deg));
     146char         *strptime              PROTO((const char *s, const char *format, struct tm *tm));
     147time_t        GetTimeReference      PROTO((char *reference));
     148int           GetTimeUnits          PROTO((char *name));
Note: See TracChangeset for help on using the changeset viewer.