Changeset 42104
- Timestamp:
- Mar 1, 2022, 10:48:10 AM (4 years ago)
- Location:
- branches/eam_branches/ipp-20211108/Ohana/src/relphot/src
- Files:
-
- 4 edited
-
ResetOps.c (modified) (1 diff)
-
args.c (modified) (1 diff)
-
initialize.c (modified) (1 diff)
-
setMrelFinal.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/Ohana/src/relphot/src/ResetOps.c
r42065 r42104 123 123 124 124 for (off_t i = 0; i < catalog->Naverage; i++) { 125 catalog->average[i].psfQF = NAN; // force recalculation in setMrelCatalog 126 catalog->average[i].psfQFperf = NAN; // force recalculation in setMrelCatalog 127 catalog->average[i].stargal = NAN; // force recalculation in setMrelCatalog 128 catalog->average[i].photFlagsUpper = 0; // reset (will be re-calculated) 129 catalog->average[i].photFlagsLower = 0; // reset (will be re-calculated) 130 catalog->average[i].NwarpOK = 0; // reset (will be re-calculated) 125 if (STAGES & STAGE_CHIP) { 126 catalog->average[i].psfQF = NAN; // force recalculation in setMrelCatalog 127 catalog->average[i].psfQFperf = NAN; // force recalculation in setMrelCatalog 128 catalog->average[i].stargal = NAN; // force recalculation in setMrelCatalog 129 catalog->average[i].photFlagsUpper = 0; // reset (will be re-calculated) 130 catalog->average[i].photFlagsLower = 0; // reset (will be re-calculated) 131 } 132 133 if (STAGES & STAGE_WARP) { 134 catalog->average[i].NwarpOK = 0; // reset (will be re-calculated) 135 } 131 136 132 137 // RESET_FLATCORR independent of RESET? -
branches/eam_branches/ipp-20211108/Ohana/src/relphot/src/args.c
r42073 r42104 609 609 // note: initialize sets PhotcodeList to the full set of average photcodes 610 610 // if the mode is UPDATE_AVERAGES 611 if (argc != 1) relphot_usage();612 break;611 // if (argc != 1) relphot_usage(); 612 // break; 613 613 614 if (argc == 1) break; // if no photcodes are given, use them all? 615 614 616 case UPDATE_IMAGES: 615 617 case PARALLEL_IMAGES: -
branches/eam_branches/ipp-20211108/Ohana/src/relphot/src/initialize.c
r41647 r42104 9 9 if (!mode) exit (2); 10 10 11 // UPDATE_AVERAGES always operates on all photcodes? 12 if (mode == UPDATE_AVERAGES) { 11 // UPDATE_AVERAGES used to always operate on all photcodes 12 // now, if a list of photcodes are given that is used, otherwise 13 // all will be used 14 if (!photcodes) { 13 15 char tmpline1[256]; 14 16 int Ns; -
branches/eam_branches/ipp-20211108/Ohana/src/relphot/src/setMrelFinal.c
r41647 r42104 11 11 int Nsecfilt = GetPhotcodeNsecfilt (); 12 12 13 // this resets values only if -reset is used 13 14 ResetAverageAndMeasure (catalog); 14 15
Note:
See TracChangeset
for help on using the changeset viewer.
