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
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.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

t1est-0.0.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: t1est-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 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.1.tar.gz
Algorithm Hash digest
SHA256 aacc7affe9e5211639e072e06510cda5cfaae3f39e401a48303b0ab5d479c461
MD5 a706dd1713e82e727c8ac9ada2578214
BLAKE2b-256 2f1a55516e4607a736cbe272f5c2a5635923aa1eb3fac4ade08f37c88ae07743

See more details on using hashes here.

File details

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

File metadata

  • Download URL: t1est-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a5a99de3df0b30f428bf2b76a87fc8cb6b28661631e69b8b6578d45ad8c7182
MD5 4dcddd4e7cf20f8a9571a505b6afcea0
BLAKE2b-256 623ad4c9abd22d3b6b2b06190f492add408d3cd55a97ec6b62116a5eead70d92

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