A package to export events using log files from presentation software.
Project description
bids_events
Tool to export events from presentation log files.
Installation
pip install bids_events
Example of use
from bids_events.presentation import LogHandler as Log
cols = [
['trial_type', Log.COL_CODE, r'cue.*'],
['fix_after_cue', Log.COL_CODE, r'fixAfterCue', Log.COL_TIME],
['reward', Log.COL_CODE, r'rew.*', Log.COL_CODE],
['response', Log.COL_CODE, r'press', Log.COL_TTIME],
['fix2', Log.COL_CODE, r'fix2', Log.COL_TTIME]
]
log = Log('S001-Run1.log')
log.extract_trials( cols )
log.export_bids('sub-S001_task-emotion_run-1')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bids_events-0.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for bids_events-0.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51e8f576a400f44fe888e9ad9612f04b90a04d8bffcde513e59ba135555c812f |
|
MD5 | 8d6fc64f046189ccd0a887825a968105 |
|
BLAKE2b-256 | 1af74762539d30ba851f848c1648359829fa8566368c4ecd520ebd33e2111be1 |