Code for the STW-Neurosipe project BATMAN