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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file t1est-0.1.2.tar.gz.
File metadata
- Download URL: t1est-0.1.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d89f8f73f70d294ee4ff12ff23e26f8b0b65f8796242e28c5240f61bbe626b0
|
|
| MD5 |
9e4d4e3ccf5bca6d0fea0980b0f04759
|
|
| BLAKE2b-256 |
56f1fa34ac6e60431217c7ed3f5b9063d9701997133d4aaa40d451c429e2a17a
|
File details
Details for the file t1est-0.1.2-py3-none-any.whl.
File metadata
- Download URL: t1est-0.1.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9374f01de752b365cba834a1b313dd3752d4d98b44803c89c4aa4b66e438591d
|
|
| MD5 |
6ec906722e2bf9ee5b293bd074673aa6
|
|
| BLAKE2b-256 |
d86efc73b4baad8f07e39b9414778d578cf07f054be2e0fc8be6c6bc9a31c3d4
|