Read NMR data files in the TecMag .tnt file format
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytnt-0.1.0.tar.gz
(36.9 kB
view details)
Built Distribution
pytnt-0.1.0-py2.py3-none-any.whl
(28.0 kB
view details)
File details
Details for the file pytnt-0.1.0.tar.gz
.
File metadata
- Download URL: pytnt-0.1.0.tar.gz
- Upload date:
- Size: 36.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
698c268d50f28e0f4f2912ef3c3d808fe2b5f088d94757aa5d09c4162e3fe47c
|
|
MD5 |
ebc74d98edc1622563267252a4a197fe
|
|
BLAKE2b-256 |
41636f08650e6f47b3e92230a4169b4e95723b0c3d45ea1a6dbd0765821d9f82
|
File details
Details for the file pytnt-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pytnt-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
18593a85af62e7dc895e10f3ea2bfef760eefa88bc743fcd6e9562a42d4af8f3
|
|
MD5 |
3aab9d689733aff030c6bb05463efc37
|
|
BLAKE2b-256 |
c010f3556a67cb716b3884eef5bd4495de74ea29836a9d72b14f770e98f06d9d
|