Weighted Wavelet Z-Transform Code for Python