File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -262,7 +262,6 @@ def handle_impedance_packet(packet):
262262 impedance_values = packet .get_impedances ()
263263
264264 real_values = np .array (impedance_values ) / 2
265- print ("Impedance:" , real_values .tolist ())
266265
267266 if file_type == 'csv' :
268267 row_data = [float (packet .timestamp ), * real_values ]
@@ -273,7 +272,6 @@ def handle_impedance_packet(packet):
273272
274273 self .stream_processor .subscribe (callback = handle_exg_impedance_packet , topic = TOPICS .raw_ExG )
275274 self .stream_processor .subscribe (callback = handle_impedance_packet , topic = TOPICS .imp )
276- self .stream_processor .imp_initialize (notch_freq = notch_freq )
277275 logger .info ("Recording with impedance mode..." )
278276 else :
279277 self .stream_processor .subscribe (callback = self .recorders ['exg' ].write_data , topic = TOPICS .raw_ExG )
@@ -303,8 +301,6 @@ def stop_recording(self):
303301
304302 if is_impedance_mode :
305303 try :
306- self .stream_processor .disable_imp ()
307-
308304 if 'handle_exg_impedance_callback' in self .recorders :
309305 self .stream_processor .unsubscribe (
310306 callback = self .recorders ['handle_exg_impedance_callback' ], topic = TOPICS .raw_ExG )
You can’t perform that action at this time.
0 commit comments