functions for reading in neuronal data