spagnoloG / wfdb-docker

Dockerization of wfdb binary, for the course of biomedical signal and image processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wfdb-docker

Setup of physionet database

cd ~/datasets/physionet
wget -r -N -c -np https://physionet.org/files/ltstdb/1.0.0/

Setup of wfdb-docker

Locally build the docker image:

docker build -t wfdb-docker .

Run the docker image:

DATASET_DIR=~/datasets/physionet/files/ltstdb/1.0.0/
docker run -it --rm -v $DATASET_DIR:/data wfdb-docker wfdb2mat -r /data/s2011 -f 0 -t 5

Or if you don't want to build the image locally, you can pull it from dockerhub:

DATASET_DIR=~/datasets/physionet/files/ltstdb/1.0.0/
docker pull ghcr.io/spagnolog/wfdb-docker:main
docker run -it --rm  -v $DATASET_DIR:/data ghcr.io/spagnolog/wfdb-docker:main wfdb2mat -r /data/s20221 -f 0 -t 5

About

Dockerization of wfdb binary, for the course of biomedical signal and image processing


Languages

Language:MATLAB 65.0%Language:Shell 22.4%Language:Dockerfile 12.6%