Changeset 26900 for trunk/ppSim/src/ppSimInsertStars.c
- Timestamp:
- Feb 10, 2010, 7:42:33 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppSim/src/ppSimInsertStars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/src/ppSimInsertStars.c
r21365 r26900 26 26 float expTime = psMetadataLookupF32(NULL, recipe, "EXPTIME"); // Exposure time 27 27 float darkRate = psMetadataLookupF32(NULL, recipe, "DARK.RATE"); // Dark rate 28 float nSigmaLim = psMetadataLookupF32(NULL, recipe, "STARS.SIGMA.LIM"); // significance of faintest stars 28 29 29 30 float readnoise = psMetadataLookupF32(NULL, cell->concepts, "CELL.READNOISE");// CCD read noise, e … … 106 107 pmModelSetFlux (model, flux); 107 108 108 // XXX let the flux limit be a user-defined number of sky sigmas (not just 1.0) 109 float radius = model->modelRadius (model->params, roughNoise); 109 float radius = model->modelRadius (model->params, nSigmaLim * roughNoise); 110 110 radius = PS_MAX (radius, 1.0); 111 111
Note:
See TracChangeset
for help on using the changeset viewer.
