IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2010, 3:09:59 PM (16 years ago)
Author:
watersc1
Message:

JPEG work should be done. Transitioning to try to pick up stackAssociation concept in this branch as well.

Location:
branches/czw_branch/20100519
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20100519

  • branches/czw_branch/20100519/ppStack/src/ppStackSources.c

    r27725 r28164  
    7777    PS_ASSERT_VECTOR_SIZE(inputMask, sourceLists->n, false);
    7878
    79 #if defined(TESTING) && 0
     79#if defined(TESTING) && 1
    8080    {
    8181        // Deliberately induce a major transparency difference
    82         psArray *sources = sourceLists->data[1]; // Sources to correct
     82        psArray *sources = sourceLists->data[0]; // Sources to correct
    8383        for (int i = 0; i < sources->n; i++) {
    8484            pmSource *source = sources->data[i]; // Source of interest
     
    283283                }
    284284                psArray *sources = sourceLists->data[i]; // Sources of interest
    285                 float magCorr = zp->data.F32[i] + trans->data.F32[i] - 2.5*log10(options->sumExposure);
     285                float magCorr = zp->data.F32[i] - trans->data.F32[i] - 2.5*log10(options->sumExposure);
    286286                if (zpExpNum == numGoodImages) {
    287287                    // Using measured zero points, so attempt to set target zero point
    288288                    magCorr -= zpTarget;
    289289                }
    290                 options->norm->data.F32[i] = -magCorr;
     290                options->norm->data.F32[i] = magCorr;
    291291                psLogMsg("ppStack", PS_LOG_INFO,
    292292                         "Applying scale correction to image %d: %f mag (%f)\n",
Note: See TracChangeset for help on using the changeset viewer.