We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4ff884 commit 7939753Copy full SHA for 7939753
xwavelet/wavelet.py
@@ -76,7 +76,7 @@ def _morlet(xo, ntheta, a, s, y, x, dim):
76
77
# compute morlet wavelet
78
th = np.arange(int(ntheta / 2)) * 2.0 * np.pi / ntheta
79
- th = xr.DataArray(th, dims=["angle"], coords={"angle": th})
+ th = xr.DataArray(th, dims=["angle"], coords={"angle": th}).chunk({"angle": 1})
80
81
# rotated positions
82
yp = np.sin(th) * s**-1 * (y - y.mean())
0 commit comments