Changeset 21508 for trunk/Ohana/src/addstar/include/addstar.h
- Timestamp:
- Feb 16, 2009, 11:33:52 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/include/addstar.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/include/addstar.h
r21153 r21508 28 28 fprintf (stderr, "ERROR: photcode %s not found in photcode table\n", NAME); \ 29 29 exit (0); } 30 31 typedef struct { 32 char *exthead; 33 char *extdata; 34 char *exttype; 35 int extnum_head; 36 int extnum_data; 37 } HeaderSet; 38 39 typedef struct { 40 Average average; 41 Measure measure; 42 int found; 43 } Stars; 30 44 31 45 typedef struct { … … 39 53 char *refcat; 40 54 } DVO_DATA; 41 42 typedef struct {43 char *exthead;44 char *extdata;45 char *exttype;46 int extnum_head;47 int extnum_data;48 } HeaderSet;49 55 50 56 typedef struct sockaddr_in SockAddress; … … 92 98 /* these globals modify the behavior of gstars (KEEP) */ 93 99 double SNLIMIT; 100 int PHOTFLAG_EXCLUDE; 94 101 int ACCEPT_ASTROM; // accept even bad astrometry solutions (NASTRO == 0) 95 102 int ACCEPT_MOTION; // accept reference proper motion measurements … … 137 144 /*** addstar prototypes ***/ 138 145 146 AddstarClientOptions ConfigInit PROTO((int *argc, char **argv)); 147 AddstarClientOptions args PROTO((int argc, char **argv, AddstarClientOptions options)); 148 139 149 void AddToCalibration PROTO((Average *average, SecFilt *secfilt, Measure *measure, Measure *new, int *next, int Nstar)); 140 AddstarClientOptions ConfigInit PROTO((int *argc, char **argv));141 150 void FindCalibration PROTO((Image *image)); 142 151 FILE *GetDB PROTO((int *state)); … … 145 154 void SetProtect PROTO((int mode)); 146 155 int SetSignals PROTO((void)); 147 int Shutdown PROTO((char *message, ...) ; )156 int Shutdown PROTO((char *message, ...)); 148 157 void TrapSignal PROTO((int sig)); 149 158 float airmass PROTO((float secz_image, double ra, double dec, double st, double latitude)); 159 float azimuth PROTO((double ha, double dec, double latitude)); 150 160 void SetAirmassQuality PROTO((int quality)); 151 161 SkyTable *SkyTableFromTychoIndex PROTO((char *filename, int VERBOSE)); 152 AddstarClientOptions args PROTO((int argc, char **argv, AddstarClientOptions options));153 162 void check_permissions PROTO((char *basefile)); 154 163 int dump_rawstars PROTO((Stars *stars, int Nstars)); 155 164 int edge_check PROTO((double *x1, double *y1, double *x2, double *y2)); 156 165 Image *fakeimage PROTO((char *rootname, int *Nimage, int photcode)); 166 157 167 int find_matches PROTO((SkyRegion *region, Stars *stars, int Nstars, Catalog *catalog, AddstarClientOptions options)); 158 168 int find_matches_closest PROTO((SkyRegion *region, Stars *stars, int Nstars, Catalog *catalog, AddstarClientOptions options)); 159 169 int find_matches_refstars PROTO((SkyRegion *region, Stars **stars, int Nstars, Catalog *catalog, AddstarClientOptions options)); 170 160 171 Stars **find_subset PROTO((SkyRegion *region, Stars *stars, int Nstars, int *NSTARS)); 161 172 int gcatalog PROTO((Catalog *catalog)); 162 173 Stars *get2mass PROTO((SkyRegion *patch, int photcode, int mode, int *NSTARS)); 163 174 double get_subpix PROTO((double x, double y)); 175 176 Stars *greference PROTO((char *Refcat, SkyRegion *catstats, int photcode, int *nstars)); 164 177 Stars *getgsc PROTO((SkyRegion *patch, int *NSTARS)); 165 178 Stars *gettycho PROTO((SkyRegion *catstats, int photcode, int *Nstars)); 166 179 Stars *getusno PROTO((SkyRegion *catstats, int photcode, int *Nstars)); 167 180 Stars *getusnob PROTO((SkyRegion *catstats, int photcode, int *Nstars)); 168 Image *gimages PROTO((FITS_DB *db, Image *image, Coords *mosaic, int *Npimage)); 169 Stars *grefcat PROTO((char *Refcat, SkyRegion *catstats, int photcode, int *nstars)); 181 182 // load text-based stars (REF only in the sense of REF photcodes) 170 183 Stars *grefstars PROTO((char *file, int photcode, int *Nstars)); 171 184 … … 249 262 Stars *Convert_PS1_DEV_0 PROTO((FTable *table, int *nstars)); 250 263 Stars *Convert_PS1_DEV_1 PROTO((FTable *table, int *nstars)); 264 Stars *Convert_PS1_V1 PROTO((FTable *table, int *nstars)); 265 266 int InitStar PROTO((Stars *star)); 267 short ShortPixels PROTO((float pixels)); 268 short ShortDegree PROTO((float degrees)); 251 269 252 270 int args_skycells (int argc, char **argv);
Note:
See TracChangeset
for help on using the changeset viewer.
