Changeset 3376 for trunk/Ohana/src/addstar/include/addstar.h
- Timestamp:
- Mar 4, 2005, 2:48:42 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/include/addstar.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/include/addstar.h
r3361 r3376 4 4 # include <sys/time.h> 5 5 # include <time.h> 6 # include <zlib.h> 6 7 7 8 /* used in find_matches, find_matches_refstars */ … … 12 13 /* grab named photcode */ 13 14 # define NAMED_PHOTCODE(CODE,NAME) \ 14 CODE = GetPhotcode byName (NAME); \15 CODE = GetPhotcodeCodebyName (NAME); \ 15 16 if (!CODE) { \ 16 17 fprintf (stderr, "ERROR: photcode %s not found in photcode table\n", NAME); \ … … 47 48 char GSCFILE[256]; 48 49 char CATDIR[256]; 50 char TWO_MASS_DIR[256]; 51 char GSCDIR[256]; 52 char CDROM[256]; 49 53 double DEFAULT_RADIUS, NSIGMA, SNLIMIT; 50 54 double ZeroPt; … … 57 61 58 62 PhotCode *thiscode; 59 GSCRegion patch;63 GSCRegion UserPatch; 60 64 61 65 char DateKeyword[64]; … … 86 90 87 91 int main (int argc, char **argv); 88 int Shutdown ( );92 int Shutdown (char *message, ...); 89 93 void TrapSignal (int sig); 90 94 int SetSignals (); … … 122 126 void fsort (float *X, int N); 123 127 void fsort2 (float *X, float *Y, int N); 128 void sort_stars (Stars *stars, int N); 129 void sort_regions (GSCRegion *region, int N); 124 130 125 131 char *sec_to_date (time_t second); … … 147 153 Stars *get2mass (GSCRegion *patch, int *NSTARS); 148 154 TM_Region *get2mass_acc (GSCRegion *patch, int *nfiles); 149 Stars *get2mass_data ( char *filename, GSCRegion *patch, int *nstars);155 Stars *get2mass_data (TM_Region *region, GSCRegion *patch, int *nstars); 150 156 GSCRegion *gregion_stars (Stars *stars, int Nstars, int *Nregion); 151 157 Stars *grefstars (char *file, int *Nstars); … … 180 186 int replace_match (Average *average, Measure *measure, Stars *star); 181 187 FILE *GetDB (int *state); 182 int Shutdown ();183 188 void lock_image_db (); 184 189 void unlock_image_db (Image *image);
Note:
See TracChangeset
for help on using the changeset viewer.
