Skip to content

Instantly share code, notes, and snippets.

View JFViola's full-sized avatar

JFViola

  • Alfred-Wegener-Institut
View GitHub Profile
@JFViola
JFViola / wiener_deconvolution_example.py
Created November 7, 2022 10:46 — forked from danstowell/wiener_deconvolution_example.py
Simple example of Wiener deconvolution in Python
#!/usr/bin/env python
# Simple example of Wiener deconvolution in Python.
# We use a fixed SNR across all frequencies in this example.
#
# Written 2015 by Dan Stowell. Public domain.
import numpy as np
from numpy.fft import fft, ifft, ifftshift