IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 4, 2009, 2:18:54 PM (17 years ago)
Author:
eugene
Message:

updates to petrosian analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psphot/src/psphotPetrosianProfile.c

    r25178 r25275  
    77// structure to something the pmRadialProfile
    88
    9 bool psphotPetrosianProfile (pmSource *source) {
     9bool psphotPetrosianProfile (pmSource *source, float skynoise) {
    1010
    1111  // container to hold results from the radial profile analysis
     
    4848  // integrate the radial profile for radial bins defined for the petrosian measurement:
    4949  // 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)) {
    5151    psError (PS_ERR_UNKNOWN, false, "failed to generate elliptical profile");
    5252    return false;
     
    5959  }
    6060 
     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
    6165  psphotPetrosianFreeVectors(petrosian);
    6266
Note: See TracChangeset for help on using the changeset viewer.