ROMANIS¶
ROMANIS support toolbox.
-
arlpy.romanis.
get_channels
(dirname=None)¶ Get the number of available data channels.
Parameters: dirname – directory of the datafile Returns: number of channels
-
arlpy.romanis.
get_data
(dirname, start=0, length=None, calib=None, sensor=None)¶ Load selected data from ROMANIS recording.
Parameters: - dirname – directory of the datafile
- start – start time (seconds, default is 0)
- length – data length (seconds, None means read all)
- calib – directory of the calibration file (None means no calibration)
- sensor – sensor number to load (None means load all, 0-507)
- returns – 2-D array of the selected data
-
arlpy.romanis.
get_data_length
(dirname)¶ Get the length of the datafile in seconds.
Parameters: dirname – directory of the datafile Returns: data length in seconds
-
arlpy.romanis.
get_sampling_rate
(dirname=None)¶ Get the sampling rate in Hz.
Parameters: dirname – directory of the datafile Returns: sampling rate in Hz