- Timestamp:
- Jul 17, 2014, 12:30:45 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-ops-20130712/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-ops-20130712/psphot
- Property svn:mergeinfo deleted
-
branches/eam_branches/ipp-ops-20130712/psphot/src
- Property svn:ignore
-
old new 24 24 psphotModelTest 25 25 psphotMinimal 26 psphotFullForce 27 psmakecff 28 psphotFullForceSummary
-
- Property svn:mergeinfo deleted
- Property svn:ignore
-
branches/eam_branches/ipp-ops-20130712/psphot/src/psphotRadiusChecks.c
r32348 r37066 60 60 if (radiusFit <= 0) { // use fixed radius 61 61 if (moments == NULL) { 62 radiusFit = model-> modelRadius(model->params, PSF_FIT_NSIGMA*moments->dSky);62 radiusFit = model->class->modelRadius(model->params, PSF_FIT_NSIGMA*moments->dSky); 63 63 } else { 64 radiusFit = model-> modelRadius(model->params, 1.0);64 radiusFit = model->class->modelRadius(model->params, 1.0); 65 65 } 66 66 model->fitRadius = (RADIUS_TYPE)(radiusFit + PSF_FIT_PADDING); … … 95 95 if (radiusFit <= 0) { // use fixed radius 96 96 if (moments == NULL) { 97 radiusFit = model-> modelRadius(model->params, PSF_FIT_NSIGMA*moments->dSky);97 radiusFit = model->class->modelRadius(model->params, PSF_FIT_NSIGMA*moments->dSky); 98 98 } else { 99 radiusFit = model-> modelRadius(model->params, 1.0);99 radiusFit = model->class->modelRadius(model->params, 1.0); 100 100 } 101 101 model->fitRadius = (RADIUS_TYPE)(radiusFit + PSF_FIT_PADDING); … … 171 171 # undef MIN_WINDOW 172 172 173 // XXX EAM : 20130724 : for a test, double the window size parameters 174 // # define MIN_WINDOW 10.0 175 // # define SCALE1 7.0 173 176 # define MIN_WINDOW 5.0 174 # define SCALE1 5.0177 # define SCALE1 3.0 175 178 # define PAD_WINDOW 3.0 176 179 … … 291 294 float flux = deep ? EXT_FIT_NSIGMA*EXT_FIT_SKY_SIG : 0.1 * model->params->data.F32[PM_PAR_I0]; 292 295 293 float rawRadius = model-> modelRadius (model->params, flux);296 float rawRadius = model->class->modelRadius (model->params, flux); 294 297 if (isnan(rawRadius)) return false; 295 298
Note:
See TracChangeset
for help on using the changeset viewer.
