Changeset 28686
- Timestamp:
- Jul 18, 2010, 2:56:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/psphot/src/psphotFitSourcesLinear.c
r28440 r28686 100 100 if (!status) { 101 101 SKY_FIT_LINEAR = false; 102 } 103 104 float MIN_VALID_FLUX = psMetadataLookupBool(&status, recipe, "PSF_FIT_MIN_VALID_FLUX"); 105 if (!status) { 106 MIN_VALID_FLUX = 1e-8; 107 } 108 float MAX_VALID_FLUX = psMetadataLookupBool(&status, recipe, "PSF_FIT_MAX_VALID_FLUX"); 109 if (!status) { 110 MAX_VALID_FLUX = 1e-8; 102 111 } 103 112 … … 228 237 229 238 psSparseConstraint constraint; 230 constraint.paramMin = 0.0;231 constraint.paramMax = 1e8;232 constraint.paramDelta = 1e 8;239 constraint.paramMin = MIN_VALID_FLUX; 240 constraint.paramMax = MAX_VALID_FLUX; 241 constraint.paramDelta = 1e7; 233 242 234 243 // solve for normalization terms (need include local sky?)
Note:
See TracChangeset
for help on using the changeset viewer.
