IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 2, 2010, 11:32:52 AM (16 years ago)
Author:
eugene
Message:

updates to psphotVisual mandated by kapa API changes; added psphotRadialBins; fixed up petrosian calculations (now correctly generate petRad, petMag, petR50, and petR90); updates to psphotPetrosianVisual to handle structure changes; option to use elliptical or circular profiles for radial flux and petrosians

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotRadiiFromProfiles.c

    r25755 r27819  
    55bool psphotRadiiFromProfiles (pmSource *source, float fluxMin, float fluxMax) {
    66
    7     pmSourceRadialProfile *profile = source->extpars->profile;
     7    psAssert (source, "missing source");
     8    psAssert (source->extpars, "missing extpars");
     9    psAssert (source->extpars->radFlux, "missing radFlux");
     10
     11    pmSourceRadialFlux *profile = source->extpars->radFlux;
    812
    913    psFree(profile->isophotalRadii);
     
    146150
    147151    // show the results
    148     // psphotPetrosianVisualProfileRadii (radius, flux, radiusBinned, fluxBinned, Ro);
     152    // psphotPetrosianVisualProfileRadii (radius, flux, radiusBinned, fluxBinned, fluxMax, Ro);
    149153
    150154    psFree(fluxBinned);
     
    152156    return Ro;
    153157}
     158
     159
     160
Note: See TracChangeset for help on using the changeset viewer.