IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 14, 2005, 6:29:26 AM (21 years ago)
Author:
eugene
Message:

replaced "thiscode" as global with photcode passed by argument,
added explicit quality airmass option (for skyprobe)
added explicit subpix option (for skyprobe)
replace skyprobe global with above two.

File:
1 edited

Legend:

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

    r5322 r5328  
    5252
    5353/* 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
     54double  SNLIMIT;
     55int     ACCEPT_ASTROM;  // accept even bad astrometry solutions (NASTRO == 0)
     56int     TEXTMODE;       // force input file to be loaded as RAW
     57int     SUBPIX;         // apply a subpix correction
     58char   *DUMP;           // dump out intermediate results
     59int     XOVERSCAN;      // used to modify stored image dimensions
     60int     YOVERSCAN;      // used to modify stored image dimensions
     61int     XMIN;           // used to filter loaded star list
     62int     XMAX;           // used to filter loaded star list
     63int     YMIN;           // used to filter loaded star list
     64int     YMAX;           // used to filter loaded star list
     65double  Latitude;       // carried into image structure from config
     66Coords *MOSAIC;         // carries the mosaic into gstars
    6567
    6668/* these globals are used separately by both client and server (KEEP) */
     
    6870int    VERBOSE;
    6971
    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 AddstarClientOptions
    90 double NSIGMA;           // XXX add to AddstarClientOptions
    91 # endif
    92 
    9372/* modify server behavoir (make this an addstar cleanup mode?) */
    9473int    FORCE_READ;
    9574
    96 int   SKYPROBE; 
    9775// XXX this should be replaced with
    9876// 1) an airmass accuracy option
     
    126104int        dump_rawstars          PROTO((Stars *stars, int Nstars));
    127105int        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));
     106void       find_matches           PROTO((GSCRegion *region, Stars *stars, int Nstars, Catalog *catalog, Image *image, Image *overlap, int Noverlap, Coords *mosaic, AddstarClientOptions options));
     107void       find_matches_closest   PROTO((GSCRegion *region, Stars *stars, int Nstars, Catalog *catalog, Image *image, Image *overlap, int Noverlap, Coords *mosaic, AddstarClientOptions options));
    130108void       find_matches_refstars  PROTO((GSCRegion *region, Stars **stars, int Nstars, Catalog *catalog, AddstarClientOptions options));
    131109Stars    **find_subset            PROTO((GSCRegion *region, Stars *stars, int Nstars, int *NSTARS));
    132110int        gcatalog               PROTO((Catalog *catalog));
    133 Stars     *get2mass               PROTO((GSCRegion *patch, int *NSTARS, int mode));
     111Stars     *get2mass               PROTO((GSCRegion *patch, int photcode, int mode, int *NSTARS));
    134112double     get_subpix             PROTO((double x, double y));
    135113Stars     *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));
     114Stars     *getusno                PROTO((GSCRegion *catstats, int photcode, int *Nstars));
     115Image     *gimages                PROTO((FITS_DB *db, Image *image, Coords *mosaic, int *Npimage));
     116Stars     *grefcat                PROTO((char *Refcat, GSCRegion *catstats, int photcode, int *nstars));
     117Stars     *grefstars              PROTO((char *file, int photcode, int *Nstars));
     118GSCRegion *gregion_image          PROTO((Image *image, Coords *mosaic, int *Nregions));
    141119GSCRegion *gregion_match          PROTO((GSCRegion *regions, int *nregions));
    142120GSCRegion *gregion_patch          PROTO((GSCRegion *patch, int *nregions));
     
    144122GSCRegion *gregion_stars          PROTO((Stars *stars, int Nstars, int *Nregion));
    145123GSCRegion *gregions               PROTO((Image *image, int *Nregions));
    146 Stars     *gstars                 PROTO((char *file, int *NSTARS, Image *image));
     124Stars     *gstars                 PROTO((char *file, int *NSTARS, int photcode, Image *image));
    147125void       help                   PROTO(());
    148126int        in_image               PROTO((double r, double d, Image *image));
Note: See TracChangeset for help on using the changeset viewer.