IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 4, 2009, 4:52:05 PM (17 years ago)
Author:
Paul Price
Message:

Soften errors, both in the least-squares matrix/vector construction and in the rejection stage. Softening in the rejection stage seems to be very important so that bright stamps aren't rejected (after which the solution can go crazy). Now carrying around a weight image = 1/variance instead of the variance image. This can be softened, saving many divisions in the matrix/vector construction.

File:
1 edited

Legend:

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

    r25101 r26035  
    2424    psArray *flux;                      ///< Fluxes for possible stamps (or NULL)
    2525    int footprint;                      ///< Half-size of stamps
     26    float sysErr;                       ///< Systematic error
    2627} pmSubtractionStampList;
    2728
     
    3132                                                    const psRegion *region, // Region for stamps, or NULL
    3233                                                    int footprint, // Half-size of stamps
    33                                                     float spacing // Rough average spacing between stamps
     34                                                    float spacing, // Rough average spacing between stamps
     35                                                    float sysErr  // Relative systematic error or NAN
    3436    );
    3537
     
    6870    psKernel *image1;                   ///< Reference image postage stamp
    6971    psKernel *image2;                   ///< Input image postage stamp
    70     psKernel *variance;                 ///< Variance image postage stamp, or NULL
     72    psKernel *weight;                   ///< Weight image (1/variance) postage stamp, or NULL
    7173    psArray *convolutions1;             ///< Convolutions of image 1 for each kernel component, or NULL
    7274    psArray *convolutions2;             ///< Convolutions of image 2 for each kernel component, or NULL
     
    9193                                                int footprint, ///< Half-size for stamps
    9294                                                float spacing, ///< Rough spacing for stamps
     95                                                float sysErr,  ///< Relative systematic error in images
    9396                                                pmSubtractionMode mode ///< Mode for subtraction
    9497    );
     
    103106                                               int footprint, ///< Half-size for stamps
    104107                                               float spacing, ///< Rough spacing for stamps
     108                                               float sysErr,  ///< Systematic error in images
    105109                                               pmSubtractionMode mode ///< Mode for subtraction
    106110    );
     
    115119    int footprint,                      ///< Half-size for stamps
    116120    float spacing,                      ///< Rough spacing for stamps
     121    float sysErr,                       ///< Systematic error in images
    117122    pmSubtractionMode mode              ///< Mode for subtraction
    118123    );
     
    127132    int footprint,                      ///< Half-size for stamps
    128133    float spacing,                      ///< Rough spacing for stamps
     134    float sysErr,                       ///< Systematic error in images
    129135    pmSubtractionMode mode              ///< Mode for subtraction
    130136    );
Note: See TracChangeset for help on using the changeset viewer.