Impulse Response Function Python Definition