- Timestamp:
- Sep 4, 2009, 2:18:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotPetrosianProfile.c
r25178 r25275 7 7 // structure to something the pmRadialProfile 8 8 9 bool psphotPetrosianProfile (pmSource *source ) {9 bool psphotPetrosianProfile (pmSource *source, float skynoise) { 10 10 11 11 // container to hold results from the radial profile analysis … … 48 48 // integrate the radial profile for radial bins defined for the petrosian measurement: 49 49 // SB_i (r_i) where \alpha r_i < r < \beta r_i 50 if (!psphotPetrosianRadialBins (source, petrosian, Rmax )) {50 if (!psphotPetrosianRadialBins (source, petrosian, Rmax, skynoise)) { 51 51 psError (PS_ERR_UNKNOWN, false, "failed to generate elliptical profile"); 52 52 return false; … … 59 59 } 60 60 61 // XXX this will only work in the psphot context, not the psphotPetrosianStudy... 62 // XXX add the petrosian to the pmSource structure... 63 psphotVisualShowPetrosian (source, petrosian); 64 61 65 psphotPetrosianFreeVectors(petrosian); 62 66
Note:
See TracChangeset
for help on using the changeset viewer.
