Getting the SDK¶
We offer two different ways of obtaining the QMENTA SDK:
Install the SDK to a Debian based container (for already containerized solutions).
Use our off-the-shelf base images to insert your algorithms (for users new to Docker).
Install Python Package¶
In order to get the latest version of our SDK installer and install it in your container, you can follow the sequence of commands shown below:
These commands are expected to be executed on the Debian-based container.
Check that your container meets the requirements:
A Debian-based distribution (for instance Ubuntu).
Python 2.7 or 3.5+.
If your container is Debian-based, you can install the required programs by running:
apt install python python-pip wget
Download the QMENTA SDK Python package inside your container:
pip install qmenta-sdk-lib
Create an empty entrypoint.sh passing the path where you want it to be generated and the paths to the directory where the python tool script will be located (it automatically updates the PYTHONPATH variable).
python -m qmenta.sdk.make_entrypoint ./entrypoint.sh /root/
Extend Docker Image¶
We provide several images that you can get to start implementing your own tools. These images contain a working version of Ubuntu with our SDK (a preinstalled python library).
Make sure you have Docker in your computer (you can download it from here). Docker supports most operative systems (Mac, Windows, Ubuntu, Debian, CentOS, Fedora).
Choose the base image that suits you better:
Ubuntu 18.04 image with the bare minimum to run in our platform (our SDK and Python 3.6).
Ubuntu 18.04 image with the bare minimum to run in our platform (our SDK and Python 2.7).
Ubuntu 14.04 image, with MRtrix3.0 and ANTs 2.1.0 installed.
Ubuntu 14.04 image with MATLAB RTC R2015a installed (more on Examples).
Ubuntu 14.04 image with MATLAB RTC R2017a installed (more on Examples).
Download an image to your computer:
docker pull qmentasdk/image_name:version
Check that you have indeed downloaded the image by running:
If you require any special requirement that cannot be fulfilled by any of the former base images, please do not hesitate to contact us at email@example.com.