IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42708


Ignore:
Timestamp:
Jul 5, 2024, 12:25:46 PM (2 years ago)
Author:
eugene
Message:

adding option to calibrated warps (forced warp photometry) like chips (iterative relative zero points within photcode)

Location:
branches/eam_branches/ipp-20230313/Ohana/src/relphot
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/Ohana/src/relphot/include/relphot.h

    r42696 r42708  
    489489double IMAGE_GOOD_FRACTION;
    490490int    CALIBRATE_STACKS_AND_WARPS;
     491int    CALIBRATE_WARPS_LIKE_CHIPS;
    491492
    492493int    KEEP_UBERCAL;
  • branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/args.c

    r42696 r42708  
    528528  }
    529529
     530  CALIBRATE_WARPS_LIKE_CHIPS = FALSE;
     531  if ((N = get_argument (argc, argv, "-calibrate-warps-like-chips"))) {
     532    remove_argument (N, &argc, argv);
     533    CALIBRATE_WARPS_LIKE_CHIPS = TRUE;
     534  }
     535
    530536  STAGES = STAGE_CHIP | STAGE_WARP | STAGE_STACK;
    531537  if ((N = get_argument (argc, argv, "-skip-chip"))) {
     
    988994  }
    989995
     996  CALIBRATE_WARPS_LIKE_CHIPS = FALSE;
     997  if ((N = get_argument (argc, argv, "-calibrate-warps-like-chips"))) {
     998    remove_argument (N, &argc, argv);
     999    CALIBRATE_WARPS_LIKE_CHIPS = TRUE;
     1000  }
     1001
    9901002  STAGES = STAGE_CHIP | STAGE_WARP | STAGE_STACK;
    9911003  if ((N = get_argument (argc, argv, "-skip-chip"))) {
  • branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/extra.c

    r42696 r42708  
    9191int isGPC1warp (int photcode) {
    9292
     93  if (CALIBRATE_WARPS_LIKE_CHIPS) return FALSE;
     94
    9395  // 11000 : GPC1.g.SkyChip
    9496  // 14100 : SIMTEST.g.SkyChip
  • branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/reload_catalogs.c

    r42112 r42708  
    251251    if (!(STAGES & STAGE_WARP))  { strextend (&command, "-skip-warp"); }
    252252    if (!(STAGES & STAGE_STACK)) { strextend (&command, "-skip-stack"); }
     253    if (CALIBRATE_WARPS_LIKE_CHIPS) { strextend (&command, "-calibrate-warps-like-chips"); }
    253254
    254255    // deprecate
Note: See TracChangeset for help on using the changeset viewer.