Changeset 41462 for trunk/Ohana/src/relphot/include/relphot.h
- Timestamp:
- Jan 4, 2021, 4:33:51 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/relphot/include/relphot.h (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relphot/include/relphot.h
r41453 r41462 84 84 float secz; 85 85 float ubercalDist; 86 unsigned short nFitPhotom; 86 unsigned int nFitPhotom; 87 unsigned int nValPhotom; 87 88 unsigned int flags; 88 89 char skipCal; // if TRUE, this mosaic is incomplete and should not be calibrated 90 char inTGroup; 89 91 Coords coords; 90 92 } Mosaic; … … 97 99 float dMcal; 98 100 float dMsys; 101 float stdev; 99 102 float McalChiSq; 100 unsigned short nFitPhotom; 103 unsigned int nFitPhotom; 104 unsigned int nValPhotom; 101 105 unsigned int flags; 102 106 … … 109 113 off_t *measure; 110 114 off_t *catalog; 115 116 off_t Nmosaic; 117 off_t NMOSAIC; 118 Mosaic **mosaic; // pointer to the mosaic structures 111 119 112 120 void *parent; … … 185 193 int Nlist; // total number of measurements in list (may be more than the number to use) 186 194 int Nbootstrap; // number of bootstrap iterations 195 int MaxIterations; // number of IRLS iterations 187 196 188 197 // input data & parameters: … … 387 396 int VERBOSE2; 388 397 int VERBOSE_IMAGE; 398 389 399 int MOSAIC_ZEROPT; 390 400 int TGROUP_ZEROPT; 401 402 int FREEZE_IMAGES; 403 int FREEZE_MOSAICS; 404 391 405 int TGROUP_FIT_AIRMASS; 392 406 … … 414 428 double IMAGE_GOOD_FRACTION; 415 429 int IMAGE_BAD; 416 int FREEZE_IMAGES;417 int FREEZE_MOSAICS;418 430 int CALIBRATE_STACKS_AND_WARPS; 419 431 int USE_GRID; … … 461 473 SkyRegion UserPatch; 462 474 char *UserCatalog; 475 476 enum {TGROUP_ZPT_MODE_NONE, TGROUP_ZPT_MODE_GOOD_NIGHT, TGROUP_ZPT_MODE_ALL, }; 477 int TGROUP_ZPT_MODE; 478 479 enum {MOSAIC_ZPT_MODE_NONE, MOSAIC_ZPT_MODE_BAD_NIGHT, MOSAIC_ZPT_MODE_GOOD_MOSAIC, MOSAIC_ZPT_MODE_BAD_NIGHT_GOOD_MOSAIC, MOSAIC_ZPT_MODE_ALL, }; 480 int MOSAIC_ZPT_MODE; 481 482 enum {IMAGE_ZPT_MODE_NONE, IMAGE_ZPT_MODE_BAD_NIGHT, IMAGE_ZPT_MODE_BAD_MOSAIC, IMAGE_ZPT_MODE_BAD_NIGHT_BAD_MOSAIC, IMAGE_ZPT_MODE_ALL, }; 483 int IMAGE_ZPT_MODE; 463 484 464 485 int USE_ALL_IMAGES; … … 526 547 float getMgrid PROTO((off_t meas, int cat)); 527 548 float getMmos PROTO((off_t meas, int cat)); 528 float getMgrp PROTO((off_t meas, int cat, float airmass ));549 float getMgrp PROTO((off_t meas, int cat, float airmass, float *dZpt)); 529 550 float getMrel PROTO((Catalog *catalog, off_t meas, int cat, dvoMagClassType class, dvoMagSourceType source)); 530 551 short getUbercalDist PROTO((off_t meas, int cat)); … … 601 622 int reload_images PROTO((FITS_DB *db)); 602 623 int setExclusions PROTO((Catalog *catalog, int Ncatalog, int verbose)); 603 void setM cal PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr));624 void setMgrid PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr)); 604 625 void setMcalFromMosaics PROTO((void)); 605 626 void setMcalFromTGroups PROTO((void)); 606 627 int setMcalOutput PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr)); 607 void setMgrid PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr)); 608 int setMmos PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr)); 609 int setMgrp PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr)); 628 629 void setMcal PROTO((Catalog *catalog, int Nloop, int Poor, FlatCorrectionTable *flatcorr)); 630 int setMmos PROTO((Catalog *catalog, int Nloop, int Poor, FlatCorrectionTable *flatcorr)); 631 int setMgrp PROTO((Catalog *catalog, int Nloop, int Poor, FlatCorrectionTable *flatcorr)); 632 610 633 int setMrel PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr)); 611 634 void setMrelFinal PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr, int simpleAverage)); 612 635 int setMrelOutput PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr)); 636 613 637 int setMave PROTO((Catalog *catalog, int Ncatalog)); 614 638 void set_ZP PROTO((double ZERO)); … … 627 651 StatType statsMosaicX PROTO((Catalog *catalog)); 628 652 StatType statsMosaicdM PROTO((Catalog *catalog)); 653 StatType statsTGroupM PROTO((Catalog *catalog)); 654 StatType statsTGroupX PROTO((Catalog *catalog)); 655 StatType statsTGroupdM PROTO((Catalog *catalog)); 656 629 657 StatType statsStarN PROTO((Catalog *catalog, int Ncatalog, int Nsec, int seccode, FlatCorrectionTable *flatcorr)); 630 658 StatType statsStarS PROTO((Catalog *catalog, int Ncatalog, int Nsec)); … … 795 823 796 824 int save_images_backup (FITS_DB *db); 825 826 void dump_tgroups (Catalog *catalog, int Npass); 827 void dump_catalog (Catalog *catalog, off_t c, int Npass); 828 829 void SetZeroPointModes (int nloop);
Note:
See TracChangeset
for help on using the changeset viewer.
