Skip to main content

Scripts and functions for the pharmacokinetic modeling of hyperpolarized [1-13C]-pyruvate.

Project description

HP C1-Pyruvate Pharmacokinetic Modeling Package for Python

Purpose

    This package was meant to create a more user friendly, open source version of the MATLAB developed by the MD Anderson Magnetic Resonance Engineering Laboratory. The original repository is available at https://github.com/mda-mrsl/HP-C1Pyr-PK
    These scripts calculate the relationship between [1-13C]-pyruvate and [1-13C]-lactate, but can easily be extended to include other metabolites.
    There are three base models, of differing complexity, which include a different number of physical compartments:
    The scripts titled P2L3*.py describe signal evolution between two chemical pools and three physical compartments. The three-compartment model is the most physiologically accurate among these models, but it is also the most computationally intensive, requiring the largest number of descriptive parameters.
    The scripts titled P2L2*.py are for the PK model with two chemical pools and two physical compartments. Here, HP pyruvate and lactate in the extravascular/extracellular space is assumed to be very well mixed with HP pyruvate in the intracellular space - and separate from pyr/lac in the vascular supply.
    The scripts titled P2L1*.py represent a simple precursor-product model, which does not consider physical compartmentalization of imaging agents. Equivalently, this assumes that all compartments (vascular; extravascular/extracellular; and cellular) are well mixed.
    Each script is accompanied by utilities and a test function which runs a model and plots the results for given parameters.

Installation

    Running requires python version 3.10 or compatible
    Can be installed from Pypi repository with pip
    pip install pkhpc1pyr
    The required dependencies can be found in the file requirements.txt and installed with the command
    pip install -r requirements.txt
    The installation can be tested by calling the TestP2L* functions without any arguments. For example:
    import pkhpc1pyr as pk
    pk.tests.TestP2L3()

Contact

    For questions about code or maintenance please contact Ryan Boyce
    rboyce@mdanderson.org
    For further questions about the original MATLAB repository please contact Dr. Jim Bankson
    jbankson@mdanderson.org

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

pkhpc1pyr-0.0.4.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

pkhpc1pyr-0.0.4-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file pkhpc1pyr-0.0.4.tar.gz.

File metadata

  • Download URL: pkhpc1pyr-0.0.4.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pkhpc1pyr-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3024cfe8cdc574c6a17191a14fef16ce6ee37985955877b736e523db347dd57e
MD5 a0f275d249e3c5e1766a86bf1767e28d
BLAKE2b-256 6e0329882016c262bac7d70717bdaa572c86e7e8eb8b536bb0951ed9adcc0cfc

See more details on using hashes here.

File details

Details for the file pkhpc1pyr-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pkhpc1pyr-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pkhpc1pyr-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5ca7ac44f6e36b34e079b8b90ce631b8aac889d734ee68f4dd20800391293c11
MD5 e17511ded9161193f2769b1ae0cca480
BLAKE2b-256 1ed74f991072d4a60184056dc6ed97d5a39135aedaa39934fd58f88e0b303534

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