Changeset 37791
- Timestamp:
- Jan 10, 2015, 7:52:49 AM (12 years ago)
- File:
-
- 1 edited
-
tags/ipp-20141224/psphot/src/psphotGalaxyParams.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20141224/psphot/src/psphotGalaxyParams.c
r37776 r37791 105 105 106 106 psImage *footprintImage = NULL; 107 #if defUSE_FOOTPRINTS107 #if USE_FOOTPRINTS 108 108 footprintImage = psImageAlloc(readout->image->numCols, readout->image->numRows, PS_TYPE_S32); 109 109 psImageInit(footprintImage, 0); … … 246 246 psMetadata *recipe = job->args->data[3]; 247 247 248 #if ndef USE_FOOTPRINTS248 #if (!USE_FOOTPRINTS) 249 249 float skynoise = PS_SCALAR_VALUE(job->args->data[4],F32); 250 250 #endif … … 262 262 // don't try and use bad models 263 263 pmModelStatus badModel = PM_MODEL_STATUS_NONE; 264 badModel |= PM_MODEL_STATUS_NONCONVERGE; 264 // badModel |= PM_MODEL_STATUS_NONCONVERGE; this causes most objects to get unmeasured 265 265 badModel |= PM_MODEL_STATUS_BADARGS; 266 266 badModel |= PM_MODEL_STATUS_OFFIMAGE; … … 418 418 #endif 419 419 420 #if def USE_FOOTPRINTS420 #if (USE_FOOTPRINTS) 421 421 psS32 **vFootprint = footprintImage->data.S32; 422 422 #else … … 451 451 } 452 452 453 #if def USE_FOOTPRINTS453 #if (USE_FOOTPRINTS) 454 454 // this is a pixel in the object 455 455 if (vFootprint[yImage][xImage] == source->peak->footprint->id) { … … 477 477 if (isnan(mirrorPixel)) continue; 478 478 479 #if def USE_FOOTPRINTS479 #if (USE_FOOTPRINTS) 480 480 if (vFootprint[yFlip + row0][xFlip + col0] == 0) { 481 481 #else … … 602 602 source->extpars->gS2 = source->extpars->gRT + source->extpars->gRA; 603 603 604 #if def PRINT_STUFF604 #if (PRINT_STUFF) 605 605 if (Ngood % 40 == 1) { 606 606 fprintf (stderr, " id sumI rHL rad sumI gRT gRA sumRt sumBt numPixels numBGPixels\n");
Note:
See TracChangeset
for help on using the changeset viewer.
