#NEWLINE# def test_pulse1( self ) : #NEWLINE# #INDENT# 'Test function for pulse(): SISO 1/6' #NEWLINE# pp = pulse ( [ self . H ] , tp = ( 0.0 , 1.0 ) , dt = 0.1 , tfinal = 10.0 , nosum = False ) #NEWLINE# pp = pp . reshape ( ( pp . shape [ 0 ] , 1 ) ) #NEWLINE# self . assertTrue ( np . allclose ( pp , self . pp2 , atol = 1e-06 , rtol = 0.0001 ) )