- Timestamp:
- Sep 4, 2009, 2:18:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotRadiiFromProfiles.c
r25178 r25275 56 56 } 57 57 } 58 Rbin = 3; 58 59 59 60 psVector *fluxBinned = NULL; … … 117 118 // XXX is there a macro in psLib that does this interpolation? 118 119 if (i == 0) { 119 psAbort ("impossible condition f[0] < Fo"); 120 psWarning ("impossible condition f[0] < Fo"); 121 continue; 120 122 } else { 121 123 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.
