IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 6, 2007, 3:57:15 PM (18 years ago)
Author:
Paul Price
Message:

Implementing dual-convolution. This required reworking those
functions involved with calculating and solving the equations; moved
these into a separate file and made various other cleanups (e.g.,
assertions for pmSubtractionKernels). Removed the normalisation
(central pixel) term from all kernels, because this shouldn't be in
the second kernel (there's only one normalisation term between the two
kernels); the normalisation is treated explicitly in the equations,
along with the background (still only a constant background is
supported for now, but there's a lot of support for a polynomial
background for when I get around to putting it in the equations).
Tested the single convolution, and it's working; same results as
before, apparently. Haven't tested dual convolution yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmReadoutFake.h

    r15362 r15756  
    66#include <pmFPA.h>
    77
    8 // Generate a fake readout from an array of sources
    9 pmReadout *pmReadoutFakeFromSources(int numCols, int numRows, ///< Dimension of image
    10                                     const psArray *sources, ///< Array of pmSource
    11                                     float fwhm, ///< FWHM for sources
    12                                     float minFlux ///< Minimum flux to bother about; for setting object size
     8#include <pmMoments.h>
     9#include <pmResiduals.h>
     10#include <pmGrowthCurve.h>
     11#include <pmTrend2D.h>
     12#include <pmPSF.h>
     13
     14
     15/// Generate a fake readout from an array of sources
     16bool pmReadoutFakeFromSources(pmReadout *readout, ///< Output readout, or NULL
     17                              int numCols, int numRows, ///< Dimension of image
     18                              const psArray *sources, ///< Array of pmSource
     19                              const psVector *xOffset, ///< x offsets for sources (source -> img), or NULL
     20                              const psVector *yOffset, ///< y offsets for sources (source -> img), or NULL
     21                              pmPSF *psf, ///< PSF for sources
     22                              float minFlux, ///< Minimum flux to bother about; for setting source radius
     23                              int radius ///< Fixed radius for sources
    1324    );
    1425
    15 
    16 
    17 
    1826#endif
Note: See TracChangeset for help on using the changeset viewer.