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/psphotPetrosian.c

    r25755 r27819  
    77
    88    psAssert (source->extpars, "need to run psphotRadialProfile first");
    9     psAssert (source->extpars->profile, "need to run psphotRadialProfile first");
     9    psAssert (source->extpars->ellipticalFlux, "need to run psphotRadialProfile first");
    1010
    1111    // integrate the radial profile for radial bins defined for the petrosian measurement:
     
    2424    psTrace ("psphot", 3, "source at %f,%f: petrosian radius: %f, flux: %f, axis ratio: %f, angle: %f",
    2525             source->peak->xf, source->peak->yf,
    26              source->extpars->petrosian_80->radius,
    27              source->extpars->petrosian_80->flux,
    28              source->extpars->profile->axes.minor/source->extpars->profile->axes.major,
    29              source->extpars->profile->axes.theta*PS_DEG_RAD);
     26             source->extpars->petrosianRadius,
     27             source->extpars->petrosianFlux,
     28             source->extpars->axes.minor/source->extpars->axes.major,
     29             source->extpars->axes.theta*PS_DEG_RAD);
    3030
    3131    return true;
Note: See TracChangeset for help on using the changeset viewer.