Skip to content
Snippets Groups Projects
Commit f5bf0fc4 authored by Chichi Lalescu's avatar Chichi Lalescu
Browse files

add plot of smooth Fourier filter

parent d1a28822
Branches
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` python
import numpy as np
%matplotlib nbagg
import matplotlib.pyplot as plt
# the plot says a an effective kM = 0.8 is reasonable
k = np.arange(0, 2.**10)
kM = k[-1]
fig = plt.figure(figsize=(4,3))
a = fig.add_subplot(111)
a.plot(k/kM, np.exp(-36*(k / kM)**32))
fig.tight_layout()
```
%% Output
%% Cell type:code id: tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment