Titan Radiative Transfer Model package
Project description
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
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
trtm-0.1.2.tar.gz
(9.2 kB
view hashes)
Built Distribution
trtm-0.1.2-py2.py3-none-any.whl
(11.3 kB
view hashes)