Skip to content

Commit

Permalink
Update test_hstransform.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nvlinhvn committed May 9, 2024
1 parent beb17ee commit c178647
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_hstransform.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
from HSTransform.hstransform import HSTransform

def test_hyperbolic_gaussian():
"""
Tests aims to validate the output
of Gaussian Window of a time array
"""
# Create a sinusoidal signal
t = np.linspace(0, 1, 100)

Expand All @@ -14,6 +18,12 @@ def test_hyperbolic_gaussian():
assert isinstance(result, np.float64)

def test_fit_transform():
"""
Tests aims to validate the S-transform output
- shape
- type
- check any null
"""
# Create a sinusoidal signal
t = np.linspace(0, 2, 100)
signal = np.sin(2 * np.pi * 50 * t)
Expand Down

0 comments on commit c178647

Please sign in to comment.