IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2008, 8:10:29 AM (18 years ago)
Author:
Paul Price
Message:

Adding threads to pmSubtractionCalculateEquation and pmSubtractionOrder. More work needs to be done in threading the final convolution.

File:
1 edited

Legend:

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

    r18287 r18962  
    1515#define PM_SUBTRACTION_ANALYSIS_STAMPS_NUM "SUBTRACTION.NUM"// Name of the number of stamps in the analysis MD
    1616#define PM_SUBTRACTION_ANALYSIS_VARFACTOR "SUBTRACTION.VARFACTOR"// Name of variance factor in the analysis MD
     17
    1718
    1819/// Match two images
     
    5152    );
    5253
     54/// Execute a thread job to measure the PSF width ratios
     55bool pmSubtractionOrderThread(const psThreadJob *job ///< Job to execute
     56    );
     57
     58/// Measure the PSF width ratio for a single stamp
     59bool pmSubtractionOrderStamp(psVector *ratios, ///< PSF width ratios
     60                             psVector *mask, ///< Mask for PSF width ratios
     61                             const pmSubtractionStampList *stamps, ///< List of stamps
     62                             const psArray *models, ///< Pre-calculated gaussian models
     63                             const psVector *modelSums, ///< Pre-calculated gaussian model sums
     64                             int index, ///< Index of stamp
     65                             float bg1, ///< Background for image 1
     66                             float bg2  ///< Background for image 2
     67    );
     68
    5369/// Determine which image to convolve
    5470pmSubtractionMode pmSubtractionOrder(pmSubtractionStampList *stamps, ///< Stamps that have been extracted
    55                                      float bg1, float bg2 // Background for each image
     71                                     float bg1, float bg2 ///< Background for each image
    5672    );
    5773
Note: See TracChangeset for help on using the changeset viewer.