Changeset 18346 for trunk/ppStack/src/ppStackMatch.c
- Timestamp:
- Jun 27, 2008, 12:05:30 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackMatch.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackMatch.c
r18293 r18346 16 16 17 17 bool ppStackMatch(pmReadout *readout, psArray **regions, psArray **kernels, 18 const p mReadout *sourcesRO, const pmPSF *psf, psRandom *rng, const pmConfig *config)18 const psArray *sources, const pmPSF *psf, psRandom *rng, const pmConfig *config) 19 19 { 20 20 assert(readout); … … 46 46 if (psMetadataLookupBool(&mdok, config->arguments, "HAVE.PSF")) { 47 47 assert(psf); 48 assert(sources RO);48 assert(sources); 49 49 50 50 int order = psMetadataLookupS32(NULL, recipe, "SPATIAL.ORDER"); // Spatial polynomial order … … 80 80 } 81 81 82 psArray *sources = NULL; // Sources in image83 if (sourcesRO) {84 sources = psMetadataLookupPtr(&mdok, sourcesRO->analysis, "PSPHOT.SOURCES");85 }86 87 82 // Generate a fake image to match to 88 83 float maxMag = -INFINITY; // Maximum magnitude of sources
Note:
See TracChangeset
for help on using the changeset viewer.
