Changeset 5328 for trunk/Ohana/src/addstar/include/addstar.h
- Timestamp:
- Oct 14, 2005, 6:29:26 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/include/addstar.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/include/addstar.h
r5322 r5328 52 52 53 53 /* these globals modify the behavior of gstars (KEEP) */ 54 double SNLIMIT; 55 int ACCEPT_ASTROM; // accept even bad astrometry solutions (NASTRO == 0) 56 int TEXTMODE; // force input file to be loaded as RAW 57 char *DUMP; // dump out intermediate results 58 int XOVERSCAN; // used to modify stored image dimensions 59 int YOVERSCAN; // used to modify stored image dimensions 60 int XMIN; // used to filter loaded star list 61 int XMAX; // used to filter loaded star list 62 int YMIN; // used to filter loaded star list 63 int YMAX; // used to filter loaded star list 64 double Latitude; // carried into image structure from config 54 double SNLIMIT; 55 int ACCEPT_ASTROM; // accept even bad astrometry solutions (NASTRO == 0) 56 int TEXTMODE; // force input file to be loaded as RAW 57 int SUBPIX; // apply a subpix correction 58 char *DUMP; // dump out intermediate results 59 int XOVERSCAN; // used to modify stored image dimensions 60 int YOVERSCAN; // used to modify stored image dimensions 61 int XMIN; // used to filter loaded star list 62 int XMAX; // used to filter loaded star list 63 int YMIN; // used to filter loaded star list 64 int YMAX; // used to filter loaded star list 65 double Latitude; // carried into image structure from config 66 Coords *MOSAIC; // carries the mosaic into gstars 65 67 66 68 /* these globals are used separately by both client and server (KEEP) */ … … 68 70 int VERBOSE; 69 71 70 /* add to options as an int / keep the global? */71 PhotCode *thiscode;72 73 /* how to carry this around? */74 Coords *MOSAIC;75 76 /* globals set by command-line options (AddstarClientOptions) */77 /* move into AddstarClientOptions completely */78 # if (0)79 int MODE;80 int EXISTING_REGIONS;81 int ONLY_MATCH;82 int SKIP_MISSED;83 int REPLACE;84 int CLOSEST;85 int NOSORT;86 int UPDATE;87 int ONLY_IMAGES;88 int CALIBRATE;89 double DEFAULT_RADIUS; // XXX add to AddstarClientOptions90 double NSIGMA; // XXX add to AddstarClientOptions91 # endif92 93 72 /* modify server behavoir (make this an addstar cleanup mode?) */ 94 73 int FORCE_READ; 95 74 96 int SKYPROBE;97 75 // XXX this should be replaced with 98 76 // 1) an airmass accuracy option … … 126 104 int dump_rawstars PROTO((Stars *stars, int Nstars)); 127 105 int edge_check PROTO((double *x1, double *y1, double *x2, double *y2)); 128 void find_matches PROTO((GSCRegion *region, Stars *stars, int Nstars, Catalog *catalog, Image *image, Image *overlap, int Noverlap, AddstarClientOptions options));129 void find_matches_closest PROTO((GSCRegion *region, Stars *stars, int Nstars, Catalog *catalog, Image *image, Image *overlap, int Noverlap, AddstarClientOptions options));106 void find_matches PROTO((GSCRegion *region, Stars *stars, int Nstars, Catalog *catalog, Image *image, Image *overlap, int Noverlap, Coords *mosaic, AddstarClientOptions options)); 107 void find_matches_closest PROTO((GSCRegion *region, Stars *stars, int Nstars, Catalog *catalog, Image *image, Image *overlap, int Noverlap, Coords *mosaic, AddstarClientOptions options)); 130 108 void find_matches_refstars PROTO((GSCRegion *region, Stars **stars, int Nstars, Catalog *catalog, AddstarClientOptions options)); 131 109 Stars **find_subset PROTO((GSCRegion *region, Stars *stars, int Nstars, int *NSTARS)); 132 110 int gcatalog PROTO((Catalog *catalog)); 133 Stars *get2mass PROTO((GSCRegion *patch, int *NSTARS, int mode));111 Stars *get2mass PROTO((GSCRegion *patch, int photcode, int mode, int *NSTARS)); 134 112 double get_subpix PROTO((double x, double y)); 135 113 Stars *getgsc PROTO((GSCRegion *patch, int *NSTARS)); 136 Stars *getusno PROTO((GSCRegion *catstats, int *Nstars));137 Image *gimages PROTO((FITS_DB *db, Image *image, int *Npimage));138 Stars *grefcat PROTO((char *Refcat, GSCRegion *catstats, int *nstars));139 Stars *grefstars PROTO((char *file, int *Nstars));140 GSCRegion *gregion_image PROTO((Image *image, int *Nregions));114 Stars *getusno PROTO((GSCRegion *catstats, int photcode, int *Nstars)); 115 Image *gimages PROTO((FITS_DB *db, Image *image, Coords *mosaic, int *Npimage)); 116 Stars *grefcat PROTO((char *Refcat, GSCRegion *catstats, int photcode, int *nstars)); 117 Stars *grefstars PROTO((char *file, int photcode, int *Nstars)); 118 GSCRegion *gregion_image PROTO((Image *image, Coords *mosaic, int *Nregions)); 141 119 GSCRegion *gregion_match PROTO((GSCRegion *regions, int *nregions)); 142 120 GSCRegion *gregion_patch PROTO((GSCRegion *patch, int *nregions)); … … 144 122 GSCRegion *gregion_stars PROTO((Stars *stars, int Nstars, int *Nregion)); 145 123 GSCRegion *gregions PROTO((Image *image, int *Nregions)); 146 Stars *gstars PROTO((char *file, int *NSTARS, Image *image));124 Stars *gstars PROTO((char *file, int *NSTARS, int photcode, Image *image)); 147 125 void help PROTO(()); 148 126 int in_image PROTO((double r, double d, Image *image));
Note:
See TracChangeset
for help on using the changeset viewer.
