IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 17, 2011, 5:07:46 PM (16 years ago)
Author:
eugene
Message:

test chisq improvements from increasing the spatial order and DUAL vs SINGLE1,2; reject stamps on the basis of the chisq vs flux2 model fit (allowing for systematic errors in the fit); track the best fit with the new pmSubtractionQuality structure; split out pmSubtractionConvolveStamps from pmSubtractionCalculateEquation; replace pmSubtractionCalculateDeviations with pmSubtractionCalculateChisqAndMoments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/psModules/src/imcombine/pmSubtraction.h

    r29601 r30288  
    4444} pmSubtractionMasks;
    4545
     46typedef struct {
     47    double score;
     48    pmSubtractionMode mode;
     49    int spatialOrder;
     50    int nGood;
     51    psVector *fluxes;
     52    psVector *chisq;
     53    psVector *moments;
     54    psVector *stampMask;
     55} pmSubtractionQuality;
    4656
    4757/// Number of terms in a polynomial
     
    7080    );
    7181
     82bool pmSubtractionConvolveStamps(pmSubtractionStampList *stamps, pmSubtractionKernels *kernels);
     83
     84bool pmSubtractionConvolveStampThread(psThreadJob *job);
     85
    7286/// Reject stamps
    7387int pmSubtractionRejectStamps(pmSubtractionKernels *kernels, ///< Kernel parameters to update
    7488                              pmSubtractionStampList *stamps, ///< Stamps
    75                               const psVector *deviations, ///< Deviations for each stamp
     89                              pmSubtractionQuality *match, ///< data on the subtraction quality
    7690                              psImage *subMask, ///< Subtraction mask
    7791                              float sigmaRej ///< Number of RMS deviations above zero at which to reject
     
    167181bool pmSubtractionSetFWHMs(float fwhm1, float fwhm2);
    168182
     183pmSubtractionQuality *pmSubtractionQualityAlloc();
     184
    169185/// @}
    170186#endif
Note: See TracChangeset for help on using the changeset viewer.