Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Simulate the triggers sent by the MRI (key pressed).

License

Notifications You must be signed in to change notification settings

fcbg-platforms/mri-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code style: black Imports: isort codecov tests

MRI-Simulator

Simulate the triggers sent by the MRI (key pressed) in python 3.

Installation

This repository can be installed with pip install git+https://github.com/fcbg-platforms/mri-simulator.

Usage

from mrisim.config import read_config
from mrisim import simulate

# use read_config to load a custom .ini configuration
fname = "my_config.ini"
key, repetition, period, wait = read_config(fname)

# use simulate to run the key-press simulation
simulate(key, repetition, period, wait)

An entry-point mrisim is available. Use mrisim --help in a terminal for information about the arguments.

About

Simulate the triggers sent by the MRI (key pressed).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages