Skip to main content

UKRIN Kidney Analysis Toolbox

Project description

UKRIN Kidney Analysis Toolbox (ukat)

Build and Test codecov PyPI version License: GPL v3 DOI

ukat is a vendor agnostic framework for the analysis of quantitative renal MRI data.

The UKRIN-MAPS project aims to standardise the acquisition and analysis of renal MRI data to enable multi-site, multi-vendor studies. Although many MRI vendors produce quantitative maps on the scanner, their methods are closed source and as such, potentially cause variability in multi-vendor studies. ukat provides an open-source and robust analysis platform that can be used to process data from multiple vendors.

The focus of this package is analysis of data from the standardised UKRIN protocol, however the methods are intentionally left generic to enable analysis of data collected using different protocols or on different areas of the body.

More information can be found in this ISMRM abstract.

Installing ukat

There are a few different ways you can install ukat based on what you want to do with it

"I just want to process my data with this package"

  1. Make sure you're running Python >=3.7
  2. Install ukat with pip install ukat

"I want to modify this code to do something a bit different but don't want my modifications to go back into ukat"

  1. Clone this repository with git clone https://github.com/UKRIN-MAPS/ukat.git
  2. Change to the ukat root directory (the one containing a file named setup.py).
  3. Run the following command in your terminal: pip install -e .

Now if you make any changes to the ukat code, they'll permeate into any analysis you perform where you've imported ukat.

"I want to contribute to ukat and write code that ends up back on this repository for others to use"

Great!

Fork the repository to your GitHub account. Then, clone the repository to your local machine. After doing this, you should see:

$ git remote -v
origin   https://github.com/<YOUR-GITHUB-USERNAME>/ukat.git (fetch)
origin   https://github.com/<YOUR-GITHUB-USERNAME>/ukat.git (push)

Now, configure git to sync your fork with the original ukat repository:

$ git remote add upstream https://github.com/UKRIN-MAPS/ukat.git

Now the upstream repository should be set:

$ git remote -v
origin     https://github.com/<YOUR-GITHUB-USERNAME>/ukat.git (fetch)
origin     https://github.com/<YOUR-GITHUB-USERNAME>/ukat.git (push)
upstream   https://github.com/UKRIN-MAPS/ukat.git (fetch)
upstream   https://github.com/UKRIN-MAPS/ukat.git (push)

Now you can suggest changes (e.g. suggest new code) to be added to the repository via pull requests. Don't forget to keep your fork in sync with the upstream repository (i.e. the ukat repository in the UKRIN-MAPS organisation).

If you are new to git/GitHub you may find the following cheat sheets handy (web, pdf).

You'll probably also want to follow the instructions in the section above so you can use ukat for your normal analysis.

If you run into any problems or find any issues with the installation process please raise an issue.

Contributing guidelines

Please read our contributing guidelines (work-in-progress).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ukat-0.6.0.tar.gz (70.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ukat-0.6.0-py3-none-any.whl (87.7 kB view details)

Uploaded Python 3

File details

Details for the file ukat-0.6.0.tar.gz.

File metadata

  • Download URL: ukat-0.6.0.tar.gz
  • Upload date:
  • Size: 70.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ukat-0.6.0.tar.gz
Algorithm Hash digest
SHA256 84694c2608c74bc3771b8586cc1ee18bf8d807a29f4ef95d570aff06f2202e0d
MD5 9a970b4e62d0879cff63cac49ec5afe2
BLAKE2b-256 e760e74811775704c302673cd28b3669efdbcb5cd35780d89c5b18069cdb387a

See more details on using hashes here.

File details

Details for the file ukat-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: ukat-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 87.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ukat-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9f59a9574c92592553614dd2ce0ac3b394fa62325c2da815f799ca42de488cc
MD5 00f2011f8adf373d26878bf84e115321
BLAKE2b-256 752c2a0af3be5b46d79ec35ddd9961662ecb9b5f501bbf5215bc4e7a6064b5bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page