move NeuroTools compatibility functions into their own module