Skip to content

Commit 5b7c649

Browse files
committed
refactor: path of convolve updated
1 parent 181ef9c commit 5b7c649

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pylab as plt
44
from scipy.spatial.distance import pdist, squareform
55

6-
from utils import calculate_convolve
6+
from utils.convolve import calculate_convolve
77

88
# ----------------- Plot config -------------------------------------------
99
SMALL = 8
@@ -75,13 +75,13 @@ def setup_plot(self, cell=1, signal_name='Raw Signal', image_name='2D Image'):
7575

7676
# cell value must be odd number
7777
# subplot 22(1,2)
78-
rp.setup_plot(cell=1, signal_name='First Signal')
78+
rp.setup_plot(cell=1, signal_name='First Signal', image_name='2D image for first signal')
7979

8080
raw_signal = np.random.uniform(-1, 1, 50)
8181
convolved_signal = calculate_convolve(raw_signal)
8282
rp.set_signal(convolved_signal)
8383

8484
# subplot 22(3,4)
85-
rp.setup_plot(cell=3, signal_name='Second Signal')
85+
rp.setup_plot(cell=3, signal_name='Second Signal', image_name='2D image for second signal')
8686

8787
save_plot()
File renamed without changes.

0 commit comments

Comments
 (0)