IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 17, 2009, 9:43:45 AM (16 years ago)
Author:
eugene
Message:

The new code which generates unconvolved and convolved stacks broke
the ability to run PR-style images without convolutions AND without
input psf models from pswarp. The zero point matching code also
requires input sources, and it had become mandatory. To fix this, I
have made the following modifications:

1) add an option to avoid matching zero points (MATCH.ZERO.POINTS)

2) do not activate the pmFPAfile PPSTACK.CONv.KERNEL unless
CONVOLVE is true

3) do not attempt to load the sources unless CONVOLVE, PHOT, or
MATCH.ZERO.POINTS is true.

4) the call of pmStackCombine ppStackReadout needs to test for the
existence of the rejected sources.

This check-in also includes again the pmReadoutFake threading which
had caused errors (problem was in pmSourceGroups.c)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackSources.c

    r26076 r26454  
    6161    PS_ASSERT_PTR_NON_NULL(config, false);
    6262
     63    if (!options->matchZPs) {
     64        int num = psMetadataLookupS32(NULL, config->arguments, "INPUTS.NUM"); // Number of inputs
     65        options->norm = psVectorAlloc(num, PS_TYPE_F32);
     66        psVectorInit (options->norm, 0.0);
     67
     68        // XXX do I need to set this?
     69        // options->sumExposure = sumExpTime;
     70
     71        return true;
     72    }
     73
    6374    psArray *sourceLists = options->sourceLists; // Source lists for each input
    6475    psVector *inputMask = options->inputMask; // Mask for inputs
Note: See TracChangeset for help on using the changeset viewer.