Changeset 25313 for trunk/ppStack/src/ppStackMatch.c
- Timestamp:
- Sep 10, 2009, 11:15:20 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackMatch.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackMatch.c
r25256 r25313 14 14 #define FAKE_SIZE 1 // Size of fake convolution kernel 15 15 #define SOURCE_MASK (PM_SOURCE_MODE_FAIL | PM_SOURCE_MODE_DEFECT | PM_SOURCE_MODE_SATURATED | \ 16 PM_SOURCE_MODE_CR_LIMIT ) // Mask to apply to input sources16 PM_SOURCE_MODE_CR_LIMIT | PM_SOURCE_MODE_EXT_LIMIT) // Mask to apply to input sources 17 17 #define FAINT_SOURCE_FRAC 1.0e-4 // Set minimum flux to this fraction of faintest source flux 18 18 #define COVAR_FRAC 0.01 // Truncation fraction for covariance matrix … … 288 288 289 289 if (!pmReadoutFakeFromSources(fake, readout->image->numCols, readout->image->numRows, 290 stampSources, NULL, NULL, options->psf, NAN, footprint + size,291 false, true)) {290 stampSources, SOURCE_MASK, NULL, NULL, options->psf, 291 NAN, footprint + size, false, true)) { 292 292 psError(PS_ERR_UNKNOWN, false, "Unable to generate fake image with target PSF."); 293 293 psFree(fake);
Note:
See TracChangeset
for help on using the changeset viewer.
