Changeset 36862 for trunk/ppSim/src/ppSimInsertGalaxies.c
- Timestamp:
- Jun 13, 2014, 8:49:28 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/ppSim/src/ppSimInsertGalaxies.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/src/ppSimInsertGalaxies.c
r34261 r36862 154 154 155 155 // XXX let the flux limit be a user-defined number of sky sigmas (not just 1.0) 156 float radius = model-> modelRadius (model->params, 0.1*roughNoise);156 float radius = model->class->modelRadius (model->params, 0.1*roughNoise); 157 157 radius = PS_MAX (radius, 1.0); 158 158 … … 163 163 pmSource *source = pmSourceFromModel (model, readout, radius, PM_SOURCE_TYPE_EXTENDED); 164 164 165 galaxy->flux = model-> modelFlux (model->params);165 galaxy->flux = model->class->modelFlux (model->params); 166 166 167 167 // XXX set the mag & err values (should this be done in pmSourceFromModel?)
Note:
See TracChangeset
for help on using the changeset viewer.
