Changeset 35400
- Timestamp:
- Apr 15, 2013, 5:01:13 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ppStack/src/ppStackPrepare.c (modified) (6 diffs)
-
psLib/src/math/psMixtureModels.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackPrepare.c
r35394 r35400 1 1 # include "ppStack.h" 2 3 4 // Option to use the old FWHM rejection code. 5 # define NEW_REJECTION 6 // #define OLD_REJECTION 7 2 8 3 9 # define RE_PHOTOMETER 0 … … 293 299 psLogMsg("ppStack", PS_LOG_INFO, "PSF FWHM for image %d is too large (%f vs %f maxFWHM) --- rejected.", i, options->inputSeeing->data.F32[i], maxFWHM); 294 300 } 301 // End old rejection fixed limit. 295 302 #endif 296 303 psStringAppend(&log, "Input %d: %f\n", i, options->inputSeeing->data.F32[i]); … … 301 308 psFree(log); 302 309 310 #ifdef NEW_REJECTION 303 311 // Do GMM test with two modes to decide where to put the break. 304 312 double Punimodal; … … 324 332 return(false); 325 333 } 326 fprintf(stderr,"means: %g %g\n",means->data.F32[0],means->data.F32[1]);327 fprintf(stderr,"sigma: %g %g \n",S->data.F32[0],S->data.F32[1]);328 329 fprintf(stderr,"pi: %g %g\n",pi->data.F32[0],pi->data.F32[1]);334 // fprintf(stderr,"means: %g %g\n",means->data.F32[0],means->data.F32[1]); 335 // fprintf(stderr,"sigma: %g %g \n",S->data.F32[0],S->data.F32[1]); 336 337 // fprintf(stderr,"pi: %g %g\n",pi->data.F32[0],pi->data.F32[1]); 330 338 331 339 // unwrittenGMMfunction(options->inputSeeing, options->inputMask, 0xff, … … 364 372 psFree(pi); 365 373 psFree(P); 374 // End new rejection code 375 #endif 366 376 367 377 #ifdef OLD_REJECTION … … 389 399 } 390 400 } 401 // End old rejection sigma clip 391 402 #endif 392 403 // Generate target PSF -
trunk/psLib/src/math/psMixtureModels.c
r35394 r35400 42 42 43 43 44 #define TESTING44 // #define TESTING 45 45 ///////////////////////////////////////////////////////////////////////////////// 46 46 // Internal functions //
Note:
See TracChangeset
for help on using the changeset viewer.
