hello,
The use of -sqrt(a) in the code you've mentioned for the Continuous Wavelet Transform (CWT) is unusual, as the standard scaling factor in CWT is (\frac{1}{\sqrt{|a|}}) to ensure normalization across different scales. The negative sign and the specific form -sqrt(a) do not align with the standard CWT formulation. This discrepancy could be due to a specific modification for a particular application, or it might be an error. To resolve this, you should check any available documentation or comments related to the code, or experiment by replacing -sqrt(a) with (\frac{1}{\sqrt{|a|}}) and observing the results for alignment with theoretical expectations.