A method and system for determining a density. The method may comprise disposing a nuclear density tool into a wellbore, performing a spectral deconvolution, determining an energy channel for a first measurement layer, recording a count rate with the gamma detector for the first measurement layer, applying a slope operator to the count rate, and identifying a first density of the first measurement layer. The system may comprise a nuclear density tool that includes a gamma source and a gamma detector configured to record a count rate, wherein the gamma detector and the gamma source are disposed on a longitudinal axis of the nuclear density tool. The system may also comprise an information handling system.
展开▼