IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 2, 2009, 3:12:47 PM (17 years ago)
Author:
eugene
Message:

check in changes from gene@development branch : extensive changes to moments calculation, psf model generation, aperture residuals; improvements to extended source analysis

Location:
trunk/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src

    • Property svn:ignore
      •  

        old new  
        1818psphotVersionDefinitions.h
        1919psphotMomentsStudy
         20psphotPetrosianStudy
  • trunk/psphot/src/psphotFitSourcesLinear.c

    r25383 r25755  
    7676            if (source->tmpFlags & PM_SOURCE_TMPF_SUBTRACTED) continue;
    7777        } else {
    78             if (source->mode & PM_SOURCE_MODE_BLEND) continue;
     78            // if (source->mode & PM_SOURCE_MODE_BLEND) continue;
    7979        }
    8080
     
    186186    if (SKY_FIT_LINEAR) {
    187187        psSparseBorderSolve (&norm, &skyfit, constraint, border, 5);
    188         fprintf (stderr, "skyfit: %f\n", skyfit->data.F32[0]);
     188        psLogMsg ("psphot", PS_LOG_MINUTIA, "skyfit: %f\n", skyfit->data.F32[0]);
    189189    } else {
    190190        norm = psSparseSolve (NULL, constraint, sparse, 5);
     
    215215        // subtract object
    216216        pmSourceSub (source, PM_MODEL_OP_FULL, maskVal);
    217         source->tmpFlags |= PM_SOURCE_TMPF_SUBTRACTED;
    218217    }
    219218    psLogMsg ("psphot.ensemble", PS_LOG_MINUTIA, "sub models: %f sec (%d elements)\n", psTimerMark ("psphot.linear"), sparse->Nelem);
     
    239238
    240239    psphotVisualShowResidualImage (readout);
    241     psphotVisualShowFlags (sources);
     240    // psphotVisualShowFlags (sources);
    242241
    243242    return true;
     
    264263        float x = model->params->data.F32[PM_PAR_XPOS];
    265264        float y = model->params->data.F32[PM_PAR_YPOS];
    266         psImageMaskCircle (source->maskView, x, y, model->radiusFit, "AND", PS_NOT_IMAGE_MASK(markVal));
     265        psImageMaskCircle (source->maskView, x, y, model->fitRadius, "AND", PS_NOT_IMAGE_MASK(markVal));
    267266    }
    268267
Note: See TracChangeset for help on using the changeset viewer.