Auxiliar functions for PyDSTool