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
- recordname (required): The name of the WFDB record to be read (without any file extensions). If the argument contains any path delimiter characters, the argument will be interpreted as PATH/baserecord and the data files will be searched for in the local path. If the pbdownload flag is set to 1, recordname will be interpreted as a physiobank record name including the database subdirectory.
1008
+
- recordname (required): The name of the WFDB record to be read (without any file extensions).
1009
+
If the argument contains any path delimiter characters, the argument will be interpreted as
1010
+
PATH/baserecord and the data files will be searched for in the local path. If the pbdownload
1011
+
flag is set to 1, recordname will be interpreted as a physiobank record name including the
1012
+
database subdirectory.
1002
1013
- sampfrom (default=0): The starting sample number to read for each channel.
1003
1014
- sampto (default=length of entire signal): The final sample number to read for each channel.
1004
1015
- channels (default=all channels): Indices specifying the channel to be returned.
1005
-
- physical (default=1): Flag that specifies whether to return signals in physical (1) or digital (0) units.
1006
-
- stacksegments (default=1): Flag used only for multi-segment files. Specifies whether to return the signal as a single stacked/concatenated numpy array (1) or as a list of one numpy array for each segment (0).
1007
-
- pbdl (default=0): If this argument is set, the function will assume that the user is trying to download a physiobank file. Therefore the 'recordname' argument will be interpreted as a physiobank record name including the database subdirectory, rather than a local directory.
1016
+
- physical (default=1): Flag that specifies whether to return signals in physical (1) or
1017
+
digital (0) units.
1018
+
- stacksegments (default=1): Flag used only for multi-segment files. Specifies whether to
1019
+
return the signal as a single stacked/concatenated numpy array (1) or as a list of one
1020
+
numpy array for each segment (0).
1021
+
- pbdl (default=0): If this argument is set, the function will assume that the user is trying
1022
+
to download a physiobank file. Therefore the 'recordname' argument will be interpreted as
1023
+
a physiobank record name including the database subdirectory, rather than a local directory.
1008
1024
- dldir (default=os.getcwd()): The directory to download physiobank files to.
1009
1025
1010
1026
Output variables:
@@ -1021,7 +1037,8 @@ def rdsamp(
1021
1037
: The last list element will be a list of dictionaries of metadata for each segment.
1022
1038
For empty segments, the dictionary will be replaced by a single string: 'Empty Segment'
0 commit comments