- Timestamp:
- May 21, 2021, 10:03:06 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relphot.20210521/include/relphot.h
r41557 r41603 4 4 # include <signal.h> 5 5 # include <pthread.h> 6 7 /* # define GRID_V1 */8 # define GRID_V29 # define NO_IMAGE -10010 6 11 7 # define ID_SECF_STACK_PRIMARY 0x00004000 … … 99 95 char skipCal; // if TRUE, this mosaic is incomplete and should not be calibrated 100 96 char inTGroup; 101 Coords coords; 97 Coords coords; // this is only used to set the mosaic center for assign_images used by region hosts 102 98 } Mosaic; 103 99 … … 413 409 int MOSAIC_ZEROPT; 414 410 int TGROUP_ZEROPT; 411 int GRID_ZEROPT; 415 412 416 413 int FREEZE_IMAGES; … … 424 421 int MANUAL_ITERATION; 425 422 int NLOOP; 426 int NGRID;427 423 int RESET; 428 424 int RESET_ZEROPTS; … … 444 440 int IMAGE_BAD; 445 441 int CALIBRATE_STACKS_AND_WARPS; 446 int USE_GRID; 442 447 443 int KEEP_UBERCAL; 448 444 char *OUTROOT; … … 457 453 char *PhotcodeList; 458 454 459 int RELPHOT_GRID_X;460 int RELPHOT_GRID_Y;461 int RELPHOT_GRID_BINNING;462 463 455 int *photseclist; 464 456 int Nphotcodes; … … 489 481 SkyRegion UserPatch; 490 482 char *UserCatalog; 483 484 enum {GRID_ZPT_MODE_NONE, GRID_ZPT_MODE_ALL, }; 485 int GRID_ZPT_MODE; 491 486 492 487 enum {TGROUP_ZPT_MODE_NONE, TGROUP_ZPT_MODE_GOOD_NIGHT, TGROUP_ZPT_MODE_ALL, }; … … 549 544 int SetSignals (void); 550 545 551 void freeGridBins PROTO(( int Ncatalog));546 void freeGridBins PROTO((void)); 552 547 void freeImageBins PROTO((int Ncatalog, int doImageList)); 553 548 void freeMosaicBins PROTO((int Ncatalog, int doMosaicList)); … … 561 556 float getMcal PROTO((off_t meas, int cat, dvoMagClassType class)); 562 557 float getMflat PROTO((off_t meas, int cat, FlatCorrectionTable *flatcorr, Catalog *catalog)); 563 float getMgrid PROTO((off_t meas, int cat)); 558 float getMgridTiny PROTO((MeasureTiny *measure)); 559 float getMgrid PROTO((Measure *measure)); 564 560 float getMmos PROTO((off_t meas, int cat)); 565 561 float getMgrp PROTO((off_t meas, int cat, float airmass, float *dZpt)); … … 571 567 ImageSubset *getimages_subset PROTO((off_t *N)); 572 568 void global_stats PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr, int nloop)); 573 void initGrid PROTO(( int dX, int dY));574 void initGridBins PROTO(( Catalog *catalog, int Ncatalog));569 void initGrid PROTO(()); 570 void initGridBins PROTO(()); 575 571 void initImageBins PROTO((Catalog *catalog, int Ncatalog, int doImageList)); 576 572 void initImagesSubset PROTO((ImageSubset *input, off_t *line_number, off_t N)); 577 573 void initImages PROTO((Image *input, off_t *LineNumber, off_t N)); 578 574 void initMosaicBins PROTO((Catalog *catalog, int Ncatalog, int doMosaicList)); 579 void initMosaic GridPROTO((Image *image, off_t Nimage));575 void initMosaicMcal PROTO((Image *image, off_t Nimage)); 580 576 void initMosaics PROTO((Image *subset, off_t Nsubset, Image *image, char *inSubset, off_t Nimage)); 581 577 void initTGroups PROTO((Image *subset, off_t Nsubset)); … … 621 617 void plot_chisq PROTO((Catalog *catalog, int Ncatalog)); 622 618 void plot_defaults PROTO((Graphdata *graphdata)); 623 void plot_grid PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr));624 619 void plot_images PROTO((void)); 625 620 void plot_list PROTO((Graphdata *graphdata, double *xlist, double *ylist, int N, char *label, char *format, ...) OHANA_FORMAT(printf, 6, 7) ); … … 639 634 int reload_images PROTO((FITS_DB *db)); 640 635 int setExclusions PROTO((Catalog *catalog, int Ncatalog, int verbose)); 641 void setMgrid PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr)); 636 void setMgrid PROTO((Catalog *catalog, int Ncatalog)); 637 void resetMgrid PROTO((void)); 638 642 639 void setMcalFromMosaics PROTO((void)); 643 640 void setMcalFromTGroups PROTO((void));
Note:
See TracChangeset
for help on using the changeset viewer.
