IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 18, 2009, 6:24:53 AM (17 years ago)
Author:
eugene
Message:

updates for petrosian analysis study

Location:
branches/eam_branches/20090715/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psphot/src

    • Property svn:ignore
      •  

        old new  
        1818psphotVersionDefinitions.h
        1919psphotMomentsStudy
         20psphotPetrosianStudy
  • branches/eam_branches/20090715/psphot/src/pmPetrosian.h

    r25032 r25105  
    1212
    1313typedef struct {
    14     psArray *radii;                     // radii for raw radial profiles at evenly-spaced angles
    15     psArray *fluxes;                    // fluxes measured at above radii
     14    psArray  *radii;                    // radii for raw radial profiles at evenly-spaced angles
     15    psArray  *fluxes;                   // fluxes measured at above radii
    1616    psVector *theta;                    // angles corresponding to above radial profiles
    17     psVector *isophotalRadii;
    18     psEllipseAxes axes;
     17    psVector *isophotalRadii;           // isophotal radius for the above angles
     18
     19    psVector *radiusElliptical;         // normalized radial coordinates for all relevant pixels
     20    psVector *fluxElliptical;           // flux for the above radial coordinates
     21
     22    psVector *binnedFlux;               // mean surface brightness within radial bins
     23    psVector *radialBins;               // radii corresponding to above binnedBlux
     24    psVector *area;                     // differential area of the non-overlapping radial bins
     25
     26    psEllipseAxes axes;                 // shape of elliptical contour
     27
     28    float petrosianRadius;
     29    float petrosianFlux;
     30
    1931} pmPetrosian;
    2032
    2133pmPetrosian *pmPetrosianAlloc();
     34bool psphotPetrosianFreeVectors(pmPetrosian *petrosian);
     35
     36bool psphotPetrosianProfile (pmSource *source);
     37bool psphotRadialProfilesByAngles (pmPetrosian *petro, pmSource *source, int Nsec, float Rmax);
     38float psphotRadiusFromProfile (psVector *radius, psVector *flux, float fluxMin, float fluxMax);
     39bool psphotRadiiFromProfiles (pmPetrosian *petrosian, float fluxMin, float fluxMax);
     40bool psphotEllipticalProfile (pmSource *source, pmPetrosian *petrosian);
     41bool psphotEllipticalContour (pmPetrosian *petrosian);
     42bool psphotPetrosianRadialBins (pmSource *source, pmPetrosian *petrosian, float radiusMax);
     43bool psphotPetrosianStats (pmPetrosian *petrosian);
     44
     45bool psphotPetrosianSortPair (psVector *index, psVector *extra);
     46
     47
     48bool psphotPetrosianVisualProfileByAngle (psVector *radius, psVector *flux);
     49bool psphotPetrosianVisualProfileRadii (psVector *radius, psVector *flux, psVector *radiusBin, psVector *fluxBin, float RadiusRef);
     50bool psphotPetrosianVisualEllipticalContour (pmPetrosian *petrosian);
     51
     52bool psphotPetrosianVisualStats (psVector *radBin, psVector *fluxBin,
     53                                 psVector *refRadius, psVector *meanSB,
     54                                 psVector *petRatio, psVector *fluxSum,
     55                                 float petRadius, float petFlux);
     56
     57bool pmVisualLimitsFromVectors (Graphdata *graphdata, psVector *xVec, psVector *yVec);
    2258
    2359/// @}
     60
     61
    2462# endif /* PM_PETROSIAN_H */
Note: See TracChangeset for help on using the changeset viewer.