IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 21, 2011, 10:46:36 AM (15 years ago)
Author:
eugene
Message:

set model flux for sersic-like models using analytical form; use GRID.PEAK for non-sersic like models; galaxy model flux should now be (nearly) exact

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110710/ppSim/src/ppSimInsertStars.c

    r31449 r32159  
    117117        // XXX set the mag & err values (should this be done in pmSourceFromModel?)
    118118        // XXX i should be applying the gain and the correct effective area
    119         psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, 20.0);
     119        psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, 20.0, model->type);
    120120        float Area = 2.0 * M_PI * axes.major * axes.minor;
    121121
Note: See TracChangeset for help on using the changeset viewer.