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/pmSourceIO_SMPDATA.c

    r13139 r14652  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-05-03 00:13:42 $
     5 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-08-24 00:11:02 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3030#include "pmPeaks.h"
    3131#include "pmMoments.h"
     32#include "pmResiduals.h"
    3233#include "pmGrowthCurve.h"
    33 #include "pmResiduals.h"
     34#include "pmPSF.h"
    3435#include "pmModel.h"
    35 #include "pmPSF.h"
    3636#include "pmSource.h"
    37 #include "pmModelGroup.h"
     37#include "pmModelClass.h"
    3838#include "pmSourceIO.h"
    3939
     
    132132
    133133    // define PSF model type
    134     int modelType = pmModelSetType ("PS_MODEL_GAUSS");
     134    int modelType = pmModelClassGetType ("PS_MODEL_GAUSS");
    135135
    136136    char *PSF_NAME = psMetadataLookupStr (&status, header, "PSF_NAME");
    137137    if (PSF_NAME != NULL) {
    138         modelType = pmModelSetType (PSF_NAME);
     138        modelType = pmModelClassGetType (PSF_NAME);
    139139    }
    140140
Note: See TracChangeset for help on using the changeset viewer.