Changeset 36868 for trunk/ppSim/src
- Timestamp:
- Jun 13, 2014, 11:09:24 AM (12 years ago)
- Location:
- trunk/ppSim/src
- Files:
-
- 2 edited
-
ppSimInsertGalaxies.c (modified) (1 diff)
-
ppSimInsertStars.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/src/ppSimInsertGalaxies.c
r36862 r36868 145 145 axes.minor = galaxy->Rmin; 146 146 axes.theta = galaxy->theta; 147 pmPSF_AxesToModel (PAR, axes, type);147 pmPSF_AxesToModel (PAR, axes, model->class->useReff); 148 148 } 149 149 psF64 Area = 2.0 * M_PI * galaxy->Rmaj * galaxy->Rmin; -
trunk/ppSim/src/ppSimInsertStars.c
r36862 r36868 126 126 // XXX set the mag & err values (should this be done in pmSourceFromModel?) 127 127 // XXX i should be applying the gain and the correct effective area 128 psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, model-> type);128 psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, model->class->useReff); 129 129 float Area = 2.0 * M_PI * axes.major * axes.minor; 130 130
Note:
See TracChangeset
for help on using the changeset viewer.
