diff --git a/README.md b/README.md index 3b226f56902bb815a5aa399755074f95e04638dc..cb34f89148eb13e4333f3214c4dc858f9323aa8f 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,11 @@ pip install -r requirements.txt ``` -Older versions of `pywavelet` were able to handle `discrete wavelet transform` using the `cwt()` function mean for +Older versions of `pywavelet` were able to handle `discrete wavelet transform` using the `cwt()` function meant for continuous wavelets. To get `pywavelet` library working with the (discrete) `haar` wavelet we need to make two small -modifications to the source of the `pywavelet` library. To do so, locate the installation directory: Let's say -`<some_path>/lib/python3.10/site-packages/pywt`. Open the `/_cwt.py` module. Replace the line -`dt_out = dt_cplx if wavelet.complex_cwt else dt` by `dt_out = dt` and comment +modifications to the source of the `pywavelet` library. Let's sayt that the installation directory is `<some_path>/lib/python3.10/site-packages/pywt`. +Open the `/_cwt.py` module. 1. Replace the line +`dt_out = dt_cplx if wavelet.complex_cwt else dt` by `dt_out = dt` and 2. comment `int_psi = np.conj(int_psi) if wavelet.complex_cwt else int_psi`. Clone the develop branch