You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_rd_dat_signals: always honor the smooth_frames parameter.
This function can return signal data in either of two formats:
- "smooth" (a two-dimensional array, where x[t,s] is sample t of
signal s)
- "non-smooth" (a list of one-dimensional arrays, where x[s][t] is
sample t of signal s)
Previously, _rd_dat_signals would use "smooth" format if
'sum(samps_per_frame) == n_sig', regardless of 'smooth_frames'. This
makes little sense, since the caller needs to know what type of return
value to expect. Instead, the format should be determined solely by
the 'smooth_frames' parameter.
(In this case, the only caller of _rd_dat_signals is _rd_segment, and
the only caller of _rd_segment is wfdb.io.record.rdrecord.)
0 commit comments