- Timestamp:
- Jan 15, 2010, 11:36:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/ppSim/src/ppSimInsertStars.c
r21365 r26613 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.
