Link to the code: https://github.com/BrettMontague/Derive-TVD-Gamma-Depths

This app will take in a 2 column (Measured Depth and Counts) gamma file, and a WinSurv survey file and output a 3 column (Measure Depth, Counts, TVD Depth) file.

It scrapes the Measured Depth and True Vertical Depth columns from the survey file, aligns the survey points to the measured depths in the gamma file and linspaces the true vertical depth across the measured depth points between survey points.

"Cool, so where would I use this?"

If you want to find TVD gamma markers within a horizontal leg, you're going to need the TVD depths of the counts.

Example screenshot