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/ppStackMatch.c

    r26218 r26454  
    344344                                                       footprint); // Filtered list of sources
    345345
     346            bool oldThreads = pmReadoutFakeThreads(true); // Old threading state
    346347            if (!pmReadoutFakeFromSources(fake, readout->image->numCols, readout->image->numRows,
    347348                                          stampSources, SOURCE_MASK, NULL, NULL, options->psf,
     
    353354                return false;
    354355            }
     356            pmReadoutFakeThreads(oldThreads);
    355357
    356358            fake->mask = psImageCopy(NULL, readout->mask, PS_TYPE_IMAGE_MASK);
Note: See TracChangeset for help on using the changeset viewer.