Skip to content

Commit

Permalink
Merge pull request #25 from roxyboy/args
Browse files Browse the repository at this point in the history
_morlet takes **Kwargs
  • Loading branch information
roxyboy authored Aug 16, 2023
2 parents 39bd09e + 0d796e0 commit aea2b61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xwavelet/wavelet.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def wvlt_power_spectrum(
x = da[da.dims[axis_num[-1]]] - N[-1] / 2.0 * delta_x[-1]
if wtype == "morlet":
# mother wavelet
wavelet, phi = _morlet(xo, ntheta, a, 1.0, y, x, dim)
wavelet, phi = _morlet(xo, ntheta, a, 1.0, y, x, **kwargs)

Fdims = []
chunks = dict()
Expand Down Expand Up @@ -362,7 +362,7 @@ def wvlt_cross_spectrum(
x = da[da.dims[axis_num[-1]]] - N[-1] / 2.0 * delta_x[-1]
if wtype == "morlet":
# mother wavelet
wavelet, phi = _morlet(xo, ntheta, a, 1.0, y, x, dim)
wavelet, phi = _morlet(xo, ntheta, a, 1.0, y, x, **kwargs)

Fdims = []
chunks = dict()
Expand Down

0 comments on commit aea2b61

Please sign in to comment.