- Timestamp:
- May 21, 2021, 2:04:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relphot.20210521/src/relphot_parallel_images.c
r41603 r41606 40 40 initImages (image, NULL, Nimage); 41 41 42 // load the flat correction table (if defined)43 // we no longer need to do this: the flatcorrection is now saved in measure.Mflat44 # if (0)45 char flatcorrfile[256];46 sprintf (flatcorrfile, "%s/flatcorr.fits", CATDIR);47 FlatCorrectionTable *flatcorr = FlatCorrectionLoad (flatcorrfile, VERBOSE);48 # endif49 FlatCorrectionTable *flatcorr = NULL;50 51 42 // UserPatch.Rmin,Rmax may have range from a few degrees < 0.0 to few degrees > 360.0. 52 43 // the following function correctly chooses the sky regions on the 0,360 boundary … … 88 79 setExclusions (catalog, Ncatalog, TRUE); 89 80 90 global_stats (catalog, Ncatalog, flatcorr,0);81 global_stats (catalog, Ncatalog, 0); 91 82 92 83 if (PLOTSTUFF) { … … 101 92 102 93 // set the mean stellar mags given the measurements and the image calibrations 103 setMrel (catalog, Ncatalog , flatcorr);94 setMrel (catalog, Ncatalog); 104 95 105 96 // share mean mags for objects at the boundary (number of unowned meas > 0) … … 112 103 113 104 // set the image (Mcal) and mosaic (Mmos) zero point offsets given the mean mags and measurements 114 setMcal (catalog , flatcorr);115 setMmos (catalog , flatcorr);116 // setMgrp (catalog, FALSE , flatcorr); XXX think this through: this may not make sense for tgroups105 setMcal (catalog); 106 setMmos (catalog); 107 // setMgrp (catalog, FALSE); XXX think this through: this may not make sense for tgroups 117 108 MARKTIME("-- set Mrel, Mcal, Mmos, Mgrid : %f sec\n", dtime); 118 109 … … 124 115 client_logger_message ("slurped image data : loop %d \n", i); 125 116 126 global_stats (catalog, Ncatalog, flatcorr,i);117 global_stats (catalog, Ncatalog, i); 127 118 128 119 SetZeroPointModes ();
Note:
See TracChangeset
for help on using the changeset viewer.
