Changeset 41390 for trunk/Ohana/src/relphot/include/relphot.h
- Timestamp:
- Jul 27, 2020, 11:06:35 AM (6 years ago)
- Location:
- trunk/Ohana/src/relphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
include/relphot.h (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relphot
- Property svn:mergeinfo set to
-
trunk/Ohana/src/relphot/include/relphot.h
r40386 r41390 90 90 } Mosaic; 91 91 92 typedef struct { 93 unsigned int start; 94 unsigned int stop; 95 short photcode; 96 float McalPSF; 97 float McalAPER; 98 float dKlam; 99 float dMcal; 100 float dMsys; 101 float McalChiSq; 102 unsigned short nFitPhotom; 103 unsigned int flags; 104 105 off_t Nimage; 106 off_t NIMAGE; 107 off_t *image; 108 109 off_t Nmeasure; 110 off_t NMEASURE; 111 off_t *measure; 112 113 off_t Ncatalog; // XX not needed 114 off_t NCATALOG; // XX not needed 115 off_t *catalog; 116 } TGroup; 117 92 118 typedef enum { 93 119 STATS_NONE, … … 145 171 int Ncal; 146 172 int Nmos; 173 int Ngrp; 147 174 int Ngrid; 148 175 … … 305 332 int VERBOSE_IMAGE; 306 333 int MOSAIC_ZEROPT; 334 int TGROUP_ZEROPT; 335 int TGROUP_FIT_AIRMASS; 307 336 308 337 int TEST_IMAGE1; … … 403 432 void clean_measures PROTO((Catalog *catalog, int Ncatalog, int final, FlatCorrectionTable *flatcorr)); 404 433 void clean_mosaics PROTO((void)); 434 void clean_tgroups PROTO((void)); 405 435 void clean_stars PROTO((Catalog *catalog, int Ncatalog)); 406 436 int corner_check PROTO((double *x1, double *y1, double *x2, double *y2)); … … 410 440 void findImages PROTO((Catalog *catalog, int Ncatalog, int doImageList)); 411 441 int findMosaics PROTO((Catalog *catalog, int Ncatalog, int doMosaicList)); 442 int findTGroups PROTO((Catalog *catalog, int Ncatalog)); 412 443 413 444 void clearImages (void); … … 428 459 void freeImageBins PROTO((int Ncatalog, int doImageList)); 429 460 void freeMosaicBins PROTO((int Ncatalog, int doMosaicList)); 461 void freeTGroupBins PROTO((int Ncatalog)); 462 430 463 void free_catalogs PROTO((Catalog *catalog, int Ncatalog)); 431 464 int gcatalog PROTO((Catalog *catalog, int FINAL)); … … 437 470 float getMgrid PROTO((off_t meas, int cat)); 438 471 float getMmos PROTO((off_t meas, int cat)); 472 float getMgrp PROTO((off_t meas, int cat, float airmass)); 439 473 float getMrel PROTO((Catalog *catalog, off_t meas, int cat, dvoMagClassType class, dvoMagSourceType source)); 440 474 short getUbercalDist PROTO((off_t meas, int cat)); … … 452 486 void initMosaicGrid PROTO((Image *image, off_t Nimage)); 453 487 void initMosaics PROTO((Image *subset, off_t Nsubset, Image *image, char *inSubset, off_t Nimage)); 488 void initTGroups PROTO((Image *subset, off_t *LineNumber, off_t Nsubset)); 489 void freeTGroups PROTO((void)); 490 void initTGroupBins PROTO((Catalog *catalog, int Ncatalog)); 454 491 void initMrel PROTO((Catalog *catalog, int Ncatalog)); 455 492 RelphotMode initialize PROTO((int argc, char **argv)); … … 459 496 int liststats_init PROTO((StatType *stats)); 460 497 int liststats_irls PROTO((StatDataSet *dataset, int Npoints, StatType *stats)); 498 int liststats_fit1d PROTO((double *value, double *err, double *x, int Npts, StatType *stats, double *dk)); 499 500 unsigned int *ReadTGroupFile PROTO((FILE *f, int *nelem)); 501 void loadTGroups PROTO((char *filename)); 502 void initTGroupsMcal PROTO((void)); 503 TGroup *getTGroupForImage PROTO((off_t im)); 504 off_t findTGroup PROTO((unsigned int start, int photcode)); 461 505 462 506 Catalog *load_catalogs PROTO((SkyList *skylist, int *Ncatalog, int hostID, char *hostpath, char *syncfile)); … … 470 514 void matchImage PROTO((Catalog *catalog, off_t meas, int cat, int doImageList)); 471 515 void matchMosaics PROTO((Catalog *catalog, off_t meas, int cat, int doMosaicList)); 516 void matchTGroups PROTO((Catalog *catalog, off_t meas, int cat)); 517 472 518 double opening_angle PROTO((double x1, double y1, double x2, double y2, double x3, double y3)); 473 519 void plot_chisq PROTO((Catalog *catalog, int Ncatalog)); … … 491 537 int setExclusions PROTO((Catalog *catalog, int Ncatalog, int verbose)); 492 538 void setMcal PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr)); 493 void setMcalFinal PROTO((void)); 539 void setMcalFromMosaics PROTO((void)); 540 void setMcalFromTGroups PROTO((void)); 494 541 int setMcalOutput PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr)); 495 542 void setMgrid PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr)); 496 543 int setMmos PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr)); 544 int setMgrp PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr)); 497 545 int setMrel PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr)); 498 546 void setMrelFinal PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr, int simpleAverage)); … … 677 725 void RepairWarpMeasuresOpenLogfile (); 678 726 void RepairWarpMeasuresCloseLogfile (); 727 728 int save_images_backup (FITS_DB *db);
Note:
See TracChangeset
for help on using the changeset viewer.
