- Timestamp:
- Jun 2, 2021, 2:44:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relphot.20210521/src/ZeroPointModes.c
r41625 r41631 104 104 105 105 if (!TGROUP_ZEROPT && MOSAIC_ZEROPT) { 106 if (CurrentLoop < = 4) {106 if (CurrentLoop < 6) { 107 107 TGROUP_ZPT_MODE = TGROUP_ZPT_MODE_NONE; 108 108 MOSAIC_ZPT_MODE = MOSAIC_ZPT_MODE_ALL; 109 109 IMAGE_ZPT_MODE = IMAGE_ZPT_MODE_NONE; 110 110 } 111 if ((CurrentLoop > 4) && (CurrentLoop <= 999)) {111 if ((CurrentLoop >= 6) && (CurrentLoop < 12)) { 112 112 // after iterating a few times on the Mosaic zero points: 113 113 // * identify the good / bad mosaics … … 118 118 clean_mosaics(); // do this on every pass or just sometimes? 119 119 } 120 if ((CurrentLoop >= 12) && (CurrentLoop < 18)) { 121 // after iterating a few times on the Mosaic zero points: 122 // * identify the good / bad mosaics 123 // * fit the images from the bad mosaics 124 TGROUP_ZPT_MODE = TGROUP_ZPT_MODE_NONE; // stop fitting the bad nights 125 MOSAIC_ZPT_MODE = MOSAIC_ZPT_MODE_GOOD_MOSAIC; 126 IMAGE_ZPT_MODE = IMAGE_ZPT_MODE_BAD_MOSAIC; 127 clean_mosaics(); // do this on every pass or just sometimes? 128 clean_images(); // do this on every pass 129 clean_stars(catalog, Ncatalog); // do this on every pass 130 } 131 if ((CurrentLoop >= 18) && (CurrentLoop < 999)) { 132 // after iterating a few times on the Mosaic zero points: 133 // * identify the good / bad mosaics 134 // * fit the images from the bad mosaics 135 TGROUP_ZPT_MODE = TGROUP_ZPT_MODE_NONE; // stop fitting the bad nights 136 MOSAIC_ZPT_MODE = MOSAIC_ZPT_MODE_GOOD_MOSAIC; 137 IMAGE_ZPT_MODE = IMAGE_ZPT_MODE_BAD_MOSAIC; 138 GRID_ZPT_MODE = GRID_ZPT_MODE_ALL; // only fit bad mosaics on bad nights 139 clean_mosaics(); // do this on every pass or just sometimes? 140 clean_images(); // do this on every pass 141 clean_stars(catalog, Ncatalog); // do this on every pass 142 } 120 143 } 121 144
Note:
See TracChangeset
for help on using the changeset viewer.
