- Timestamp:
- Jan 1, 2009, 7:13:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081230/psModules/src/objects/pmPSFtry.c
r21075 r21079 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1.67.4. 1$ $Name: not supported by cvs2svn $8 * @date $Date: 200 8-12-31 20:31:29$7 * @version $Revision: 1.67.4.2 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2009-01-02 05:13:00 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 193 193 // exclude the poor fits 194 194 if (!status) { 195 psfTry->mask->data.PS_TYPE_ IMAGE_MASK_DATA[i] = PSFTRY_MASK_EXT_FAIL;195 psfTry->mask->data.PS_TYPE_VECTOR_MASK_DATA[i] = PSFTRY_MASK_EXT_FAIL; 196 196 psTrace ("psModules.objects", 4, "masking %d (%d,%d) : status is poor\n", i, source->peak->x, source->peak->y); 197 197 continue; … … 283 283 psVector *flux = psVectorAlloc (psfTry->sources->n, PS_TYPE_F32); 284 284 psVector *chisq = psVectorAlloc (psfTry->sources->n, PS_TYPE_F32); 285 psVector *mask = psVectorAlloc (psfTry->sources->n, PS_TYPE_ MASK);285 psVector *mask = psVectorAlloc (psfTry->sources->n, PS_TYPE_VECTOR_MASK); 286 286 287 287 // generate the x and y vectors, and mask missing models … … 303 303 304 304 // linear clipped fit of chisq trend vs flux 305 bool result = psVectorClipFitPolynomial1D(psfTry->psf->ChiTrend, options->stats, mask, 306 0xff, chisq, NULL, flux); 305 bool result = psVectorClipFitPolynomial1D(psfTry->psf->ChiTrend, options->stats, mask, 0xff, chisq, NULL, flux); 307 306 psStatsOptions meanStat = psStatsMeanOption(options->stats->options); // Statistic for mean 308 307 psStatsOptions stdevStat = psStatsStdevOption(options->stats->options); // Statistic for stdev
Note:
See TracChangeset
for help on using the changeset viewer.
