Skip to main content

Basic 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, mag=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.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

t1est-0.1.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: t1est-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 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.1.0.tar.gz
Algorithm Hash digest
SHA256 d163f809675794d2b0b307edab18272daef0107f352c5679ba9752aee73df2ad
MD5 d4097d68f3229aa8db5fd36426ba6045
BLAKE2b-256 72f5973baf1d3cad80ab3a5307a1d92454173a866541baf4f7e178a8837b2dc1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: t1est-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33d286e59be78a58940142da33224efc63df7e6a0fd28dd5af4107ac7afaa3af
MD5 bf20fe953d85d3e2ad425c61b98fc24f
BLAKE2b-256 b0543c7f95fd4a4d513b3dbdd3dfdb29cecdb6fb5106c50e8e00f9d9ec14b440

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