A django app to manage MRI data.
Currently only supports data in the DICOM format, and will soon also support NIfTI.
This app is being built and maintained as part of the pylabber project.
- Add django_mri and django_dicom to your INSTALLED_APPS setting:
INSTALLED_APPS = [
...
'django_dicom',
'django_mri',
]
- Include the dicom URLconf in your project urls.py:
path("api/", include("django_mri.urls", namespace="mri")),
# Optional:
path("api/", include("django_dicom.urls", namespace="dicom")),
# if you would like to also expose the django_dicom API.
-
Run
python manage.py migrate
to create the dicom models. -
Start the development server and visit http://127.0.0.1:8000/admin/.
-
Visit http://127.0.0.1:8000/mri/.