The ecg step is a plugin for the MAP Client application that registers ECG data to 3D models. The ECG data is sourced from a Blackfynn acount (a cloud storage platform) and linked to the model to view and export to the webGL viewer (the in-broswer version).
-
Mapclient installation: If you have a current version of mapclient running, skip this step. Otherwise follow the instructions here. The plugins mentioned in the instructions can be ignored but all other elements of the installation will be needed.
-
ecgstep plugin installation: Navigate to the 'plugins' folder created during the mapclient installation.
-
Use
git clone https://github.com/Tehsurfer/mapclientplugins.ecgstep.git
-
Install requirements with
pip install -r requirements.txt
-
Adding plugin to Mapclient: if the plugin does not show up in Mapclient, add the directory 'mapclientplugins.ecgstep' to the plugin directories list
The Step requires an input in the from of a list of 3D coordinates for the step as an input to render, while the output of the step is optional.
The input step will need to output a list of 3D coordinates for the step to render. An example of how such coordinates would look is below:
coordinate_list = [[0.0, 0.0, 0.0], [0.0, 0.0, 0.1], [0.0, 0.0, 0.2],...]
Alternatively: You can download the dummy data step I have created.