python analysis of electrophysiological data