- Timestamp:
- Jun 17, 2014, 5:58:38 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140610
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSim/src/ppSimInsertStars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140610
- Property svn:mergeinfo changed
/trunk (added) merged: 36846-36871,36874,36879,36882
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20140610/ppSim/src/ppSimInsertStars.c
r36375 r36884 116 116 // (inserting flux with a variable radius introduces a flux-dependent bias) 117 117 if (radius < 0) { 118 radius = model-> modelRadius (model->params, nSigmaLim * roughNoise);118 radius = model->class->modelRadius (model->params, nSigmaLim * roughNoise); 119 119 radius = PS_MAX (radius, 1.0); 120 120 radius = PS_MIN (radius, 50.0); … … 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.
