Changeset 25452 for branches/eam_branches/20090715/psModules/src/objects
- Timestamp:
- Sep 19, 2009, 8:49:41 AM (17 years ago)
- Location:
- branches/eam_branches/20090715/psModules/src/objects
- Files:
-
- 6 edited
- 2 moved
-
pmPSFtry.c (modified) (2 diffs)
-
pmPetrosian.c (moved) (moved from branches/eam_branches/20090715/psphot/src/pmPetrosian.c ) (3 diffs)
-
pmPetrosian.h (moved) (moved from branches/eam_branches/20090715/psphot/src/pmPetrosian.h ) (2 diffs)
-
pmSourceExtendedPars.c (modified) (3 diffs)
-
pmSourceExtendedPars.h (modified) (1 diff)
-
pmSourceIO_CMF_PS1_V2.c (modified) (3 diffs)
-
pmSourceIO_PS1_CAL_0.c (modified) (3 diffs)
-
pmSourceIO_PS1_DEV_1.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psModules/src/objects/pmPSFtry.c
r25352 r25452 443 443 float dSysBright = psVectorSystematicError (bright, brightErr, 0.1); 444 444 fprintf (stderr, "bright systematic error: %f\n", dSysBright); 445 psFree(bright); 446 psFree(brightErr); 445 447 446 448 // XXX test dump of fitted model (dump when tracing?) … … 1178 1180 1179 1181 // free local allocations 1182 psFree (mask); 1183 psFree (chisq); 1184 psFree (stats); 1185 psFree (index); 1186 1180 1187 return (sqrt(S2guess)); 1181 1188 } -
branches/eam_branches/20090715/psModules/src/objects/pmPetrosian.c
r25409 r25452 9 9 */ 10 10 11 # include "p sphotInternal.h"11 # include "pmPetrosian.h" 12 12 13 13 static void pmPetrosianFree(pmPetrosian *petrosian) … … 56 56 } 57 57 58 bool p sphotPetrosianFreeVectors(pmPetrosian *petrosian) {58 bool pmPetrosianFreeVectors(pmPetrosian *petrosian) { 59 59 60 60 psFree(petrosian->radii); … … 100 100 } 101 101 102 bool p sphotPetrosianSortPair (psVector *index, psVector *extra) {102 bool pmPetrosianSortPair (psVector *index, psVector *extra) { 103 103 104 104 // sort the vector set by the radius -
branches/eam_branches/20090715/psModules/src/objects/pmPetrosian.h
r25433 r25452 10 10 #ifndef PM_PETROSIAN_H 11 11 #define PM_PETROSIAN_H 12 13 /// @addtogroup Objects Object Detection / Analysis Functions 14 /// @{ 12 15 13 16 typedef struct { … … 33 36 34 37 pmPetrosian *pmPetrosianAlloc(); 35 bool psphotPetrosianFreeVectors(pmPetrosian *petrosian);36 38 37 bool psphotPetrosianProfile (pmReadout *readout, pmSource *source, float skynoise); 38 bool psphotRadialProfilesByAngles (pmSource *source, pmPetrosian *petro, int Nsec, float Rmax); 39 float psphotRadiusFromProfile (pmSource *source, psVector *radius, psVector *flux, float fluxMin, float fluxMax); 40 bool psphotRadiiFromProfiles (pmSource *source, pmPetrosian *petrosian, float fluxMin, float fluxMax); 41 bool psphotEllipticalProfile (pmSource *source, pmPetrosian *petrosian); 42 bool psphotEllipticalContour (pmSource *source, pmPetrosian *petrosian); 43 bool psphotPetrosianRadialBins (pmSource *source, pmPetrosian *petrosian, float radiusMax, float skynoise); 44 bool psphotPetrosianStats (pmSource *source, pmPetrosian *petrosian); 45 46 bool psphotPetrosianSortPair (psVector *index, psVector *extra); 47 48 49 bool psphotPetrosianVisualProfileByAngle (psVector *radius, psVector *flux); 50 bool psphotPetrosianVisualProfileRadii (psVector *radius, psVector *flux, psVector *radiusBin, psVector *fluxBin, float peakFlux, float RadiusRef); 51 bool psphotPetrosianVisualEllipticalContour (pmPetrosian *petrosian); 52 53 bool psphotPetrosianVisualStats (psVector *radBin, psVector *fluxBin, 54 psVector *refRadius, psVector *meanSB, 55 psVector *petRatio, psVector *petRatioErr, psVector *fluxSum, 56 float petRadius, float ratioForRadius, 57 float petFlux, float radiusForFlux); 39 bool pmPetrosianFreeVectors(pmPetrosian *petrosian); 40 bool pmPetrosianSortPair (psVector *index, psVector *extra); 58 41 59 42 /// @} 60 43 61 62 44 # endif /* PM_PETROSIAN_H */ -
branches/eam_branches/20090715/psModules/src/objects/pmSourceExtendedPars.c
r23487 r25452 17 17 #endif 18 18 19 #include <stdio.h>20 #include <math.h>21 #include <string.h>19 // #include <stdio.h> 20 // #include <math.h> 21 // #include <string.h> 22 22 #include <pslib.h> 23 #include "pmHDU.h" 24 #include "pmFPA.h" 25 #include "pmFPAMaskWeight.h" 26 #include "pmSpan.h" 27 #include "pmFootprint.h" 28 #include "pmPeaks.h" 29 #include "pmMoments.h" 30 #include "pmResiduals.h" 31 #include "pmGrowthCurve.h" 32 #include "pmTrend2D.h" 33 #include "pmPSF.h" 34 #include "pmModel.h" 35 #include "pmSource.h" 36 23 // #include "pmHDU.h" 24 // #include "pmFPA.h" 25 // #include "pmFPAMaskWeight.h" 26 // #include "pmSpan.h" 27 // #include "pmFootprint.h" 28 // #include "pmPeaks.h" 29 // #include "pmMoments.h" 30 // #include "pmResiduals.h" 31 // #include "pmGrowthCurve.h" 32 // #include "pmTrend2D.h" 33 // #include "pmPSF.h" 34 // #include "pmModel.h" 35 // #include "pmSource.h" 36 #include "pmSourceExtendedPars.h" 37 38 // *** pmSourceRadialProfile describes the radial profile of a source in elliptical contours, and 39 // intermediate data used to measure the profile 40 static void pmSourceRadialProfileFree(pmSourceRadialProfile *profile) 41 { 42 if (!profile) { 43 return; 44 } 45 psFree(profile->radii); 46 psFree(profile->fluxes); 47 psFree(profile->theta); 48 psFree(profile->isophotalRadii); 49 50 psFree(profile->radiusElliptical); 51 psFree(profile->fluxElliptical); 52 53 psFree(profile->binSB); 54 psFree(profile->binSBstdev); 55 psFree(profile->binSBerror); 56 57 psFree(profile->radialBins); 58 psFree(profile->area); 59 } 60 61 pmSourceRadialProfile *pmSourceRadialProfileAlloc() 62 { 63 pmSourceRadialProfile *profile = (pmSourceRadialProfile *)psAlloc(sizeof(pmSourceRadialProfile)); 64 psMemSetDeallocator(profile, (psFreeFunc) pmSourceRadialProfileFree); 65 66 profile->radii = NULL; 67 profile->fluxes = NULL; 68 profile->theta = NULL; 69 profile->isophotalRadii = NULL; 70 71 profile->radiusElliptical = NULL; 72 profile->fluxElliptical = NULL; 73 74 profile->binSB = NULL; 75 profile->binSBstdev = NULL; 76 profile->binSBerror = NULL; 77 78 profile->radialBins = NULL; 79 profile->area = NULL; 80 81 return profile; 82 } 83 84 bool psMemCheckSourceRadialProfile(psPtr ptr) 85 { 86 PS_ASSERT_PTR(ptr, false); 87 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceRadialProfileFree); 88 } 89 90 91 // *** pmSourceRadialProfileFreeVectors frees the intermediate data values 92 bool pmSourceRadialProfileFreeVectors(pmSourceRadialProfile *profile) { 93 94 psFree(profile->radii); 95 psFree(profile->fluxes); 96 psFree(profile->theta); 97 psFree(profile->isophotalRadii); 98 99 psFree(profile->radiusElliptical); 100 psFree(profile->fluxElliptical); 101 102 // psFree(profile->binSB); 103 // psFree(profile->binSBstdev); 104 // psFree(profile->binSBerror); 105 106 // psFree(profile->radialBins); 107 psFree(profile->area); 108 109 profile->radii = NULL; 110 profile->fluxes = NULL; 111 profile->theta = NULL; 112 profile->isophotalRadii = NULL; 113 114 profile->radiusElliptical = NULL; 115 profile->fluxElliptical = NULL; 116 117 // profile->binSB = NULL; 118 // profile->binSBstdev = NULL; 119 // profile->binSBerror = NULL; 120 121 // profile->radialBins = NULL; 122 profile->area = NULL; 123 124 return true; 125 } 126 127 // *** pmSourceRadialProfileSortPair is a utility function for sorting a pair of vectors 128 # define COMPARE_INDEX(A,B) (index->data.F32[A] < index->data.F32[B]) 129 # define SWAP_INDEX(TYPE,A,B) { \ 130 float tmp; \ 131 if (A != B) { \ 132 tmp = index->data.F32[A]; \ 133 index->data.F32[A] = index->data.F32[B]; \ 134 index->data.F32[B] = tmp; \ 135 tmp = extra->data.F32[A]; \ 136 extra->data.F32[A] = extra->data.F32[B]; \ 137 extra->data.F32[B] = tmp; \ 138 } \ 139 } 140 141 bool pmSourceRadialProfileSortPair (psVector *index, psVector *extra) { 142 143 // sort the vector set by the radius 144 PSSORT (index->n, COMPARE_INDEX, SWAP_INDEX, NONE); 145 return true; 146 } 147 148 // *** pmSourceExtendedPars describes the possible collection of extended flux measurements for a source 37 149 static void pmSourceExtendedParsFree (pmSourceExtendedPars *pars) { 38 150 if (!pars) return; 39 151 40 152 psFree(pars->profile); 41 psFree(pars->annuli); 42 psFree(pars->isophot); 43 psFree(pars->petrosian); 44 psFree(pars->kron); 153 psFree(pars->petrosian_50); 154 psFree(pars->petrosian_80); 45 155 return; 46 156 } … … 51 161 52 162 pars->profile = NULL; 53 pars->annuli = NULL; 54 pars->isophot = NULL; 55 pars->petrosian = NULL; 56 pars->kron = NULL; 163 pars->petrosian_50 = NULL; 164 pars->petrosian_80 = NULL; 57 165 58 166 return pars; … … 66 174 67 175 68 static void pmSourceRadialProfileFree (pmSourceRadialProfile *profile) { 69 if (!profile) return; 70 71 psFree(profile->radius); 72 psFree(profile->flux); 73 psFree(profile->variance); 176 // *** pmSourceExtendedFlux describes the flux within an elliptical aperture of some kind 177 static void pmSourceExtendedFluxFree (pmSourceExtendedFlux *flux) { 178 if (!flux) return; 74 179 return; 75 180 } 76 181 77 pmSourceRadialProfile *pmSourceRadialProfileAlloc (void) { 78 79 pmSourceRadialProfile *profile = (pmSourceRadialProfile *) psAlloc(sizeof(pmSourceRadialProfile)); 80 psMemSetDeallocator(profile, (psFreeFunc) pmSourceRadialProfileFree); 81 82 profile->radius = NULL; 83 profile->flux = NULL; 84 profile->variance = NULL; 85 86 return profile; 87 } 88 89 bool psMemCheckSourceRadialProfile(psPtr ptr) 182 pmSourceExtendedFlux *pmSourceExtendedFluxAlloc (void) { 183 184 pmSourceExtendedFlux *flux = (pmSourceExtendedFlux *) psAlloc(sizeof(pmSourceExtendedFlux)); 185 psMemSetDeallocator(flux, (psFreeFunc) pmSourceExtendedFluxFree); 186 187 flux->flux = 0.0; 188 flux->fluxErr = 0.0; 189 flux->radius = 0.0; 190 flux->radiusErr = 0.0; 191 192 return flux; 193 } 194 195 196 bool psMemCheckSourceExtendedFlux(psPtr ptr) 90 197 { 91 198 PS_ASSERT_PTR(ptr, false); 92 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceRadialProfileFree); 93 } 94 95 96 static void pmSourceIsophotalValuesFree (pmSourceIsophotalValues *isophot) { 97 if (!isophot) return; 98 return; 99 } 100 101 pmSourceIsophotalValues *pmSourceIsophotalValuesAlloc (void) { 102 103 pmSourceIsophotalValues *isophot = (pmSourceIsophotalValues *) psAlloc(sizeof(pmSourceIsophotalValues)); 104 psMemSetDeallocator(isophot, (psFreeFunc) pmSourceIsophotalValuesFree); 105 106 isophot->mag = 0.0; 107 isophot->magErr = 0.0; 108 isophot->rad = 0.0; 109 isophot->radErr = 0.0; 110 111 return isophot; 112 } 113 114 115 bool psMemCheckSourceIsophotalValues(psPtr ptr) 116 { 117 PS_ASSERT_PTR(ptr, false); 118 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceIsophotalValuesFree); 119 } 120 121 122 static void pmSourcePetrosianValuesFree (pmSourcePetrosianValues *petrosian) { 123 if (!petrosian) return; 124 return; 125 } 126 127 pmSourcePetrosianValues *pmSourcePetrosianValuesAlloc (void) { 128 129 pmSourcePetrosianValues *petrosian = (pmSourcePetrosianValues *) psAlloc(sizeof(pmSourcePetrosianValues)); 130 psMemSetDeallocator(petrosian, (psFreeFunc) pmSourcePetrosianValuesFree); 131 132 petrosian->mag = 0.0; 133 petrosian->magErr = 0.0; 134 petrosian->rad = 0.0; 135 petrosian->radErr = 0.0; 136 137 return petrosian; 138 } 139 140 141 bool psMemCheckSourcePetrosianValues(psPtr ptr) 142 { 143 PS_ASSERT_PTR(ptr, false); 144 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourcePetrosianValuesFree); 145 } 146 147 static void pmSourceKronValuesFree (pmSourceKronValues *kron) { 148 if (!kron) return; 149 return; 150 } 151 152 pmSourceKronValues *pmSourceKronValuesAlloc (void) { 153 154 pmSourceKronValues *kron = (pmSourceKronValues *) psAlloc(sizeof(pmSourceKronValues)); 155 psMemSetDeallocator(kron, (psFreeFunc) pmSourceKronValuesFree); 156 157 kron->mag = 0.0; 158 kron->magErr = 0.0; 159 kron->rad = 0.0; 160 kron->radErr = 0.0; 161 162 return kron; 163 } 164 165 166 bool psMemCheckSourceKronValues(psPtr ptr) 167 { 168 PS_ASSERT_PTR(ptr, false); 169 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceKronValuesFree); 170 } 171 172 173 static void pmSourceAnnuliFree (pmSourceAnnuli *annuli) { 174 if (!annuli) return; 175 176 psFree (annuli->flux); 177 psFree (annuli->fluxErr); 178 psFree (annuli->fluxVar); 179 180 return; 181 } 182 183 pmSourceAnnuli *pmSourceAnnuliAlloc (void) { 184 185 pmSourceAnnuli *annuli = (pmSourceAnnuli *) psAlloc(sizeof(pmSourceAnnuli)); 186 psMemSetDeallocator(annuli, (psFreeFunc) pmSourceAnnuliFree); 187 188 annuli->flux = NULL; 189 annuli->fluxErr = NULL; 190 annuli->fluxVar = NULL; 191 192 return annuli; 193 } 194 195 196 bool psMemCheckSourceAnnuli(psPtr ptr) 197 { 198 PS_ASSERT_PTR(ptr, false); 199 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceAnnuliFree); 200 } 199 return ( psMemGetDeallocator(ptr) == (psFreeFunc) pmSourceExtendedFluxFree); 200 } -
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 /// @} -
branches/eam_branches/20090715/psModules/src/objects/pmSourceIO_CMF_PS1_V2.c
r24403 r25452 353 353 354 354 // which extended source analyses should we perform? 355 bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN");356 bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL");357 bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI");358 bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON");355 // bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN"); 356 // bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL"); 357 // bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI"); 358 // bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON"); 359 359 360 360 psVector *radialBinsLower = psMetadataLookupPtr (&status, recipe, "RADIAL.ANNULAR.BINS.LOWER"); … … 396 396 psMetadataAdd (row, PS_LIST_TAIL, "Y_EXT_SIG", PS_DATA_F32, "Sigma in EXT y coordinate", yErr); 397 397 398 # if (0) 398 399 // Petrosian measurements 399 400 // XXX insert header data: petrosian ref radius, flux ratio … … 476 477 } 477 478 479 # endif 478 480 psArrayAdd (table, 100, row); 479 481 psFree (row); -
branches/eam_branches/20090715/psModules/src/objects/pmSourceIO_PS1_CAL_0.c
r21516 r25452 349 349 350 350 // which extended source analyses should we perform? 351 bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN");352 bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL");353 bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI");354 bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON");351 // bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN"); 352 // bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL"); 353 // bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI"); 354 // bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON"); 355 355 356 356 psVector *radialBinsLower = psMetadataLookupPtr (&status, recipe, "RADIAL.ANNULAR.BINS.LOWER"); … … 410 410 psMetadataAdd (row, PS_LIST_TAIL, "Y_EXT_SIG", PS_DATA_F32, "Sigma in EXT y coordinate", yErr); 411 411 412 # if (0) 412 413 // Petrosian measurements 413 414 // XXX insert header data: petrosian ref radius, flux ratio … … 501 502 } 502 503 } 504 # endif 503 505 504 506 psArrayAdd (table, 100, row); -
branches/eam_branches/20090715/psModules/src/objects/pmSourceIO_PS1_DEV_1.c
r21516 r25452 300 300 301 301 // which extended source analyses should we perform? 302 bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN");303 bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL");304 bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI");305 bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON");302 // bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN"); 303 // bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL"); 304 // bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI"); 305 // bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON"); 306 306 307 307 psVector *radialBinsLower = psMetadataLookupPtr (&status, recipe, "RADIAL.ANNULAR.BINS.LOWER"); … … 343 343 psMetadataAdd (row, PS_LIST_TAIL, "Y_EXT_SIG", PS_DATA_F32, "Sigma in EXT y coordinate", yErr); 344 344 345 // XXX disable these outputs until we clean up the names 346 # if (0) 345 347 // Petrosian measurements 346 348 // XXX insert header data: petrosian ref radius, flux ratio … … 422 424 } 423 425 } 426 # endif 424 427 425 428 psArrayAdd (table, 100, row);
Note:
See TracChangeset
for help on using the changeset viewer.
