#NEWLINE# def get_signal( self , sigs , window , offset , size ) : #NEWLINE# #INDENT# win = scipy . zeros ( sigs . shape [ 0 ] ) #NEWLINE# win [ offset : ( offset + self ) ] = window #NEWLINE# part = ( sigs * win ) #NEWLINE# return part