- Timestamp:
- Sep 19, 2014, 4:05:27 PM (12 years ago)
- Location:
- branches/eam_branches/ps2-tc3-20130727
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSim/src/ppSimInsertStars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ps2-tc3-20130727
- Property svn:mergeinfo changed
-
branches/eam_branches/ps2-tc3-20130727/ppSim/src/ppSimInsertStars.c
r36680 r37403 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.
