HPS noise reduction method especially for OBS data based on harmonic percussive separation (HPS) algorithms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zahra 8810993593 update readme 8 months ago
examples cleanup 8 months ago
src get test running 8 months ago
test get test running 8 months ago
.gitignore cleanup and add .gitignore 8 months ago
Example-spectrograms.png update figure 8 months ago
LICENSE add LICENSE file 8 months ago
README.md update readme 8 months ago
setup.py get test running 8 months ago



OBS noise reduction from horizontal and vertical components using harmonic-percussive separation algorithms

Example of one day OBS signal

After installing the package, in order to denoise a signal you can use the following code. The outputs are the denoised signal and the spectrogram as below.The spectrogram shows only the frequency range of [0-1] Hz.

import noisecut
import obspy

st = obspy.read('D10.DO.HH4..D.2012.080.000000')
hps_trace, spectrograms = noisecut.noisecut(st[0], ret_spectrograms=True)

network architecture


For the installation you need to clone the repository. Then run "python setup.py install" in the terminal. You need the Numpy version of 2.21.


NoiseCut is licenced under the GNU Affero General Public License (AGPLv3).