Skip to main content

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)

Metadata

Release files for t1est 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for t1est 0.1.2
File Size Uploaded
t1est-0.1.2.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for t1est 0.1.2
File Interpreter ABI Platform
t1est-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 26.6 kB

Release files / t1est-0.1.2.tar.gz

Download URL t1est-0.1.2.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6d89f8f73f70d294ee4ff12ff23e26f8b0b65f8796242e28c5240f61bbe626b0
BLAKE2b-256 checksum
How to use checksums
56f1fa34ac6e60431217c7ed3f5b9063d9701997133d4aaa40d451c429e2a17a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / t1est-0.1.2-py3-none-any.whl

Download URL t1est-0.1.2-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9374f01de752b365cba834a1b313dd3752d4d98b44803c89c4aa4b66e438591d
BLAKE2b-256 checksum
How to use checksums
d86efc73b4baad8f07e39b9414778d578cf07f054be2e0fc8be6c6bc9a31c3d4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page