seisSim processing "inverts" waveform

hello everybody,

we're doing some instrumental correction on analog data using obspy
seisSim module. we're stuck on a problem: the resulting waveform looks

what are we missing?

you'll find below a few lines of sample code, and in attachment preview
plot image and miniseed test data. run the code to reproduce the problem.



st_E.mseed (40 KB)

Hi Emiliano,

I do not have time to look at it in detail right now, but..
Did you have a look at the phase response your deconvolving? My guess
would be a phase shift of appr. Pi might be responsible?