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/psphotRadiiFromProfiles.c

    r25178 r25275  
    5656        }
    5757    }
     58    Rbin = 3;
    5859
    5960    psVector *fluxBinned = NULL;
     
    117118            // XXX is there a macro in psLib that does this interpolation?
    118119            if (i == 0) {
    119               psAbort ("impossible condition f[0] < Fo");
     120                psWarning ("impossible condition f[0] < Fo");
     121                continue;
    120122            } else {
    121123                Ro = radiusBinned->data.F32[i-1] + (radiusBinned->data.F32[i] - radiusBinned->data.F32[i-1]) * (Fo - fluxBinned->data.F32[i-1]) / (fluxBinned->data.F32[i] - fluxBinned->data.F32[i-1]);
Note: See TracChangeset for help on using the changeset viewer.