IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 17, 2007, 11:01:59 AM (19 years ago)
Author:
magnier
Message:

substantial cleanups of APIs:

changed pmModelGroup to pmModelClass

dropped the _GetFunctions, and moved the modelClass-specific functions
to functions pointers in the pmModel structure. These are assigned
when the model is allocated, based on the model type. Now, instead of
calling, for example,

modelFunc = pmModelFunc_GetFunctions(model->type)
modelFunc();

you just do:

model->modelFunc()

moved some of the support functions into pmModelUtils and
pmSourceUtils.

changed pmIsFooBar to pmFooBarTest for better api listing.

added functions to evaluate and add/subtract models applying an offset
between the image coordinate frame and the chip frame (required frame
for model parameters)

added function(s) to instatiate a pmModel from a pmPSF based on a
given coordinate and peak flux.

added a function to set the model normalization based on a source flux
value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20070817/psModules/src/objects/Makefile.am

    r14472 r14544  
    77     pmMoments.c \
    88     pmModel.c \
    9      pmModelGroup.c \
     9     pmModelClass.c \
     10     pmModelUtils.c \
    1011     pmSource.c \
     12     pmSourceUtils.c \
    1113     pmSourceSky.c \
    1214     pmSourceContour.c \
     
    3133
    3234EXTRA_DIST = \
    33         models/pmModel_GAUSS.c \
    34         models/pmModel_PGAUSS.c \
    35         models/pmModel_QGAUSS.c \
    36         models/pmModel_SGAUSS.c \
    37         models/pmModel_RGAUSS.c \
    38         models/pmModel_SERSIC.c
     35     models/pmModel_GAUSS.c \
     36     models/pmModel_PGAUSS.c \
     37     models/pmModel_QGAUSS.c \
     38     models/pmModel_SGAUSS.c \
     39     models/pmModel_RGAUSS.c \
     40     models/pmModel_SERSIC.c
    3941
    4042pkginclude_HEADERS = \
     
    4244     pmMoments.h \
    4345     pmModel.h \
    44      pmModelGroup.h \
     46     pmModelClass.h \
     47     pmModelUtils.h \
    4548     pmSource.h \
     49     pmSourceUtils.h \
    4650     pmSourceSky.h \
    4751     pmSourceContour.h \
Note: See TracChangeset for help on using the changeset viewer.