IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 5, 2017, 5:33:42 PM (9 years ago)
Author:
eugene
Message:

add test option to skip the tweak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroOneChipGrid.c

    r36837 r40084  
    6262    psLogMsg ("psastro", 3, "basic grid search result - offset: %f,%f pixels, rotation: %f deg\n", gridStats->offset.x, gridStats->offset.y, DEG_RAD*gridStats->angle);
    6363
     64# if (1)
    6465    // tweak the position by finding peak of matches stars
    6566    stats = pmAstromGridTweak (rawGridStars, refGridStars, recipe, gridStats);
     
    7374    }
    7475    psLogMsg ("psastro", 3, "tweak grid search result - offset: %f,%f pixels, rotation: %f deg\n", stats->offset.x, stats->offset.y, DEG_RAD*stats->angle);
     76# else
     77    // EAM TEST: skip tweak
     78    stats = pmAstromStatsAlloc();
     79   *stats = *gridStats;
     80# endif
    7581
    7682    // adjust the chip.toFPA terms only
Note: See TracChangeset for help on using the changeset viewer.