for tr in stream3c: #sign change
tr.data = -tr.data
stream3c.snr_compute() #signal to noise ratio function
Do you think that I am missing an important argument? Specially for the deconvolution. I just added method and source_components=‘LZ’.
There is one line that I skipped kwargs.setdefault(‘winsrc’, method).
Do you think it is important?
Looks perfect. winsrc is not important in your case. It defines the time window for cutting the data of the source component and defaults to 'P', resp. (-10, 30, 5) for time deconvolution (starttime, endtime in seconds relative to onset, taper at both ends in seconds). winsrc should be changed for Srfs.