Skip to content

Tereshchenkolab/ecg-digitize

Repository files navigation

ECG Digitize

A library for generating digital signals from electrocardiogram images.

Getting Started

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

Install Python 3.6.7 using pyenv install:

pyenv install 3.6.7

Set up an environment

  1. Use pyenv to create a virtual environment for the project.

    pyenv virtualenv 3.6.7 ecg-digitize
  2. 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

Install dependencies

Use pip install to install required dependencies:

pip install --upgrade pip
pip install -r requirements.txt

⚠️ This may take several minutes

Uninstalling

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

Dependencies

The project currently requires Python 3.6.7 to work with paper-ecg, which depends on fbs (see 3.7 support issue).

About

A library and command-line tool for digitizing electrocardiograms images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages