OnEarth
OnEarth

Reputation: 49

Downsampling and aliasing effect in python st.resample

Does downsampling using stream.resample () in Python introduce aliasing effect? I want to investigate a signal below 4 Hz. It has the original sampling rate of 100 Hz but I need to downsample it as much as possible. If I use In Python st.resample() based on the documentation (https://docs.obspy.org/packages/autogen/obspy.core.stream.Stream.resample.html) it does the resampling using a Fourier method. If I downsample to 8 Hz:

st.resample (8)

Upvotes: 0

Views: 435

Answers (1)

Ahmed AEK
Ahmed AEK

Reputation: 17975

  1. no aliasing will happen as this truncates and interpolates points in the frequency domain.
  2. using no_filter=False only reduces high frequency components, which only smooth the signal, it doesn't matter in terms of aliasing, you can think of it as smoothing after the resampling.

Upvotes: 1

Related Questions