nabeelraza commited on
Commit
15c3075
·
1 Parent(s): 1276458

Added: encoding=None

Browse files
Files changed (1) hide show
  1. read_data.py +1 -1
read_data.py CHANGED
@@ -16,7 +16,7 @@ def visualize_sig(sig):
16
 
17
  def prepare_all_leads(path):
18
  if path.endswith(".txt"):
19
- sig = np.loadtxt(path, delimiter=',', unpack=True)
20
  elif path.endswith(".npy"):
21
  sig = np.load(path, allow_pickle=True)
22
  x = pywt.wavedec(sig[0], 'db6', level=2)[0]
 
16
 
17
  def prepare_all_leads(path):
18
  if path.endswith(".txt"):
19
+ sig = np.loadtxt(path, delimiter=',', unpack=True, encoding=None)
20
  elif path.endswith(".npy"):
21
  sig = np.load(path, allow_pickle=True)
22
  x = pywt.wavedec(sig[0], 'db6', level=2)[0]