IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 4, 2005, 2:48:42 PM (21 years ago)
Author:
eugene
Message:

addstar works for -cat, -image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/include/addstar.h

    r3361 r3376  
    44# include <sys/time.h>
    55# include <time.h>
     6# include <zlib.h>
    67
    78/* used in find_matches, find_matches_refstars */
     
    1213/* grab named photcode */
    1314# define NAMED_PHOTCODE(CODE,NAME) \
    14   CODE = GetPhotcodebyName (NAME); \
     15  CODE = GetPhotcodeCodebyName (NAME); \
    1516  if (!CODE) { \
    1617    fprintf (stderr, "ERROR:  photcode %s not found in photcode table\n", NAME); \
     
    4748char   GSCFILE[256];
    4849char   CATDIR[256];
     50char   TWO_MASS_DIR[256];
     51char   GSCDIR[256];
     52char   CDROM[256];
    4953double DEFAULT_RADIUS, NSIGMA, SNLIMIT;
    5054double ZeroPt;
     
    5761
    5862PhotCode *thiscode;
    59 GSCRegion patch;
     63GSCRegion UserPatch;
    6064
    6165char DateKeyword[64];
     
    8690
    8791int main (int argc, char **argv);
    88 int Shutdown (); 
     92int Shutdown (char *message, ...); 
    8993void TrapSignal (int sig);
    9094int SetSignals ();
     
    122126void fsort (float *X, int N);
    123127void fsort2 (float *X, float *Y, int N);
     128void sort_stars (Stars *stars, int N);
     129void sort_regions (GSCRegion *region, int N);
    124130
    125131char *sec_to_date (time_t second);
     
    147153Stars *get2mass (GSCRegion *patch, int *NSTARS);
    148154TM_Region *get2mass_acc (GSCRegion *patch, int *nfiles);
    149 Stars *get2mass_data (char *filename, GSCRegion *patch, int *nstars);
     155Stars *get2mass_data (TM_Region *region, GSCRegion *patch, int *nstars);
    150156GSCRegion *gregion_stars (Stars *stars, int Nstars, int *Nregion);
    151157Stars *grefstars (char *file, int *Nstars);
     
    180186int replace_match (Average *average, Measure *measure, Stars *star);
    181187FILE *GetDB (int *state);
    182 int Shutdown ();
    183188void lock_image_db ();
    184189void unlock_image_db (Image *image);
Note: See TracChangeset for help on using the changeset viewer.