IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 3, 2013, 2:37:22 PM (13 years ago)
Author:
eugene
Message:

deprecate KiiOpen,KiiClose (now KapaOpen,etc); major rework of psEllipse translations : use common functions pmModelAxesToParams and pmModelParamsToAxes ; use new convergence method in pmPCM_MinimizeChisq; add convergence crerition options to psMinimization; threaded versions of pmPSFtryFitEXT and pmPSFtryFitPSF

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

  • trunk/psModules/src/objects/pmSource.c

    r34403 r35768  
    11451145    bool status;
    11461146    psEllipseShape oldshape;
    1147     psEllipseShape newshape;
    11481147    psEllipseAxes axes;
    11491148
     
    11661165    if (!isfinite(oldI0)) return false;
    11671166
     1167    bool useReff = pmModelUseReff (model->type);
     1168    pmModelParamsToAxes (&axes, PAR[PM_PAR_SXX], PAR[PM_PAR_SXY], PAR[PM_PAR_SYY], useReff);
     1169
    11681170    // increase size and height of source
    1169     axes = psEllipseShapeToAxes (oldshape, 20.0);
    11701171    axes.major *= SIZE;
    11711172    axes.minor *= SIZE;
    1172     newshape = psEllipseAxesToShape (axes);
     1173
     1174    pmModelAxesToParams (&PAR[PM_PAR_SXX], &PAR[PM_PAR_SXY], &PAR[PM_PAR_SYY], axes, useReff);
    11731175    PAR[PM_PAR_I0]  = FACTOR*oldI0;
    1174     PAR[PM_PAR_SXX] = newshape.sx;
    1175     PAR[PM_PAR_SYY] = newshape.sy;
    1176     PAR[PM_PAR_SXY] = newshape.sxy;
    11771176
    11781177    psImage *target = source->variance;
Note: See TracChangeset for help on using the changeset viewer.