IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2007, 2:11:02 PM (19 years ago)
Author:
magnier
Message:
  • added function pointers to pmModel to provide class-dependent functions
  • dropped pmModel*_GetFunction functions (use pmModel->func functions instead)
  • added modelParamsFromPSF functions to model classes
  • changed pmModelGroup to pmModelClass
  • added pmSourceFitSet.[ch]
  • updated pmSourceFitSet to allow variable model classes
  • added functions to add/sub and eval models & sources with an offset between image and chip
  • added function to set a pmModel flux
  • added function to instatiate a pmModel from a pmPSF at a coordinate
  • moved pmPSF I/O to chip->analysis from readout->analysis
  • changed pmPSF I/O function names from *ForPSFmodel to pmPSFmodel*
  • changed pmModel.params_NEW back to pmModel.params
  • changed pmFind*Peaks to pmPeaksIn* (* = Image,Vector)
  • dropped pmCullPeaks (deprecated)
  • changed pmModelSetType to pmModelClassGetType
  • changed pmModelGetType to pmModelClassGetName
  • fixed PGAUSS implementation of modelRadius function
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSource.h

    r14505 r14652  
    33 * @author EAM, IfA; GLG, MHPCC
    44 *
    5  * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    6  * @date $Date: 2007-08-15 20:21:18 $
     5 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     6 * @date $Date: 2007-08-24 00:11:02 $
    77 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    88 */
     
    5757 *
    5858 */
    59 typedef struct
    60 {
     59struct pmSource {
    6160    const int id;                       ///< Unique ID for object
    6261    pmPeak *peak;                       ///< Description of peak pixel.
     
    8180    psRegion region;                    ///< area on image covered by selected pixels
    8281    float sky, skyErr;                  ///< The sky and its error at the center of the object
    83 }
    84 pmSource;
     82};
    8583
    8684/** pmPSFClump data structure
     
    114112void pmSourceFreePixels(pmSource *source);
    115113
    116 bool pmIsSource(const psPtr ptr);
     114bool pmSourceTest(const psPtr ptr);
    117115
    118116/** pmSourceDefinePixels()
     
    218216bool pmSourceAdd (pmSource *source, pmModelOpMode mode, psMaskType maskVal);
    219217bool pmSourceSub (pmSource *source, pmModelOpMode mode, psMaskType maskVal);
    220 
    221 bool pmSourceOp (pmSource *source, pmModelOpMode mode, bool add, psMaskType maskVal);
     218bool pmSourceAddWithOffset (pmSource *source, pmModelOpMode mode, psMaskType maskVal, int dx, int dy);
     219bool pmSourceSubWithOffset (pmSource *source, pmModelOpMode mode, psMaskType maskVal, int dx, int dy);
     220
     221bool pmSourceOp (pmSource *source, pmModelOpMode mode, bool add, psMaskType maskVal, int dx, int dy);
    222222bool pmSourceCacheModel (pmSource *source, psMaskType maskVal);
    223223bool pmSourceCachePSF (pmSource *source, psMaskType maskVal);
Note: See TracChangeset for help on using the changeset viewer.