IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2005, 8:44:00 PM (21 years ago)
Author:
eugene
Message:

adding pmObjects stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psModulesUtils.c

    r4946 r4949  
    44
    55// this sets and clears bit 0x80
    6 bool pmSourceLocalSky_EAM (psSource *source,
     6bool pmSourceLocalSky_EAM (pmSource *source,
    77                           psStatsOptions statsOptions,
    88                           psF32 Radius)
     
    3636# define PM_SOURCE_FIT_MODEL_NUM_ITERATIONS 15
    3737# define PM_SOURCE_FIT_MODEL_TOLERANCE 0.1
    38 bool pmSourceFitModel_EAM(psSource *source,
    39                           psModel *model,
    40                           const bool PSF)
     38bool pmSourceFitModel_EAM (pmSource *source,
     39                             pmModel *model,
     40                             const bool PSF)
    4141{
    4242    PS_PTR_CHECK_NULL(source, false);
     
    5555    //           tests below could be conditions (!NULL)
    5656
    57     psModelFunc modelFunc = psModelFunc_GetFunction (model->type);
    58     psModelLimits modelLimits = psModelLimits_GetFunction (model->type);
     57    pmModelFunc modelFunc = pmModelFunc_GetFunction (model->type);
     58    pmModelLimits modelLimits = pmModelLimits_GetFunction (model->type);
    5959
    6060    psVector *params = model->params;
     
    177177/******************************************************************************
    178178pmSourceMoments(source, radius): this function takes a subImage defined in the
    179 psSource data structure, along with the peak location, and determines the
     179pmSource data structure, along with the peak location, and determines the
    180180various moments associated with that peak.
    181181 
    182182Requires the following to have been created:
    183     psSource
    184     psSource->peak
    185     psSource->pixels
     183    pmSource
     184    pmSource->peak
     185    pmSource->pixels
    186186 
    187187XXX: The peak calculations are done in image coords, not subImage coords.
     
    191191# define VALID_RADIUS(X,Y) (((R2) >= (PS_SQR(X) + PS_SQR(Y))) ? 1 : 0)
    192192
    193 bool pmSourceMoments_EAM(psSource *source,
     193bool pmSourceMoments_EAM(pmSource *source,
    194194                         psF32 radius)
    195195{
     
    310310}
    311311
    312 bool pmModelFitStatus (psModel *model) {
     312bool pmModelFitStatus (pmModel *model) {
    313313
    314314    bool status;
    315315
    316     psModelFitStatusFunc statusFunc = psModelFitStatusFunc_GetFunction (model->type);
     316    pmModelFitStatusFunc statusFunc = pmModelFitStatusFunc_GetFunction (model->type);
    317317    status = statusFunc (model);
    318318
Note: See TracChangeset for help on using the changeset viewer.