Skip to main content

Titan Radiative Transfer Model package

Project description

Build PyPI Python Version License

Install

From PyPI:

pip install trtm

From the sources:

git clone https://github.com/seignovert/trtm.git && cd trtm
python setup.py develop

Usage

>>> from trtm import TRTM

>>> data = TRTM('1590648776_1', root='tests/data', suffix='test_SPSDISORT')

>>> data.keys()
[
    'setup',
    'wvlns',
    'outputs',
    'cube',
    ...
    'FH',
    ...
    'I_F',
    ...
    'albedo_corr',
    ...
]

>>> data['setup']
{
    'Numéro cube et pixel': 'C1590648776_1',
    'NKS': 4,
    ...
}

>>> data['NKS']
4

>>> out['FH'].shape
(5, 3)

>>> out['FH', 3, 5]
0.900057

>>> out['I_F'].shape
(256, 5, 3)

>>> out['I_F', 5.0].shape
(5, 3)

>>> out['I_F', 1, 1].shape
(256, )

>>>out['I_F', 1, 1, 5.12]
0.04082437994

See examples in Jupyter notebook examples.

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

trtm-0.1.2.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

trtm-0.1.2-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file trtm-0.1.2.tar.gz.

File metadata

  • Download URL: trtm-0.1.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.9

File hashes

Hashes for trtm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6199d708a115c748ecc8ae289d163e5af622256fff9946b4661cdc4c3edf9f7e
MD5 644e674513da423de57e8117ce86af8d
BLAKE2b-256 024f34fcf3a3c95d92bb9962e6d08ec8c6d6dbeb628558b8bb7046e09d7262fd

See more details on using hashes here.

File details

Details for the file trtm-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: trtm-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.9

File hashes

Hashes for trtm-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ff51b9edeb4d5a75c81e54e63e9617e2ec46db2279dda1aa593c7438950cb51e
MD5 b18043edf7875b54c257b1548b36690d
BLAKE2b-256 10774e111668a02b5041906d8e67f099a8ff17077d5bf7ba0aac87fd2278583e

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