[MSNoise] (no subject)

Thomas Lecocq Thomas.Lecocq at seismology.be
Sat May 12 09:42:30 UTC 2018


Dear Chaoqiang,

If you are willing to process some seismic data "from scratch", you 
should use the ObsPy package (which is one of the base layers for MSNoise).

For example, this would do what you ask:

    from obspy import read

    st = read("myfile.mseed")

    st.detrend("demean")

    # or

    st.detrend("simple")

see: 
https://docs.obspy.org/packages/autogen/obspy.core.trace.Trace.detrend.html#obspy.core.trace.Trace.detrend

Best regards,

Thomas


Le 11/05/2018 à 02:38, 席 超? a écrit :
> Dear Thomas,
>
> Is there any method in “MSnoise” package to remove the average value and  linear trend of seismic signal?
>
> Best regards,
> Xi Chaoqiang
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise



More information about the MSNoise mailing list