- Timestamp:
- May 21, 2021, 10:03:06 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relphot.20210521/src/ZeroPointModes.c
r41598 r41603 49 49 clean_mosaics(); // do this on every pass 50 50 } 51 if ((CurrentLoop >= 18) && (CurrentLoop < = 999)) {51 if ((CurrentLoop >= 18) && (CurrentLoop < 21)) { 52 52 // after iterating a few times on the TGroup & Mosaic zero points: 53 53 // * identify the good / bad Mosaics … … 60 60 clean_images(); // do this on every pass 61 61 } 62 if ((CurrentLoop >= 21) && (CurrentLoop <= 999)) { 63 // after iterating a few times on the TGroup & Mosaic zero points: 64 // * identify the good / bad Mosaics 65 // * fit the chips from the bad Mosaics 66 TGROUP_ZPT_MODE = TGROUP_ZPT_MODE_GOOD_NIGHT; // stop fitting the bad nights 67 MOSAIC_ZPT_MODE = MOSAIC_ZPT_MODE_BAD_NIGHT_GOOD_MOSAIC; // only fit good mosaics on bad nights 68 IMAGE_ZPT_MODE = IMAGE_ZPT_MODE_BAD_NIGHT_BAD_MOSAIC; // only fit bad mosaics on bad nights 69 GRID_ZPT_MODE = GRID_ZPT_MODE_ALL; // only fit bad mosaics on bad nights 70 clean_tgroups(); // do this on every pass 71 clean_mosaics(); // do this on every pass 72 clean_images(); // do this on every pass 73 } 62 74 } 63 75 … … 68 80 MOSAIC_ZPT_MODE = MOSAIC_ZPT_MODE_NONE; 69 81 } 70 if ((CurrentLoop > 4) && (CurrentLoop <= 999)) {82 if ((CurrentLoop > 4) && (CurrentLoop <= 8)) { 71 83 // after iterating a few times on the TGroup zero points: 72 84 // * identify the photometric nights … … 75 87 MOSAIC_ZPT_MODE = MOSAIC_ZPT_MODE_NONE; 76 88 IMAGE_ZPT_MODE = IMAGE_ZPT_MODE_BAD_NIGHT; 89 clean_tgroups(); // do this on every pass or just sometimes? 90 } 91 if ((CurrentLoop > 8) && (CurrentLoop <= 999)) { 92 // after iterating a few times on the TGroup zero points: 93 // * identify the photometric nights 94 // * fit the images from the non-photometric nights 95 TGROUP_ZPT_MODE = TGROUP_ZPT_MODE_GOOD_NIGHT; // stop fitting the bad nights 96 MOSAIC_ZPT_MODE = MOSAIC_ZPT_MODE_NONE; 97 IMAGE_ZPT_MODE = IMAGE_ZPT_MODE_BAD_NIGHT; 98 GRID_ZPT_MODE = GRID_ZPT_MODE_ALL; // only fit bad mosaics on bad nights 77 99 clean_tgroups(); // do this on every pass or just sometimes? 78 100 }
Note:
See TracChangeset
for help on using the changeset viewer.
