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

Uploaded Source

Built Distribution

t1est-0.1.1-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: t1est-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for t1est-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bb54a6ad47df9d52684edd76c94ff696000e2352002fd12a669e3a6d5890b407
MD5 c5555916ca3f693c99901a5dda37841d
BLAKE2b-256 434c61e3f3887b484d4b6212affd1371d4409b29b4ceb170c584cb312a83f731

See more details on using hashes here.

File details

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

File metadata

  • Download URL: t1est-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.5 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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for t1est-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a57befd1fff2cdd71216360cad3ba4c43e25ef2ad84a7a5553f703cda0b2ac7b
MD5 6b36e04342d46badfc36114bbd1aa377
BLAKE2b-256 95517a0ffd951eab34330c1794f463a6215b71ed1498e17bb2804a0a96f1ff2f

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