IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 27, 2008, 12:05:30 PM (18 years ago)
Author:
Paul Price
Message:

Instead of being dependent upon a single list of sources, want to be able to use all the available information. So One common failure mode in the MOPS processing was that the source list didn't cover the entire skycell, so convolutions didn't succeed. Now we get a source list for each input image and merge these. Still retains (or at least, supposed to) the old way of inputting a single source list on the command line.

File:
1 edited

Legend:

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

    r18293 r18346  
    1616
    1717bool ppStackMatch(pmReadout *readout, psArray **regions, psArray **kernels,
    18                   const pmReadout *sourcesRO, const pmPSF *psf, psRandom *rng, const pmConfig *config)
     18                  const psArray *sources, const pmPSF *psf, psRandom *rng, const pmConfig *config)
    1919{
    2020    assert(readout);
     
    4646    if (psMetadataLookupBool(&mdok, config->arguments, "HAVE.PSF")) {
    4747        assert(psf);
    48         assert(sourcesRO);
     48        assert(sources);
    4949
    5050        int order = psMetadataLookupS32(NULL, recipe, "SPATIAL.ORDER"); // Spatial polynomial order
     
    8080        }
    8181
    82         psArray *sources = NULL;            // Sources in image
    83         if (sourcesRO) {
    84             sources = psMetadataLookupPtr(&mdok, sourcesRO->analysis, "PSPHOT.SOURCES");
    85         }
    86 
    8782        // Generate a fake image to match to
    8883        float maxMag = -INFINITY;           // Maximum magnitude of sources
Note: See TracChangeset for help on using the changeset viewer.