IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 29, 2008, 10:55:06 AM (18 years ago)
Author:
Paul Price
Message:

Don't rely on the input source list to have finite magnitudes (at the moment this is probably due to a mis-scaled weight map in the stacks), but use the image to set the flux of the stamp (which is only used to create the order of use). This provides some degree of flexibility, so that a subtraction can be performed even if the input is not optimal. Also, this way the multiple input methods (CMF, text list) are treated the same.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionStamps.h

    r15809 r20465  
    8686pmSubtractionStampList *pmSubtractionStampsSet(const psVector *x, ///< x coordinates for each stamp
    8787                                               const psVector *y, ///< y coordinates for each stamp
    88                                                const psVector *flux, ///< Flux for each stamp, or NULL
    8988                                               const psImage *image, ///< Image for flux of stamp
    9089                                               const psImage *mask, ///< Mask, or NULL
     
    9897pmSubtractionStampList *pmSubtractionStampsSetFromSources(
    9998    const psArray *sources,             ///< Sources for each stamp
     99    const psImage *image,               ///< Image for flux of stamp
    100100    const psImage *subMask,             ///< Mask, or NULL
    101101    const psRegion *region,             ///< Region to search, or NULL
Note: See TracChangeset for help on using the changeset viewer.