Code used for the manuscript "Leg tracking and automated behavioral classification in Drosophila" by Kain et al.