- Timestamp:
- Sep 19, 2009, 8:49:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psModules/src/objects/pmSourceExtendedPars.h
r23487 r25452 15 15 16 16 typedef struct { 17 psVector *radius; 18 psVector *flux; 19 psVector *variance; 17 psArray *radii; // radii for raw radial profiles at evenly-spaced angles 18 psArray *fluxes; // fluxes measured at above radii 19 psVector *theta; // angles corresponding to above radial profiles 20 psVector *isophotalRadii; // isophotal radius for the above angles 21 22 psVector *radiusElliptical; // normalized radial coordinates for all relevant pixels 23 psVector *fluxElliptical; // flux for the above radial coordinates 24 25 psVector *binSB; // mean surface brightness within radial bins 26 psVector *binSBstdev; // scatter of mean surface brightness within radial bins 27 psVector *binSBerror; // formal error on mean surface brightness within radial bins 28 29 psVector *radialBins; // radii corresponding to above binnedBlux 30 psVector *area; // differential area of the non-overlapping radial bins 31 32 psEllipseAxes axes; // shape of elliptical contour 20 33 } pmSourceRadialProfile; 21 34 22 35 typedef struct { 23 psVector *flux; 24 psVector *fluxErr; 25 psVector *fluxVar; 26 } pmSourceAnnuli; 27 28 typedef struct { 29 float mag; 30 float magErr; 31 float rad; 32 float radErr; 33 } pmSourceIsophotalValues; 34 35 typedef struct { 36 float mag; 37 float magErr; 38 float rad; 39 float radErr; 40 } pmSourcePetrosianValues; 41 42 typedef struct { 43 float mag; 44 float magErr; 45 float rad; 46 float radErr; 47 } pmSourceKronValues; 36 float flux; 37 float fluxErr; 38 float radius; 39 float radiusErr; 40 } pmSourceExtendedFlux; 48 41 49 42 typedef struct { 50 43 pmSourceRadialProfile *profile; 51 pmSourceAnnuli *annuli; 52 pmSourceIsophotalValues *isophot; 53 pmSourcePetrosianValues *petrosian; 54 pmSourceKronValues *kron; 44 pmSourceExtendedFlux *petrosian_50; 45 pmSourceExtendedFlux *petrosian_80; 55 46 } pmSourceExtendedPars; 56 47 57 pmSourceExtendedPars *pmSourceExtendedParsAlloc(void); 48 // *** pmSourceRadialProfile describes the radial profile of a source in elliptical contours, and 49 // intermediate data used to measure the profile 50 pmSourceRadialProfile *pmSourceRadialProfileAlloc(); 51 bool psMemCheckSourceRadialProfile(psPtr ptr); 52 53 // *** pmSourceRadialProfileFreeVectors frees the intermediate data values 54 bool pmSourceRadialProfileFreeVectors(pmSourceRadialProfile *profile); 55 56 // *** pmSourceExtendedPars describes the possible collection of extended flux measurements for a source 57 pmSourceExtendedPars *pmSourceExtendedParsAlloc (void); 58 58 bool psMemCheckSourceExtendedPars(psPtr ptr); 59 pmSourceRadialProfile *pmSourceRadialProfileAlloc(void); 60 bool psMemCheckSourceRadialProfile(psPtr ptr); 61 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc(void); 62 bool psMemCheckSourceIsophotalValues(psPtr ptr); 63 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc(void); 64 bool psMemCheckSourcePetrosianValues(psPtr ptr); 65 pmSourceKronValues *pmSourceKronValuesAlloc(void); 66 bool psMemCheckSourceKronValues(psPtr ptr); 67 pmSourceAnnuli *pmSourceAnnuliAlloc(void); 68 bool psMemCheckSourceAnnuli(psPtr ptr); 59 60 // *** pmSourceExtendedFlux describes the flux within an elliptical aperture of some kind 61 pmSourceExtendedFlux *pmSourceExtendedFluxAlloc(void); 62 bool psMemCheckSourceExtendedFlux(psPtr ptr); 63 64 // *** pmSourceRadialProfileSortPair is a utility function for sorting a pair of vectors 65 bool pmSourceRadialProfileSortPair(psVector *index, psVector *extra); 69 66 70 67 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
