Changeset 16832
- Timestamp:
- Mar 5, 2008, 11:48:41 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmPSFEnvelope.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmPSFEnvelope.c
r16714 r16832 32 32 33 33 //#define TESTING // Enable test output 34 #define PEAK_FLUX 1.0e 3// Peak flux for each source34 #define PEAK_FLUX 1.0e4 // Peak flux for each source 35 35 #define SKY_VALUE 0.0e0 // Sky value for fake image 36 #define WEIGHT_VAL 1.0e 0// Weighting for image36 #define WEIGHT_VAL 1.0e-3 // Weighting for image 37 37 #define PSF_STATS PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV // Statistics options for measuring PSF 38 38 … … 199 199 psFree(envelope); 200 200 201 readout->weight = (psImage*)psBinaryOp(NULL, readout->image, "+", psScalarAlloc(1.0, PS_TYPE_F32)); 201 // XXX This seems the best way to set the weight image so that pixels aren't rejected as "insignificant" 202 readout->weight = (psImage*)psBinaryOp(NULL, readout->image, "*", readout->image); 202 203 readout->mask = psImageAlloc(numCols, numRows, PS_TYPE_MASK); 203 204 psImageInit(readout->mask, 0);
Note:
See TracChangeset
for help on using the changeset viewer.
