Skip to content

Commit acc0c1d

Browse files
remove print from synchronization.py
1 parent 56880f2 commit acc0c1d

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

pyeyesweb/analysis_primitives/synchronization.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,4 @@ def __call__(self, sliding_window: SlidingWindow):
205205
Prints synchronization metrics to stdout if PLV is computed successfully.
206206
Format depends on output_phase setting.
207207
"""
208-
result = self.compute_synchronization(sliding_window)
209-
plv = result["plv"]
210-
phase_status = result["phase_status"]
211-
212-
if not np.isnan(plv):
213-
if self.output_phase:
214-
print(f"Synchronization Index: {plv:.3f}, Phase Status: {phase_status}")
215-
else:
216-
print(f"Synchronization Index: {plv:.3f}")
217-
return result
208+
return self.compute_synchronization(sliding_window)

0 commit comments

Comments
 (0)