#NEWLINE# def test_I( I ) : #NEWLINE# #INDENT# HH . set ( pars = { #NEWLINE# #INDENT# 'Iapp' : I , #NEWLINE# #UNINDENT# } ) #NEWLINE# traj = HH . compute ( 'test' ) #NEWLINE# pts = traj . sample ( ) #NEWLINE# plt . figure ( 1 ) #NEWLINE# plt . clf ( ) #NEWLINE# plt . plot ( pts [ 't' ] , pts [ 'v' ] , 'k' ) #NEWLINE# plt . plot ( pts [ 't' ] , pts [ 'r' ] , 'r' ) #NEWLINE# plt . plot ( pts [ 't' ] , pts [ 'x' ] , 'g' ) #NEWLINE# plt . plot ( pts [ 't' ] , pts [ 'c' ] , 'y' ) #NEWLINE# plt . xlim ( ( - 5 ) , max ( pts [ 't' ] ) ) #NEWLINE# return ( traj , pts )