Skip to content

Commit

Permalink
update selection of interpolation methods
Browse files Browse the repository at this point in the history
- replace `'none'` with `blackman`
  • Loading branch information
jimustafa committed Oct 30, 2021
1 parent 9026dba commit 731e318
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions scripts/interpolations.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import matplotlib.pyplot as plt
import numpy as np

methods = [None, 'none', 'nearest', 'bilinear', 'bicubic', 'spline16',
'spline36', 'hanning', 'hamming', 'hermite', 'kaiser', 'quadric',
'catrom', 'gaussian', 'bessel', 'mitchell', 'sinc', 'lanczos']

methods = [
None, 'nearest', 'bilinear',
'bicubic', 'spline16', 'spline36',
'hanning', 'hamming', 'hermite',
'kaiser', 'quadric', 'catrom',
'gaussian', 'bessel', 'mitchell',
'sinc', 'lanczos', 'blackman'
]

np.random.seed(1)
Z = np.random.uniform(0,1,(3,3))
Expand Down

0 comments on commit 731e318

Please sign in to comment.