Changeset 35844
- Timestamp:
- Jul 18, 2013, 2:20:25 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130711/psphot/src
- Files:
-
- 2 edited
-
psphotDeblendSatstars.c (modified) (3 diffs)
-
psphotExtendedSourceFits.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130711/psphot/src/psphotDeblendSatstars.c
r34708 r35844 128 128 // int display = psphotKapaChannel (1); 129 129 // psphotVisualScaleImage (display, (psImage *) source->pixels->parent, NULL, "image", 1.0, 0); 130 131 int Nsatstar = 0; 130 132 131 133 // examine sources in decreasing SN order … … 179 181 source->mode2 |= PM_SOURCE_MODE2_SATSTAR_PROFILE; // and we have in fact subtracted the profile 180 182 183 Nsatstar ++; 184 181 185 // XXX visualize, model, and subtract 182 186 // if (!psphotVisualRadialProfileSatstar (source, maskVal)) { … … 192 196 psFree (index); 193 197 194 psLogMsg ("psphot", PS_LOG_INFO, "deblend satstar: %f sec\n", psTimerMark ("psphot.deblend.sat"));198 psLogMsg ("psphot", PS_LOG_INFO, "deblend %d satstars: %f sec\n", Nsatstar, psTimerMark ("psphot.deblend.sat")); 195 199 return true; 196 200 } -
branches/eam_branches/ipp-20130711/psphot/src/psphotExtendedSourceFits.c
r35769 r35844 521 521 psFree (source->modelFlux); 522 522 source->modelFlux = NULL; 523 if ((fabs(source->peak->xf - 2572) < 20) && (fabs(source->peak->yf - 5874) < 20)) { 524 fprintf (stderr, "test object\n"); 525 } 526 523 527 modelFit = psphotFitEXT (modelFit, readout, source, fitOptions, modelType, maskVal, markVal); 524 528 if (!modelFit) { … … 544 548 float Ymax = PAR[PM_PAR_YPOS] + 0.5*PAR[PM_PAR_LENGTH]*cos(PAR[PM_PAR_THETA]); 545 549 546 if (false && (source->peak->xf > 1100) && 547 (source->peak->xf < 1400) && 548 (source->peak->yf < 245)) { 550 if ((fabs(source->peak->xf - 2572) < 20) && (fabs(source->peak->yf - 5874) < 20)) { 549 551 fprintf (stderr, "src vs fit : %d %d - %d %d | %f %f - %f %f\n", 550 552 source->pixels->col0, source->pixels->row0,
Note:
See TracChangeset
for help on using the changeset viewer.
