Changeset 42740
- Timestamp:
- Dec 6, 2024, 12:17:18 PM (20 months ago)
- Location:
- branches/eam_branches/ipp-20230313/Ohana/src/relphot
- Files:
-
- 4 edited
-
include/relphot.h (modified) (1 diff)
-
src/args.c (modified) (2 diffs)
-
src/extra.c (modified) (1 diff)
-
src/reload_catalogs.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/Ohana/src/relphot/include/relphot.h
r42708 r42740 490 490 int CALIBRATE_STACKS_AND_WARPS; 491 491 int CALIBRATE_WARPS_LIKE_CHIPS; 492 int CALIBRATE_STACKS_LIKE_CHIPS; 492 493 493 494 int KEEP_UBERCAL; -
branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/args.c
r42708 r42740 528 528 } 529 529 530 /* Normally, stacks and warps are treated differently from chips. In this case, 531 WHAT IS DIFFERENT? 532 */ 533 530 534 CALIBRATE_WARPS_LIKE_CHIPS = FALSE; 531 535 if ((N = get_argument (argc, argv, "-calibrate-warps-like-chips"))) { 532 536 remove_argument (N, &argc, argv); 533 537 CALIBRATE_WARPS_LIKE_CHIPS = TRUE; 538 } 539 CALIBRATE_STACKS_LIKE_CHIPS = FALSE; 540 if ((N = get_argument (argc, argv, "-calibrate-stacks-like-chips"))) { 541 remove_argument (N, &argc, argv); 542 CALIBRATE_STACKS_LIKE_CHIPS = TRUE; 534 543 } 535 544 … … 999 1008 CALIBRATE_WARPS_LIKE_CHIPS = TRUE; 1000 1009 } 1010 CALIBRATE_STACKS_LIKE_CHIPS = FALSE; 1011 if ((N = get_argument (argc, argv, "-calibrate-stacks-like-chips"))) { 1012 remove_argument (N, &argc, argv); 1013 CALIBRATE_STACKS_LIKE_CHIPS = TRUE; 1014 } 1001 1015 1002 1016 STAGES = STAGE_CHIP | STAGE_WARP | STAGE_STACK; -
branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/extra.c
r42708 r42740 78 78 // 31000 : GPC2.g.SkyChip 79 79 80 if (CALIBRATE_STACKS_LIKE_CHIPS) return FALSE; 81 80 82 if ((photcode == 11000) || (photcode == 11001) || (photcode == 14100) || (photcode == 31000)) return TRUE; // g-band 81 83 if ((photcode == 11100) || (photcode == 11101) || (photcode == 14200) || (photcode == 31100)) return TRUE; // r-band -
branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/reload_catalogs.c
r42708 r42740 252 252 if (!(STAGES & STAGE_STACK)) { strextend (&command, "-skip-stack"); } 253 253 if (CALIBRATE_WARPS_LIKE_CHIPS) { strextend (&command, "-calibrate-warps-like-chips"); } 254 if (CALIBRATE_STACKS_LIKE_CHIPS) { strextend (&command, "-calibrate-stacks-like-chips"); } 254 255 255 256 // deprecate
Note:
See TracChangeset
for help on using the changeset viewer.
