IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2007, 2:08:27 PM (19 years ago)
Author:
Paul Price
Message:

Reworking APIs to be a bit more practical.

File:
1 edited

Legend:

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

    r14513 r14514  
    1818typedef struct {
    1919    float x, y;                         ///< Position
     20    float flux;                         ///< Flux
    2021    float xNorm, yNorm;                 ///< Normalised position
    2122    psKernel *reference;                ///< Reference image postage stamp
     
    3940psArray *pmSubtractionSetStamps(const psVector *x, ///< x coordinates for each stamp
    4041                                const psVector *y, ///< y coordinates for each stamp
     42                                const psVector *flux, ///< Flux for each stamp, or NULL
    4143                                const psImage *mask, ///< Mask, or NULL
    4244                                const psRegion *region ///< Region in which to search for stamps, or NULL
     
    5355
    5456/// Generate target for stamps based on list
    55 psArray *pmSubtractionGenerateStamps(const psVector *x, ///< x coordinates for each stamp
    56                                      const psVector *y, ///< y coordinates for each stamp
    57                                      const psVector *flux, ///< Flux for each stamp
    58                                      float sigma, ///< Gaussian width for each stamp
    59                                      int footprint, ///< Stamp footprint size
    60                                      const pmSubtractionKernels *kernels ///< Kernel basis functions
     57bool pmSubtractionGenerateStamps(psArray *stamps, ///< Stamps
     58                                 float sigma, ///< Gaussian width for each stamp
     59                                 int footprint, ///< Stamp footprint size
     60                                 const pmSubtractionKernels *kernels ///< Kernel basis functions
    6161    );
    6262
Note: See TracChangeset for help on using the changeset viewer.