Code in support of a physics & microbiology research project developing methods of visualizing bacterial phototaxis.