IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 24, 2010, 2:49:53 PM (16 years ago)
Author:
eugene
Message:

added apFlux and apFluxErr to pmSource; added AP_FLUX, AP_FLUX_SIG to output in CMF_DV2

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

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/psphot/src/psphotModelTest.c

    r28013 r29230  
    226226    // measure the source mags
    227227    pmSourcePhotometryModel (&fitMag, model);
    228     pmSourcePhotometryAper  (&obsMag, model, source->pixels, source->maskObj, maskVal);
     228    pmSourcePhotometryAper  (&obsMag, NULL, NULL, model, source->pixels, source->variance, source->maskObj, maskVal);
    229229    fprintf (stderr, "ap: %f, fit: %f, apmifit: %f, nIter: %d\n", obsMag, fitMag, obsMag - fitMag, model->nIter);
    230230
  • branches/eam_branches/ipp-20100823/psphot/src/psphotSourceStats.c

    r29004 r29230  
    418418           
    419419            float apMag = NAN;
    420             pmSourcePhotometryAper (&apMag, NULL, source->pixels, source->maskObj, maskVal);
     420            pmSourcePhotometryAper (&apMag, NULL, NULL, NULL, source->pixels, source->variance, source->maskObj, maskVal);
    421421            fprintf (stderr, "apMag: %f, kronMag: %f\n", apMag, -2.5*log10(source->moments->KronFlux));
    422422
Note: See TracChangeset for help on using the changeset viewer.