IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 27, 2015, 4:49:06 PM (11 years ago)
Author:
eugene
Message:

extensive work on relphot, relastro, uniphot, dvomerge aiming to the construction and calibration of PV3

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/addstar/include/addstar.h

    r38636 r38986  
    4949  int extnum_xrad;
    5050} HeaderSet;
    51 
    52 # if (0)
    53 typedef struct {
    54   Average  average;
    55   Measure  measure;
    56   Lensing *lensing; // optionally carry out the lensing measurements
    57   int found;
    58 } Stars;
    59 
    60 typedef struct {
    61   unsigned int Nstars;
    62   Stars *stars;
    63   off_t Nimages;
    64   Image *images;
    65   Coords *mosaic;
    66   SkyRegion *patch;
    67   AddstarClientOptions *options;
    68   char *refcat;
    69 } DVO_DATA;
    70 # endif
    7151
    7252# define IDTYPE int
     
    222202int        find_matches           PROTO((SkyRegion *region, Catalog *newcat, Catalog *catalog, AddstarClientOptions options));
    223203
    224 # if (0)
    225 int        find_matches_refstars         PROTO((SkyRegion *region, Stars **stars, unsigned int Nstars, Catalog *catalog, AddstarClientOptions options));
    226 int        find_matches_closest_refstars PROTO((SkyRegion *region, Stars **stars, unsigned int Nstars, Catalog *catalog, AddstarClientOptions options));
    227 
    228 int        dump_rawstars          PROTO((Stars *stars, unsigned int Nstars));
    229 
    230 Stars    **find_subset            PROTO((SkyRegion *region, Stars *stars, unsigned int Nstars, unsigned int *NSTARS));
     204int        find_matches_refstars         PROTO((SkyRegion *region, Catalog *srccat, Catalog *tgtcat, AddstarClientOptions options));
     205int        find_matches_closest_refstars PROTO((SkyRegion *region, Catalog *srccat, Catalog *tgtcat, AddstarClientOptions options));
     206
     207Catalog   *greference             PROTO((char *Refcat, SkyRegion *catstats, int photcode));
     208
    231209int        gcatalog               PROTO((Catalog *catalog));
    232 Stars     *get2mass               PROTO((SkyRegion *patch, int photcode, int mode, unsigned int *NSTARS));
    233 
    234 Stars     *greference             PROTO((char *Refcat, SkyRegion *catstats, int photcode, unsigned int *nstars));
    235 Stars     *getgsc                 PROTO((SkyRegion *patch, unsigned int *NSTARS));
    236 Stars     *getusno                PROTO((SkyRegion *catstats, int photcode, unsigned int *Nstars));
    237 Stars     *getusnob               PROTO((SkyRegion *catstats, int photcode, unsigned int *Nstars));
     210Catalog   *getgsc                 PROTO((SkyRegion *patch));
     211Catalog   *getusno                PROTO((SkyRegion *catstats));
     212Catalog   *getusnob               PROTO((SkyRegion *catstats));
    238213
    239214// load text-based stars (REF only in the sense of REF photcodes)
    240 Stars     *grefstars              PROTO((char *file, int photcode, unsigned int *Nstars));
    241 
    242 Stars     *rd_gsc                 PROTO((char *filename, unsigned int *nstars));
    243 
    244 int        replace_match          PROTO((Average *average, Measure *measure, Stars *star));
    245 # endif
     215Catalog   *grefstars              PROTO((char *file, int photcode));
     216
     217Catalog   *rd_gsc                 PROTO((char *filename));
     218
     219int        replace_match          PROTO((Average *average, Measure *measure, Measure *newmeas, off_t *found));
    246220
    247221Catalog   *LoadStars              PROTO((char *file, Image **images, off_t *Nimages, AddstarClientOptions *options));
     
    297271
    298272SkyList   *SkyListExistingSubset  PROTO((SkyList *input, char *path));
     273SkyList   *SkyListForStars        PROTO((SkyTable *table, int depth, Catalog *catalog));
    299274
    300275// these are all for the addstar client/server which has not been maintained
     
    311286int        UpdateDatabase_Reflist PROTO((AddstarClientOptions *options, Stars *stars, unsigned int Nstars));
    312287int        UpdateDatabase_Refcat  PROTO((AddstarClientOptions *options, SkyRegion *UserPatch, char *refcat));
    313 SkyList   *SkyListForStars        PROTO((SkyTable *table, int depth, Stars *stars, unsigned int Nstars));
    314288int        SkyListSetPath         PROTO((SkyList *list, char *path));
    315289int        InitDataset            PROTO((void));
Note: See TracChangeset for help on using the changeset viewer.