- Timestamp:
- Aug 26, 2010, 9:18:39 AM (16 years ago)
- Location:
- branches/sc_branches/trunkTest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/trunkTest
- Property svn:mergeinfo changed
-
branches/sc_branches/trunkTest/Ohana
- Property svn:mergeinfo deleted
-
branches/sc_branches/trunkTest/Ohana/src/relastro/include/relastro.h
r28184 r29060 3 3 # include <kapa.h> 4 4 # include <signal.h> 5 # include <assert.h> 5 6 6 7 typedef enum { … … 76 77 int Nmeas; 77 78 } StatType; 79 80 # define MARKTIME(MSG,...) { \ 81 float dtime; \ 82 gettimeofday (&stop, (void *) NULL); \ 83 dtime = DTIME (stop, start); \ 84 fprintf (stderr, MSG, __VA_ARGS__); } 78 85 79 86 /* global variables set in parameter file */ … … 145 152 int DoUpdateChips; 146 153 int DoUpdateMosaics; 154 155 // StarMap parameters: 156 int NX_MAP; 157 int NY_MAP; 158 double DPOS_MAX; 159 double ADDSTAR_RADIUS; 147 160 148 161 /*** relphot prototypes ***/ … … 207 220 void create_image_db (FITS_DB *db); 208 221 void save_catalogs (Catalog *catalog, int Ncatalog); 222 223 int reload_images (FITS_DB *db); 209 224 210 225 int main PROTO((int argc, char **argv)); … … 267 282 double **poly2d_copy (double **poly, int Nx, int Ny); 268 283 double poly2d_eval (double **poly, int Nx, int Ny, double x, double y); 269 int fit_apply_coords (CoordFit *fit, Coords *coords );284 int fit_apply_coords (CoordFit *fit, Coords *coords, int keepRef); 270 285 int CoordsGetCenter (CoordFit *fit, double tol, double *xo, double *yo); 271 286 CoordFit *CoordsSetCenter (CoordFit *input, double Xo, double Yo); 272 int FitChip (StarData *raw, StarData *ref, int Nmatch, Coords *coords);287 int FitChip (StarData *raw, StarData *ref, int Nmatch, Image *image); 273 288 void FitMosaic (StarData *raw, StarData *ref, int Nmatch, Coords *coords); 274 289 void FitSimple (StarData *raw, StarData *ref, int Nmatch, Coords *coords); … … 293 308 StarData *getImageRef (Catalog *catalog, int Ncatalog, off_t im, off_t *Nstars, CoordMode mode); 294 309 StarData *getImageRaw (Catalog *catalog, int Ncatalog, off_t im, off_t *Nstars, CoordMode mode); 310 off_t getImageByID (off_t ID); 295 311 296 312 Mosaic *getmosaics (off_t *N); … … 331 347 int high_speed_objects (SkyRegion *region, Catalog *catalog); 332 348 int MeasMatchesPhotcode(Measure *measure, PhotCode **photcodeSet, int Nset); 349 350 int initStarMaps (); 351 int updateStarMaps(Catalog *catalog); 352 int createStarMapPoints(); 353 int checkStarMap(int N);
Note:
See TracChangeset
for help on using the changeset viewer.
