Integration of a waveform

Does anybody have a recommendation on integrating a corrected waveform file. I can differentiate in both the frequency domain and by simulating a response shown below. I can integrate in the frequency domain, but cannot seem to integrate using a simulated response as shown below. Any suggestions would be greatly appreciated.

Thanks,

Austin

diff= {‘poles’: [],
‘zeros’: [0.j],
‘gain’: 1.0,
‘sensitivity’: 1.0/((2*np.pi))}

integrate={‘poles’: [0+0.j,0+0.j],
‘zeros’: [],
‘gain’: 1.0,
‘sensitivity’: (np.pi*2)}