A library for generating digital signals from electrocardiogram images.
If you have already followed the paper-ecg
setup guide, just set pyenv local paper-ecg
in the repository root directory and you are good to go.
This assumes a working version of PyEnv.
Install Python 3.6.7 using pyenv install
:
pyenv install 3.6.7
-
Use
pyenv
to create a virtual environment for the project.pyenv virtualenv 3.6.7 ecg-digitize
-
Navigate to the project root directory (
.../paper-ecg/
) and assign the virtual environment you just created to the current directory (this automatically activates the environment).pyenv local paper-ecg
Now, whenever this folder is the working directory in terminal, this environment will be used. Test this out by running:
> python --version 3.6.7
Use pip install
to install required dependencies:
pip install --upgrade pip
pip install -r requirements.txt
⚠️ This may take several minutes
If you no longer want to have the paper-ecg
virtualenv, you can delete it:
pyenv virtualenv-delete paper-ecg
If you wish to remove Python 3.6.7:
pyenv uninstall 3.6.7
The project currently requires Python 3.6.7
to work with paper-ecg
, which depends on fbs
(see 3.7 support issue).