This code details the behavior classification system I developed in the laboratory of Dr. Gyorgy Buzsaki while at the New York University Langone Medical Center.