- 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/ppSimInsertGalaxies.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ps2-tc3-20130727
- Property svn:mergeinfo changed
-
branches/eam_branches/ps2-tc3-20130727/ppSim/src/ppSimInsertGalaxies.c
r34261 r37403 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; … … 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.
