Skip to content
Snippets Groups Projects
Commit ba327a94 authored by macondiano4ever's avatar macondiano4ever
Browse files

Update README.md

parent ea5b544e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment