Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nvlinhvn committed May 19, 2024
1 parent 3acb4ef commit 332459e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ package_path = os.path.abspath('/usr/local/Caskroom/miniconda/base/envs/YOUR_ENV
if package_path not in sys.path:
sys.path.insert(0, package_path)

import numpy as np
from hstransform import HSTransform

# Create input signal (for example: Voltage signal)
Expand All @@ -82,6 +83,7 @@ S_transformed = hs.fit_transform(t, signal)

### 5.1 Power Quality Disturbance

Compare HS-transform vs. Morlet Wavelet Transform:
![Voltage Disturbance](https://raw.githubusercontent.com/nvlinhvn/HSTransform/main/img/power_quality_disturbance.png)

The figure showed HS-transform is able to detect the transient disturbances like notch, spike. Meanwhile, those signals from Morlet Wavelet transform are not obviously recognized.
Expand Down

0 comments on commit 332459e

Please sign in to comment.