A method for determining a rotational value of photoelectric effect, called PEF.sub.ROT, of earth formations surrounding a borehole in which a logging while drilling tool is received, said tool including a source of radiation, a short spaced gamma ray detector, and a long spaced gamma ray detector, the method including the steps of
- identifying particular angular segments of said borehole through which said short spaced detector and said long spaced detector pass while said tool is rotating in said borehole,
- recording for a predetermined time period a count rate of gamma rays in said short spaced detector and in said long spaced detector as a function of said particular angular segments, where said gamma rays result from interaction of gamma rays from said source with said formations, and where said count rate of gamma rays of said short spaced detector and of said long spaced detector are recorded as to their respective energy levels called windows, thereby producing a spectrum of count rates with certain higher energy level windows being designated as hard windows, such count rates of hard windows from one of said detectors called HARD COUNT RATE, and with certain lower energy level windows being designated as soft windows, such count rates of soft windows from said one of said detectors called SOFT COUNT RATE,
- determining rotational correction factors .DELTA.CR.sub.SOFT and .DELTA.CR.sub.HARD respectively from statistical distributions of HARD COUNT RATE and SOFT COUNT RATE,
- determining a signal representative of macroscopic rotational cross section factor U.sub.ROT as a function of said HARD COUNT RATE, SOFT COUNT RATE, and said rotational correction factors .DELTA.CR.sub.SOFT and .DELTA.CR.sub.HARD,
- determining a density correction signal called .DELTA..rho..sub.ROT representative of a density correction factor to correct a density measurement of said borehole for borehole irregularity as a function of said HARD COUNT RATE and said rotational correction factor .DELTA.CR.sub.HARD,
- determining from said long and short spaced detectors hard window count rates, signals representative of density called .rho..sub.L, .rho..sub.S, respectively,
- determining a signal proportional to density corrected for borehole irregularity, called .rho..sub.b ROT, as a function of .rho..sub.L, .rho..sub.S and .DELTA..rho..sub.ROT, and
- determining a signal representative of said rotational value of photoelectric effect as the ratio of said U.sub.ROT and .rho..sub.b ROT signals, that is, ##EQU12##