pytnt
Simple Python module for accessing .tnt NMR data files produced by TecMag's TNMR software.
Usage
>>> from pytnt import TNTfile
>>> tnt = TNTfile('my-data-file.tnt')
## The raw NMR FID data
>>> fid_data = tnt.DATA
>>> fid_data.dtype
dtype('complex64')
>>> fid_data.shape
(16384, 1, 1, 1)
## The Fourier-transformed spectrum data
>>> spec_data = tnt.freq_ppm()
>>> spec_data.dtype
dtype('float64')
>>> spec_data.shape
(16384,)
## Some metadata
>>> tnt.date
datetime.datetime(2012, 11, 29, 15, 32, 3)
>>> tnt.magnet_field # in Tesla
2.11
Metadata
Release files for pytnt 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytnt-0.1.0.tar.gz | 36.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytnt-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 64.9 kB
Release files / pytnt-0.1.0.tar.gz
| Download URL | pytnt-0.1.0.tar.gz |
|---|---|
| Size | 36.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
698c268d50f28e0f4f2912ef3c3d808fe2b5f088d94757aa5d09c4162e3fe47c
|
|
BLAKE2b-256 checksum How to use checksums |
41636f08650e6f47b3e92230a4169b4e95723b0c3d45ea1a6dbd0765821d9f82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Release files / pytnt-0.1.0-py2.py3-none-any.whl
| Download URL | pytnt-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 28.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
18593a85af62e7dc895e10f3ea2bfef760eefa88bc743fcd6e9562a42d4af8f3
|
|
BLAKE2b-256 checksum How to use checksums |
c010f3556a67cb716b3884eef5bd4495de74ea29836a9d72b14f770e98f06d9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|