Skip to main content

T1 fitting

Project description

T1 fitting

Simple T1 fitting. Uses the following fitting model: x = A - B exp{-t/T_1}

where A and B are complex coefficients, t are the inversion times.

Installation

Should be as easy as:

pip install t1est

Usage

Run examples as follows:

python -m t1est.examples.basic_usage

The function t1est() can be called as follows:

from t1est import t1est

# x is the array of images at different inversion times.  The
# inversion times are provided as TIs
T1map = t1est(
    x, TIs, time_axis=-1, mask=mask, method='trf', T1_bnds=(0, 3),
    chunksize=10, molli=True)

Notice that x may be any-dimensional, but time points must lie along the time_axis dimension. If molli=True, then T1 is adjusted as follows: T1’ = T1 (B/A - 1)

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

t1est-0.0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

t1est-0.0.2-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file t1est-0.0.2.tar.gz.

File metadata

  • Download URL: t1est-0.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for t1est-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f6bc936e97a8af56c60961124238ab6fec0db988327a54933d7656039434e3c6
MD5 e73edf419d1a75ab2ae46b26aa53fdda
BLAKE2b-256 1fedeb51fa2d8fe3b30fd8086985bf206d72085dc3d9df9c3dddda6da38082da

See more details on using hashes here.

File details

Details for the file t1est-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: t1est-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for t1est-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47ddb38975c7b77c98464ae51bf05d09afa1dbe06908861ca453b9e4a7c21ff9
MD5 dabb88daa9d8d5ff2b37f4a55d0f393c
BLAKE2b-256 59c589c5f9b64907f786859157cc7bdf7103faec84659d9326fec6b8d6e8af1a

See more details on using hashes here.

Supported by

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