IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35844


Ignore:
Timestamp:
Jul 18, 2013, 2:20:25 PM (13 years ago)
Author:
eugene
Message:

set psphot options for DIFF imaging with the new conv criteria; count deblended satstars

Location:
branches/eam_branches/ipp-20130711/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130711/psphot/src/psphotDeblendSatstars.c

    r34708 r35844  
    128128    // int display = psphotKapaChannel (1);
    129129    // psphotVisualScaleImage (display, (psImage *) source->pixels->parent, NULL, "image", 1.0, 0);
     130
     131    int Nsatstar = 0;
    130132
    131133    // examine sources in decreasing SN order
     
    179181        source->mode2 |= PM_SOURCE_MODE2_SATSTAR_PROFILE; // and we have in fact subtracted the profile
    180182
     183        Nsatstar ++;
     184
    181185        // XXX visualize, model, and subtract
    182186        // if (!psphotVisualRadialProfileSatstar (source, maskVal)) {
     
    192196    psFree (index);
    193197
    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"));
    195199    return true;
    196200}
  • branches/eam_branches/ipp-20130711/psphot/src/psphotExtendedSourceFits.c

    r35769 r35844  
    521521                  psFree (source->modelFlux);
    522522                  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
    523527                  modelFit = psphotFitEXT (modelFit, readout, source, fitOptions, modelType, maskVal, markVal);
    524528                  if (!modelFit) {
     
    544548                      float Ymax = PAR[PM_PAR_YPOS] + 0.5*PAR[PM_PAR_LENGTH]*cos(PAR[PM_PAR_THETA]);
    545549
    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)) {
    549551                          fprintf (stderr, "src vs fit : %d %d - %d %d | %f %f - %f %f\n",
    550552                                   source->pixels->col0, source->pixels->row0,
Note: See TracChangeset for help on using the changeset viewer.