cibrrig.preprocess.extract_sync_times
Extract digital signals from the NI and IMEC Streams
Attributes
Functions
|
Extract all data from the digital sync line in the ALF format |
|
Extract synchronization times from the session data. |
|
Script entry point to extract digital (sync) signals. |
Module Contents
- cibrrig.preprocess.extract_sync_times.sync2alf(session_path)[source]
Extract all data from the digital sync line in the ALF format
Data that matches OMIT_SIGNALS is not extracted. Data that matches MAP_TO_INTERVALS is extracted as intervals (2 columns, start and end times)
- cibrrig.preprocess.extract_sync_times.run(session_path, debug=False, no_display=False)[source]
Extract synchronization times from the session data.
Extract times, directions, and channels for all digital signals in the session data.
- Parameters:
session_path (str, Path) – Path to the session data.
debug (bool, optional) – If True, sets logging level to DEBUG. Defaults to False.
no_display (bool, optional) – If True, disables display of plots. Defaults to False.
- Returns:
None
- cibrrig.preprocess.extract_sync_times.main(session_path, debug, no_display)[source]
Script entry point to extract digital (sync) signals.
- Parameters:
session_path (str) – Path to the session data.
debug (bool) – If True, sets logging level to DEBUG.
no_display (bool) – If True, disables display of plots.
- Returns:
None