pyratbay 2.0.0b2__tar.gz → 2.0.0b4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyratbay might be problematic. Click here for more details.
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/CHANGELOG.txt +116 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/PKG-INFO +4 -3
- pyratbay-2.0.0b4/docs/.index.rst.swp +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/atm_tutorial.rst +2 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/conf.py +13 -6
- pyratbay-2.0.0b4/docs/custom_style.py +19 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/docs_requirements.txt +1 -1
- pyratbay-2.0.0b4/docs/figures/HCN_partition_functions.png +0 -0
- pyratbay-2.0.0b4/docs/figures/VO_cross_section.png +0 -0
- pyratbay-2.0.0b4/docs/figures/pyrat_spectrum_demo.png +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/getstarted.rst +40 -45
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/index.rst +3 -4
- pyratbay-2.0.0b4/docs/line_sampling.rst +222 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/references.rst +28 -12
- pyratbay-2.0.0b4/docs/specral_synthesis.rst +689 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyproject.toml +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/__main__.py +12 -2
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/atmosphere/atmosphere.py +17 -15
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/atmosphere/tmodels/tmodels.py +1 -2
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/constants/astrophysical_constants.py +3 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/constants/code_constants.py +5 -6
- pyratbay-2.0.0b4/pyratbay/data/filters/cheops.dat +153 -0
- pyratbay-2.0.0b4/pyratbay/data/filters/kepler.dat +559 -0
- pyratbay-2.0.0b4/pyratbay/data/filters/tess.dat +59 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/data/isotopes.dat +9 -7
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/data/molecules.dat +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/io/io.py +52 -53
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/alkali/alkali.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/broadening/broadening.py +2 -2
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/line_sampling.py +112 -13
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/linelist/driver.py +3 -3
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/linelist/hitran.py +18 -7
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/partitions/partitions.py +235 -84
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/rayleigh/rayleigh.py +11 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/plots/plots.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/argum.py +10 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/atmosphere.py +1 -4
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/line_by_line.py +17 -2
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/objects.py +3 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/observation.py +4 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/opacity.py +3 -3
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/pyrat_obj.py +45 -11
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/retrieval.py +6 -2
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/spectrum.py +14 -3
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/spectrum/blackbody.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/spectrum/contribution_funcs.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/spectrum/kurucz.py +2 -6
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/spectrum/phoenix.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/spectrum/radiative_transfer.py +2 -2
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/spectrum/spec_tools.py +320 -108
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/tools/data.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/tools/parser.py +35 -7
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/tools/retrieval_tools.py +2 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/tools/tools.py +8 -53
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/version.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay.egg-info/PKG-INFO +4 -3
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay.egg-info/SOURCES.txt +19 -12
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay.egg-info/requires.txt +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/requirements.txt +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/opacity_test.cfg +1 -1
- pyratbay-2.0.0b4/tests/configs/opacity_test_single_iso.cfg +34 -0
- pyratbay-2.0.0b4/tests/configs/opacity_test_single_iso_fail.cfg +34 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/spectrum_emission_test.cfg +1 -1
- pyratbay-2.0.0b4/tests/configs/spectrum_transmission_interp_press.cfg +72 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/spectrum_transmission_interp_temp.cfg +2 -3
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/spectrum_transmission_test.cfg +1 -1
- pyratbay-2.0.0b4/tests/expected/expected_spectrum_emission_all_test.npz +0 -0
- pyratbay-2.0.0b4/tests/expected/expected_spectrum_emission_etable_test.npz +0 -0
- pyratbay-2.0.0b4/tests/expected/expected_spectrum_emission_quadrature_test.npz +0 -0
- pyratbay-2.0.0b4/tests/expected/expected_spectrum_emission_resolution_test.npz +0 -0
- pyratbay-2.0.0b4/tests/expected/expected_spectrum_emission_tli_test.npz +0 -0
- pyratbay-2.0.0b4/tests/expected/expected_spectrum_emission_two_stream_test.npz +0 -0
- pyratbay-2.0.0b4/tests/expected/expected_spectrum_transmission_resolution_test.npz +0 -0
- pyratbay-2.0.0b4/tests/expected/expected_spectrum_transmission_wl_step_test.npz +0 -0
- pyratbay-2.0.0b4/tests/inputs/1H-12C-14N__MockHarris.states +100 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_data_mix.dat +2 -2
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_data_passband_file.dat +2 -3
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_passband_file.dat +2 -2
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/revise_spectra.py +3 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_atmosphere.py +9 -12
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_broadening.py +3 -3
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_emission.py +11 -9
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_fails.py +15 -10
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_io.py +49 -23
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_opacity_alkali.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_opacity_cia.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_opacity_rayleigh.py +22 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_partitions.py +92 -16
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_pbay.py +14 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_plots.py +1 -1
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_spectrum.py +129 -51
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_str.py +17 -13
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_tli.py +10 -11
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_tools.py +5 -5
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_transmission.py +15 -8
- pyratbay-2.0.0b2/docs/figures/pyrat_spectrum_demo.png +0 -0
- pyratbay-2.0.0b2/docs/opac_tutorial.rst +0 -102
- pyratbay-2.0.0b2/examples/demo/demo_spectrum-emission.cfg +0 -51
- pyratbay-2.0.0b2/examples/demo/demo_spectrum-transmission.cfg +0 -51
- pyratbay-2.0.0b2/examples/demo/demo_tli-hitran.cfg +0 -24
- pyratbay-2.0.0b2/examples/demo/uniform.atm +0 -119
- pyratbay-2.0.0b2/examples/tutorial/tli_hitran_H2O.cfg +0 -24
- pyratbay-2.0.0b2/tests/expected/expected_spectrum_emission_all_test.npz +0 -0
- pyratbay-2.0.0b2/tests/expected/expected_spectrum_emission_etable_test.npz +0 -0
- pyratbay-2.0.0b2/tests/expected/expected_spectrum_emission_quadrature_test.npz +0 -0
- pyratbay-2.0.0b2/tests/expected/expected_spectrum_emission_resolution_test.npz +0 -0
- pyratbay-2.0.0b2/tests/expected/expected_spectrum_emission_tli_test.npz +0 -0
- pyratbay-2.0.0b2/tests/expected/expected_spectrum_emission_two_stream_test.npz +0 -0
- pyratbay-2.0.0b2/tests/expected/expected_spectrum_transmission_resolution_test.npz +0 -0
- pyratbay-2.0.0b2/tests/expected/expected_spectrum_transmission_wl_step_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/.readthedocs.yml +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/.travis.yml +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/CONTRIBUTING.md +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/LICENSE +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/MANIFEST.in +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/README.md +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/Makefile +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/api.rst +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/contributing.rst +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/figures/broadening.png +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/figures/favicon.ico +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/figures/pyrat_PT_tutorial.png +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/figures/pyrat_atmosphere_tutorial.png +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/figures/pyrat_hydrostatic_tutorial.png +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/figures/pyrat_logo.png +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/figures/pyrat_transmission-spectrum_tutorial.png +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/figures/pyrat_user_case.png +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/license.rst +0 -0
- /pyratbay-2.0.0b2/docs/tli_tutorial.rst → /pyratbay-2.0.0b4/docs/line_sampling.rst~ +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/make.bat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/retrieval_tutorial.rst +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/spec_tutorial.rst +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/docs/units.rst +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/atmosphere_hydro_g.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/atmosphere_hydro_m.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/observation_file.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/opacity.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/pt_guillot.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/pt_isothermal.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/pt_isothermal_tutorial.log +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/pt_madhu.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/retrieval_eclipse.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/examples/tutorial/spectrum_transmission.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/atmosphere/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/atmosphere/tmodels/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/atmosphere/vmr_models/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/atmosphere/vmr_models/vmr_models.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/atmosphere/vmr_scaling.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/constants/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/data/AsplundEtal2009.txt +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/data/CIA/CIA_Borysow_H2H2_0060-7000K_0.6-500um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/data/CIA/CIA_Borysow_H2He_0050-3000K_0.3-030um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/data/CIA/CIA_Borysow_H2He_0050-7000K_0.5-031um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/data/CIA/CIA_Borysow_H2He_1000-7000K_0.5-400um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/data/atoms.dat +0 -0
- /pyratbay-2.0.0b2/pyratbay/data/filters/spitzer_irac1_sa.dat → /pyratbay-2.0.0b4/pyratbay/data/filters/spitzer_irac1.dat +0 -0
- /pyratbay-2.0.0b2/pyratbay/data/filters/spitzer_irac2_sa.dat → /pyratbay-2.0.0b4/pyratbay/data/filters/spitzer_irac2.dat +0 -0
- /pyratbay-2.0.0b2/pyratbay/data/filters/spitzer_irac3_sa.dat → /pyratbay-2.0.0b4/pyratbay/data/filters/spitzer_irac3.dat +0 -0
- /pyratbay-2.0.0b2/pyratbay/data/filters/spitzer_irac4_sa.dat → /pyratbay-2.0.0b4/pyratbay/data/filters/spitzer_irac4.dat +0 -0
- /pyratbay-2.0.0b2/pyratbay/data/filters/spitzer_mips24.dat → /pyratbay-2.0.0b4/pyratbay/data/filters/spitzer_mips.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/data/tips_2021.pkl +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/driver.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/io/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/alkali/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/broadening/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/cia.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/clouds/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/clouds/gray.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/hydrogen_ion.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/linelist/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/linelist/exomol.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/linelist/pands.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/linelist/repack.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/linelist/tioschwenke.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/linelist/vald.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/linelist/voplez.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/lread.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/partitions/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/opacity/rayleigh/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/plots/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/extinction.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/optical_depth.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/pyrat/voigt.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/spectrum/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/spectrum/convection.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/tools/__init__.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay/tools/mpi_tools.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay.egg-info/dependency_links.txt +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay.egg-info/entry_points.txt +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/pyratbay.egg-info/top_level.txt +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/setup.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/setup.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/_alkali.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/_blackbody.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/_extcoeff.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/_indices.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/_pt.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/_simpson.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/_spline.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/_trapz.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/_two_stream.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/cutils.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/include/constants.h +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/include/expn.h +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/include/expn_tmp.h +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/include/ind.h +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/include/simpson.h +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/include/spline.h +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/include/utils.h +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/include/voigt.h +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/src_c/vprofile.c +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/atmosphere_hydro_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/atmosphere_jupiter_calc.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/atmosphere_jupiter_read.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/atmosphere_tea_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/atmosphere_uniform_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/mcmc_transmission_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/opacity_multiple.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/pt_guillot.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/pt_isothermal.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/pt_madhu.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/retrieval_emission_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/retrieval_transmission_tea.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/spectrum_emission_filters_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/spectrum_transmission_extfile.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/spectrum_transmission_filters_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/spectrum_transmission_h_ion.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/spectrum_transmission_multiple_opacities.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_exomol_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_hitran_1.1-1.7um_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_hitran_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_hitran_two_files_one_db_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_hitran_two_files_one_dbtype.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_hitran_two_files_one_pflist.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_hitran_two_files_two_db_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_multiple_opacity_CH4.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_multiple_opacity_CO2.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_multiple_opacity_H2O.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_pands_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/configs/tli_repack_test.cfg +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/conftest.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_alkali_K_opacity.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_alkali_Na_opacity.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_cia_H2H2_opacity.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_get_ec_lbl.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_get_ec_ls.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_ls_H2O_opacity.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_profile_gauss_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_profile_lorentz_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_profile_voigt0.01_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_profile_voigt0.1_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_profile_voigt1.0_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_profile_voigt10.0_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_profile_voigt100.0_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_emission_alkali_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_emission_cia_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_emission_deck_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_emission_lec_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_emission_scale_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_emission_tmodel_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_emission_vert_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_alkali_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_all_ls_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_all_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_bandflux4_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_cia_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_deck_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_etable_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_fit1_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_fit2_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_fit3_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_fit4_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_h_ion_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_lec_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_patchy_clear_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_patchy_cloudy_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_patchy_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_scale_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_H2_H2_cia_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_alkali_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_cia_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_cloud_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_dalgarno_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_deck_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_lbl_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_ls_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_rayleigh_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_skip_sodium_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_tli_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_tmodel_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_spectrum_transmission_vert_test.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_tea_profile.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/expected/expected_tea_sub_solar_profile.npz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.133um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.158um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.183um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.209um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.235um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.260um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.285um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.310um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.336um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.361um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.387um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.413um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.438um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.464um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.489um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.515um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.540um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.565um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.591um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/filters/filter_test_WFC3_G141_1.616um.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/01_hit12.par +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/14N-1H3__MockBYTe.states +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/14N-1H3__MockBYTe__04999-05000.trans +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/15N-1H3__MockBYTe-15.states +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/15N-1H3__MockBYTe-15__04999-05000.trans +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/CO2_hitran_2.50-2.52um_repack-0.01_lbl.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/Mock_HITRAN_H2O_1.00-1.01um.par +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/PF_Exomol_NH3.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/PF_tips_CO2.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/TESS_passband.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/atmosphere_uniform_even_layers.atm +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/atmosphere_uniform_no_potassium.atm +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/atmosphere_uniform_radius.atm +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/atmosphere_uniform_radius.log +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/atmosphere_uniform_test.atm +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/edit_01_hit12.par +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/jupiter_isothermal_uniform_vmr.atm +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/jupiter_isothermal_uniform_vmr.log +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/jupiter_isothermal_uniform_vmr_read.atm +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_01_hit12.par +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_02_3750-4000_HITEMP2010.par +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_02_3750-4000_HITEMP2010.tar.gz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_02_4000-4500_HITEMP2010.par +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_02_4000-4500_HITEMP2010.tar.gz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_02_hit12.par +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_02_hit12.tar.gz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_06_hit12.par +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_06_hit12.tar.gz +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_H2-H2_2011.cia +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_fp00k0odfnew.pck +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_h2ofastfix.bin +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_h2opartfn.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/mock_tiopart.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/multinest_output.txt +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/multinest_outputstats.txt +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/multinest_outputstats_2modes.txt +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_WFC3.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_data_tophat.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_data_tophat_named.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_err_scaling.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_extra_depth_flag.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_missing_depth_flag.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_tophat.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/obs_file_tophat_named.dat +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/inputs/uniform_notemp_test.atm +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/outputs/.gitignore +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_data.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_mpi.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_opacity_H_ion.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_opacity_line_sample.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_pyrat.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_retrieval.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_run_atmosphere.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_src.py +0 -0
- {pyratbay-2.0.0b2 → pyratbay-2.0.0b4}/tests/test_vmr_models.py +0 -0
|
@@ -9514,3 +9514,119 @@ to allow renaming the post-process outputs.
|
|
|
9514
9514
|
|
|
9515
9515
|
Updated version to 2.0.0b2
|
|
9516
9516
|
|
|
9517
|
+
|
|
9518
|
+
***** Di 22 Okt 2024 09:47:09 CEST *****
|
|
9519
|
+
|
|
9520
|
+
Corrected np.trapz() to np.trapezoid() to avoid deprecation warning.
|
|
9521
|
+
|
|
9522
|
+
*****
|
|
9523
|
+
|
|
9524
|
+
Removed numpy.core.numeric isscalar imports.
|
|
9525
|
+
|
|
9526
|
+
*****
|
|
9527
|
+
|
|
9528
|
+
Corrected np.in1d() to np.isin().
|
|
9529
|
+
|
|
9530
|
+
|
|
9531
|
+
***** Di 05 Nov 2024 11:22:31 CET *****
|
|
9532
|
+
|
|
9533
|
+
Updated scipy requirement compatible with Numpy2.0.
|
|
9534
|
+
|
|
9535
|
+
*****
|
|
9536
|
+
|
|
9537
|
+
Updated docs theme, switched from read_the_docs to furo.
|
|
9538
|
+
|
|
9539
|
+
Added docs/custom_style.py file.
|
|
9540
|
+
|
|
9541
|
+
|
|
9542
|
+
***** Do 07 Nov 2024 11:47:50 CET *****
|
|
9543
|
+
|
|
9544
|
+
Added water isotopes for 228 and 227.
|
|
9545
|
+
|
|
9546
|
+
*****
|
|
9547
|
+
|
|
9548
|
+
Refactored tips() function to extend partition functions domain
|
|
9549
|
+
when some isotopes have higher temperature ranges.
|
|
9550
|
+
This is done with a cubic spline. Before the code was cutting off
|
|
9551
|
+
at the lowest maximum temperature.
|
|
9552
|
+
|
|
9553
|
+
These are the affected molecules:
|
|
9554
|
+
H2O
|
|
9555
|
+
[5000 5000 5000 5000 5000 5000 6000 6000 6000]
|
|
9556
|
+
CO2
|
|
9557
|
+
[5000 5000 3500 3500 3500 3500 5000 3500 5000 5000 3500 5000 5000]
|
|
9558
|
+
CH4
|
|
9559
|
+
[3500 3500 4500 3500]
|
|
9560
|
+
NO2
|
|
9561
|
+
[3500 1000]
|
|
9562
|
+
OH
|
|
9563
|
+
[9000 5000 5000]
|
|
9564
|
+
H2CO
|
|
9565
|
+
[3500 5000 5000]
|
|
9566
|
+
H2S
|
|
9567
|
+
[4000 5000 5000]
|
|
9568
|
+
|
|
9569
|
+
****
|
|
9570
|
+
|
|
9571
|
+
Refactored io.write_spectrum() to deal with the wavelength units
|
|
9572
|
+
always in microns. Removed wlunits argument.
|
|
9573
|
+
Added 'eclipse' type.
|
|
9574
|
+
|
|
9575
|
+
Refactored io.read_spectrum() removing wlunits guessing.
|
|
9576
|
+
|
|
9577
|
+
Refactored io.write_observations() to enable combining tophat
|
|
9578
|
+
and tabulated files as passband functions.
|
|
9579
|
+
|
|
9580
|
+
*****
|
|
9581
|
+
|
|
9582
|
+
Updated tests in test_io.py.
|
|
9583
|
+
test_read_write_spectrum
|
|
9584
|
+
test_read_write_spectrum_filter
|
|
9585
|
+
test_read_isotopes
|
|
9586
|
+
test_write_observations_mix_bandpass_tophats
|
|
9587
|
+
|
|
9588
|
+
*****
|
|
9589
|
+
|
|
9590
|
+
In spectrum.bin_spectrum() replaced ignore_gaps bool argument
|
|
9591
|
+
with gaps string argument.
|
|
9592
|
+
Allowed to keep the default behavior for gaps (raise Error),
|
|
9593
|
+
ignore them (keep nans), or patch with a linear interpolation.
|
|
9594
|
+
|
|
9595
|
+
Updated docs and tests.
|
|
9596
|
+
|
|
9597
|
+
*****
|
|
9598
|
+
|
|
9599
|
+
Added wl variable to pyrat.spec, to return the wavelength array
|
|
9600
|
+
in microns.
|
|
9601
|
+
|
|
9602
|
+
|
|
9603
|
+
***** Fr 22 Nov 2024 18:17:51 CET *****
|
|
9604
|
+
|
|
9605
|
+
Refactored PassBand() and Tophat() classes.
|
|
9606
|
+
Added counting_type argument and variable to specify whether the
|
|
9607
|
+
response function is per photon (default) or per energy.
|
|
9608
|
+
Re-named __call__() method to set_sampling().
|
|
9609
|
+
Added integrate() method to do the band_integration in-house.
|
|
9610
|
+
Now __call__() method points to intgrate().
|
|
9611
|
+
Added arguments to set the wn/wl sampling at initialization.
|
|
9612
|
+
Updated docstrings and tests.
|
|
9613
|
+
|
|
9614
|
+
*****
|
|
9615
|
+
|
|
9616
|
+
Added FILTERS constant, path pointing directly to the filters folder
|
|
9617
|
+
Added cheops and tess passbands filters.
|
|
9618
|
+
Renamed spitzer_irac?_sa.dat filters to spitzer_irac?.dat
|
|
9619
|
+
|
|
9620
|
+
*****
|
|
9621
|
+
|
|
9622
|
+
Updated tests on partition functions/isotopes according to latest
|
|
9623
|
+
changes.
|
|
9624
|
+
|
|
9625
|
+
|
|
9626
|
+
***** Mo 25 Nov 2024 14:54:48 CET *****
|
|
9627
|
+
|
|
9628
|
+
Refactored PassBand() and Tophat() classes adding self.height
|
|
9629
|
+
and having self.response normalized to max(response)=1.
|
|
9630
|
+
Added passband docs to the cookbooks.
|
|
9631
|
+
Added kepler.dat passbands.
|
|
9632
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyratbay
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0b4
|
|
4
4
|
Summary: Python Radiative Transfer in a Bayesian Framework
|
|
5
5
|
Author-email: Patricio Cubillos <patricio.cubillos@oeaw.ac.at>
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -348,7 +348,7 @@ Requires-Python: >=3.9
|
|
|
348
348
|
Description-Content-Type: text/markdown
|
|
349
349
|
License-File: LICENSE
|
|
350
350
|
Requires-Dist: numpy>=1.23.5
|
|
351
|
-
Requires-Dist: scipy>=1.
|
|
351
|
+
Requires-Dist: scipy>=1.13.0
|
|
352
352
|
Requires-Dist: matplotlib>=3.3.4
|
|
353
353
|
Requires-Dist: mc3>=3.2.0
|
|
354
354
|
Requires-Dist: chemcat>=0.3.8
|
|
@@ -356,6 +356,7 @@ Requires-Dist: h5py>=3.10.0
|
|
|
356
356
|
Provides-Extra: test
|
|
357
357
|
Requires-Dist: pytest>=3.9; extra == "test"
|
|
358
358
|
Requires-Dist: mpi4py>=3.1.4; extra == "test"
|
|
359
|
+
Dynamic: license-file
|
|
359
360
|
|
|
360
361
|
# Pyrat Bay: Python Radiative Transfer in a Bayesian framework
|
|
361
362
|
|
|
Binary file
|
|
@@ -90,7 +90,7 @@ parameter (``tpars``): the temperature (:math:`T_0`) at all layers.
|
|
|
90
90
|
Here is an example of an isothermal atmosphere configuration file:
|
|
91
91
|
|
|
92
92
|
.. literalinclude:: ../examples/tutorial/pt_isothermal.cfg
|
|
93
|
-
:caption: pt_isothermal.cfg
|
|
93
|
+
:caption: File: pt_isothermal.cfg
|
|
94
94
|
|
|
95
95
|
Guillot profile
|
|
96
96
|
^^^^^^^^^^^^^^^
|
|
@@ -126,6 +126,7 @@ Here is an example of a ``guillot`` atmosphere configuration file
|
|
|
126
126
|
<https://github.com/pcubillos/pyratbay/blob/master/examples/tutorial/pt_guillot.cfg>`_):
|
|
127
127
|
|
|
128
128
|
.. literalinclude:: ../examples/tutorial/pt_guillot.cfg
|
|
129
|
+
:caption: File: pt_guillot.cfg
|
|
129
130
|
|
|
130
131
|
|
|
131
132
|
Madhu profile
|
|
@@ -22,7 +22,7 @@ import re
|
|
|
22
22
|
from datetime import date
|
|
23
23
|
|
|
24
24
|
# Do not add path to the package (following example from astropy).
|
|
25
|
-
|
|
25
|
+
sys.path.insert(0, os.path.abspath('.'))
|
|
26
26
|
import pyratbay as pb
|
|
27
27
|
|
|
28
28
|
# -- General configuration ------------------------------------------------
|
|
@@ -58,7 +58,7 @@ master_doc = 'index'
|
|
|
58
58
|
|
|
59
59
|
# General information about the project.
|
|
60
60
|
project = u'Pyrat Bay'
|
|
61
|
-
copyright =
|
|
61
|
+
copyright = f'2016-{date.today().year:d}, Patricio Cubillos'
|
|
62
62
|
author = u'Patricio Cubillos'
|
|
63
63
|
|
|
64
64
|
# The version info for the project you're documenting, acts as replacement for
|
|
@@ -103,7 +103,8 @@ exclude_patterns = ['_build', '.DS_Store']
|
|
|
103
103
|
#show_authors = False
|
|
104
104
|
|
|
105
105
|
# The name of the Pygments (syntax highlighting) style to use.
|
|
106
|
-
pygments_style = 'sphinx'
|
|
106
|
+
#pygments_style = 'sphinx'
|
|
107
|
+
pygments_style = 'custom_style.CustomStyle'
|
|
107
108
|
|
|
108
109
|
# A list of ignored prefixes for module index sorting.
|
|
109
110
|
#modindex_common_prefix = []
|
|
@@ -119,12 +120,17 @@ pygments_style = 'sphinx'
|
|
|
119
120
|
|
|
120
121
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
121
122
|
# a list of builtin themes.
|
|
122
|
-
html_theme = '
|
|
123
|
+
html_theme = 'furo'
|
|
123
124
|
|
|
124
125
|
# Theme options are theme-specific and customize the look and feel of a theme
|
|
125
126
|
# further. For a list of options available for each theme, see the
|
|
126
127
|
# documentation.
|
|
127
|
-
|
|
128
|
+
html_theme_options = {
|
|
129
|
+
"sidebar_hide_name": False,
|
|
130
|
+
"light_css_variables": {
|
|
131
|
+
"color-background-border": "#d0d0d0",
|
|
132
|
+
},
|
|
133
|
+
}
|
|
128
134
|
|
|
129
135
|
# Add any paths that contain custom themes here, relative to this directory.
|
|
130
136
|
#html_theme_path = []
|
|
@@ -149,6 +155,7 @@ html_favicon = 'figures/favicon.ico'
|
|
|
149
155
|
# relative to this directory. They are copied after the builtin static files,
|
|
150
156
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
151
157
|
html_static_path = ['_static']
|
|
158
|
+
html_css_files = ["custom.css"]
|
|
152
159
|
|
|
153
160
|
# Add any extra paths that contain custom files (such as robots.txt or
|
|
154
161
|
# .htaccess) here, relative to this directory. These files are copied
|
|
@@ -164,7 +171,7 @@ html_static_path = ['_static']
|
|
|
164
171
|
#html_use_smartypants = True
|
|
165
172
|
|
|
166
173
|
# Custom sidebar templates, maps document names to template names.
|
|
167
|
-
html_sidebars = {'*':['globaltoc.html', 'relations.html', 'searchbox.html']}
|
|
174
|
+
#html_sidebars = {'*':['globaltoc.html', 'relations.html', 'searchbox.html']}
|
|
168
175
|
|
|
169
176
|
# Additional templates that should be rendered to pages, maps page names to
|
|
170
177
|
# template names.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from pygments.style import Style
|
|
2
|
+
from pygments.styles.friendly import FriendlyStyle
|
|
3
|
+
from pygments.token import Token
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CustomStyle(Style):
|
|
7
|
+
styles = FriendlyStyle.styles.copy()
|
|
8
|
+
|
|
9
|
+
background_color = "#f0f8ff"
|
|
10
|
+
background_color = "#f0f2f6"
|
|
11
|
+
styles[Token.Background] = background_color
|
|
12
|
+
|
|
13
|
+
comment = "italic #bb3322"
|
|
14
|
+
styles[Token.Comment] = comment
|
|
15
|
+
styles[Token.Comment] = comment
|
|
16
|
+
styles[Token.Comment.Multiline] = comment
|
|
17
|
+
styles[Token.Comment.Preproc] = comment
|
|
18
|
+
styles[Token.Comment.Single] = comment
|
|
19
|
+
styles[Token.Comment.Special] = comment
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -36,7 +36,7 @@ The following table details what each of these steps do.
|
|
|
36
36
|
| ``spectrum`` | Compute forward-modeling spectra (transmission or |
|
|
37
37
|
| | emission) |
|
|
38
38
|
+----------------+------------------------------------------------------------+
|
|
39
|
-
| ``
|
|
39
|
+
| ``retrieval`` | Run an atmospheric retrievals |
|
|
40
40
|
+----------------+------------------------------------------------------------+
|
|
41
41
|
|
|
42
42
|
Any of these steps can be run either interactively though the Python
|
|
@@ -71,19 +71,8 @@ through the ``Pyrat Bay`` sub modules (see :ref:`API`).
|
|
|
71
71
|
System Requirements
|
|
72
72
|
-------------------
|
|
73
73
|
|
|
74
|
-
Pyrat-Bay (version
|
|
75
|
-
Unix/Linux and OS X machines
|
|
76
|
-
requirements:
|
|
77
|
-
|
|
78
|
-
* Python >= 3.6
|
|
79
|
-
* Numpy >= 1.8.1
|
|
80
|
-
* Scipy >= 0.13.3
|
|
81
|
-
* Matplotlib >= 1.3.1
|
|
82
|
-
* Sympy >= 0.7.6
|
|
83
|
-
* mc3 >= 3.0.7
|
|
84
|
-
|
|
85
|
-
``Pyrat Bay`` may work with previous software versions; however, we do
|
|
86
|
-
not guarantee nor provide support for that.
|
|
74
|
+
Pyrat-Bay (version 2.0+) has been extensively tested to work on
|
|
75
|
+
Unix/Linux and OS X machines and is available for Python 3.9+.
|
|
87
76
|
|
|
88
77
|
.. _install:
|
|
89
78
|
|
|
@@ -96,7 +85,7 @@ To install ``Pyrat Bay`` run the following command from the terminal:
|
|
|
96
85
|
|
|
97
86
|
.. code-block:: shell
|
|
98
87
|
|
|
99
|
-
pip install pyratbay
|
|
88
|
+
pip install pyratbay>=2.0.0b3
|
|
100
89
|
|
|
101
90
|
Or if you prefer conda:
|
|
102
91
|
|
|
@@ -145,16 +134,15 @@ Download the water line-transition database from the HITRAN server and unzip it:
|
|
|
145
134
|
|
|
146
135
|
Copy the input and configuration files for the demo from the `examples
|
|
147
136
|
folder
|
|
148
|
-
<https://github.com/pcubillos/pyratbay/tree/
|
|
137
|
+
<https://github.com/pcubillos/pyratbay/tree/ver2.0/examples/>`_ to
|
|
149
138
|
your working directory. For example, use the following shell commands:
|
|
150
139
|
|
|
151
140
|
.. code-block:: shell
|
|
152
141
|
|
|
153
|
-
|
|
154
|
-
wget $
|
|
155
|
-
wget $
|
|
156
|
-
wget $
|
|
157
|
-
wget $demo_path/uniform.atm
|
|
142
|
+
demo=https://raw.githubusercontent.com/pcubillos/pyratbay/ver2.0/tutorials/
|
|
143
|
+
wget $demo/tutorial_tli_hitran_H2O.cfg
|
|
144
|
+
wget $demo/tutorial_spectrum_emission.cfg
|
|
145
|
+
wget $demo/tutorial_spectrum_transmission.cfg
|
|
158
146
|
|
|
159
147
|
|
|
160
148
|
Execute these commands from the shell to create a
|
|
@@ -164,11 +152,11 @@ transmission and emission spectra:
|
|
|
164
152
|
.. code-block:: shell
|
|
165
153
|
|
|
166
154
|
# Format line-by-line opacity:
|
|
167
|
-
pbay -c
|
|
155
|
+
pbay -c tutorial_tli_hitran_H2O.cfg
|
|
168
156
|
|
|
169
157
|
# Compute transmission and emission spectra:
|
|
170
|
-
pbay -c
|
|
171
|
-
pbay -c
|
|
158
|
+
pbay -c tutorial_spectrum_transmission.cfg
|
|
159
|
+
pbay -c tutorial_spectrum_emission.cfg
|
|
172
160
|
|
|
173
161
|
.. Outputs
|
|
174
162
|
^^^^^^^
|
|
@@ -183,44 +171,51 @@ interactive mode, I suggest starting the session with ``ipython
|
|
|
183
171
|
|
|
184
172
|
.. code-block:: python
|
|
185
173
|
|
|
174
|
+
import pyratbay as pb
|
|
175
|
+
import pyratbay.spectrum as ps
|
|
176
|
+
import pyratbay.io as io
|
|
186
177
|
import matplotlib
|
|
187
|
-
from scipy.ndimage.filters import gaussian_filter1d as gaussf
|
|
188
178
|
import matplotlib.pyplot as plt
|
|
189
179
|
plt.ion()
|
|
190
180
|
|
|
191
|
-
import pyratbay as pb
|
|
192
|
-
import pyratbay.io as io
|
|
193
181
|
|
|
194
|
-
wl, transmission = io.read_spectrum("./
|
|
195
|
-
wl, emission
|
|
182
|
+
wl, transmission = io.read_spectrum("./transmission_spectrum_tutorial.dat", wn=False)
|
|
183
|
+
wl, emission = io.read_spectrum("./emission_spectrum_tutorial.dat", wn=False)
|
|
184
|
+
|
|
185
|
+
bin_wl = ps.constant_resolution_spectrum(0.3, 8.0, resolution=200)
|
|
186
|
+
bin_transit = ps.bin_spectrum(bin_wl, wl, transmission)
|
|
187
|
+
bin_emission = ps.bin_spectrum(bin_wl, wl, emission)
|
|
196
188
|
|
|
197
|
-
plt.figure(0
|
|
189
|
+
fig = plt.figure(0)
|
|
198
190
|
plt.clf()
|
|
199
|
-
|
|
191
|
+
fig.set_size_inches(7,5)
|
|
192
|
+
plt.subplots_adjust(0.12, 0.1, 0.98, 0.95, hspace=0.15)
|
|
200
193
|
ax = plt.subplot(211)
|
|
201
|
-
plt.plot(wl, 100*transmission, "
|
|
202
|
-
plt.plot(
|
|
194
|
+
plt.plot(wl, 100*transmission, color="royalblue", label="transmission model", lw=1.0)
|
|
195
|
+
plt.plot(bin_wl, 100*bin_transit, "salmon", lw=1.5)
|
|
203
196
|
plt.xscale('log')
|
|
204
|
-
plt.ylabel(
|
|
197
|
+
plt.ylabel('Transit depth (%)')
|
|
205
198
|
ax.get_xaxis().set_major_formatter(matplotlib.ticker.ScalarFormatter())
|
|
206
|
-
ax.set_xticks([0.5, 0.7, 1.0, 2.0, 3.0,
|
|
207
|
-
|
|
208
|
-
plt.
|
|
199
|
+
ax.set_xticks([0.3, 0.5, 0.7, 1.0, 2.0, 3.0, 5.0, 7.0])
|
|
200
|
+
ax.tick_params(which='both', direction='in')
|
|
201
|
+
plt.xlim(0.3, 8.0)
|
|
202
|
+
plt.ylim(1.88, 2.17)
|
|
209
203
|
plt.legend(loc="upper left")
|
|
210
204
|
|
|
211
205
|
ax = plt.subplot(212)
|
|
212
|
-
plt.plot(wl, emission, "
|
|
213
|
-
plt.plot(
|
|
206
|
+
plt.plot(wl, emission, "royalblue", label="emission model", lw=1.0)
|
|
207
|
+
plt.plot(bin_wl, bin_emission, "salmon", lw=1.5)
|
|
214
208
|
plt.xscale('log')
|
|
215
209
|
plt.xlabel(r"Wavelength (um)")
|
|
216
|
-
plt.ylabel(r"$F_{\rm
|
|
210
|
+
plt.ylabel(r"$F_{\rm p}$ (erg s$^{-1}$ cm$^{-2}$ cm)")
|
|
217
211
|
ax.get_xaxis().set_major_formatter(matplotlib.ticker.ScalarFormatter())
|
|
218
|
-
ax.set_xticks([0.5, 0.7, 1.0, 2.0, 3.0,
|
|
219
|
-
|
|
220
|
-
plt.
|
|
212
|
+
ax.set_xticks([0.3, 0.5, 0.7, 1.0, 2.0, 3.0, 5.0, 7.0])
|
|
213
|
+
ax.tick_params(which='both', direction='in')
|
|
214
|
+
plt.ylim(0, 52000)
|
|
215
|
+
plt.xlim(0.3, 8.0)
|
|
221
216
|
plt.legend(loc="upper left")
|
|
222
217
|
plt.draw()
|
|
223
|
-
plt.savefig("pyrat_spectrum_demo.
|
|
218
|
+
plt.savefig("pyrat_spectrum_demo.png", dpi=300)
|
|
224
219
|
|
|
225
220
|
The output figure should look like this:
|
|
226
221
|
|
|
@@ -260,7 +255,7 @@ importing the ``Pyrat Bay`` package:
|
|
|
260
255
|
.. code-block:: python
|
|
261
256
|
|
|
262
257
|
import pyratbay as pb
|
|
263
|
-
pyrat = pb.run('
|
|
258
|
+
pyrat = pb.run('tutorial_spectrum_transmission.cfg')
|
|
264
259
|
ax = pyrat.plot_spectrum()
|
|
265
260
|
|
|
266
261
|
The output vary depending on the selected run mode. Additional low-
|
|
@@ -57,7 +57,7 @@ The radiative-transfer include opacity sources from:
|
|
|
57
57
|
- Na and K alkali resonant lines
|
|
58
58
|
- Gray and Mie (soon) aerosol opacities
|
|
59
59
|
|
|
60
|
-
Bayesian (MCMC) posterior sampling of atmospheric parameters:
|
|
60
|
+
Bayesian (MCMC and Nested sampling) posterior sampling of atmospheric parameters:
|
|
61
61
|
|
|
62
62
|
- Molecular abundances
|
|
63
63
|
- Temperature profile
|
|
@@ -81,10 +81,9 @@ Documentation
|
|
|
81
81
|
:includehidden:
|
|
82
82
|
|
|
83
83
|
getstarted
|
|
84
|
-
|
|
84
|
+
line_sampling
|
|
85
85
|
atm_tutorial
|
|
86
86
|
spec_tutorial
|
|
87
|
-
opac_tutorial
|
|
88
87
|
retrieval_tutorial
|
|
89
88
|
cookbooks/recipes
|
|
90
89
|
api
|
|
@@ -103,7 +102,7 @@ If you found ``Pyrat Bay`` useful for your research, please cite this article:
|
|
|
103
102
|
Please prefer to channel your feedback or inquiries through the Github issue tracker: `<https://github.com/pcubillos/pyratbay>`_, or alternatively through this email: `patricio.cubillos[at]oeaw.ac.at`_.
|
|
104
103
|
|
|
105
104
|
``Pyrat Bay`` is open-source software under the GNU GPL v2 license (see
|
|
106
|
-
:ref:`license`) and is compatible with Python>=3.
|
|
105
|
+
:ref:`license`) and is compatible with Python>=3.9.
|
|
107
106
|
|
|
108
107
|
|
|
109
108
|
.. _Patricio Cubillos: https://github.com/pcubillos/
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
.. |H2O| replace:: H\ :sub:`2`\ O
|
|
2
|
+
.. |CO2| replace:: CO\ :sub:`2`
|
|
3
|
+
.. |CH4| replace:: CH\ :sub:`4`
|
|
4
|
+
.. |H2| replace:: H\ :sub:`2`
|
|
5
|
+
.. |N2O| replace:: N\ :sub:`2`\ O
|
|
6
|
+
.. |NO2| replace:: NO\ :sub:`2`
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
.. _line_sampling:
|
|
10
|
+
|
|
11
|
+
Line Sampling
|
|
12
|
+
=============
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
`Pyrat Bay` enable users to generate their own line-sampled
|
|
16
|
+
cross-section files out of line-by-line data. In this process, users
|
|
17
|
+
can make all the customization that they deem necessary (e.g.,
|
|
18
|
+
line-wing cutoffs, sampling rates, wavelength ranges, temperature
|
|
19
|
+
ranges, pressure ranges).
|
|
20
|
+
|
|
21
|
+
There are two steps needed to compute cross sections:
|
|
22
|
+
|
|
23
|
+
1. Convert line lists from their **original format** (e.g., HITRAN or
|
|
24
|
+
ExoMol) into transition-line information files (**TLI**).
|
|
25
|
+
|
|
26
|
+
2. Conver **TLI** files into **cross-section tables** (saved as Numpy
|
|
27
|
+
``.npz`` files).
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Available Databases
|
|
32
|
+
-------------------
|
|
33
|
+
|
|
34
|
+
``Pyrat Bay`` can process line-lists from the two main sources of
|
|
35
|
+
line-transition data of interest for exoplanet atmospheres: HITRAN [Gordon2022]_ and
|
|
36
|
+
Exomol [Tennyson2016]_. Additionally, ``Pyrat Bay`` is also compatible with
|
|
37
|
+
``repack`` [Cubillos2017b]_, a package extracting only the strong line
|
|
38
|
+
transitions from large HITEMP, ExoMol, or AMES databases (reducing
|
|
39
|
+
from billions to millions of lines).
|
|
40
|
+
|
|
41
|
+
The tables below show the main species of interest to model exoplanet
|
|
42
|
+
atmospheres from each database (non-exhaustive, there are move species
|
|
43
|
+
available in each database).
|
|
44
|
+
|
|
45
|
+
.. list-table:: Available linelists from HITRAN
|
|
46
|
+
:header-rows: 1
|
|
47
|
+
:widths: 7, 20, 25
|
|
48
|
+
|
|
49
|
+
* - Source
|
|
50
|
+
- Species (label)
|
|
51
|
+
- References
|
|
52
|
+
* - HITEMP
|
|
53
|
+
- `H2O <https://hitran.org/hitemp/>`__ (2010)
|
|
54
|
+
- [Rothman2010]_
|
|
55
|
+
* -
|
|
56
|
+
- `CO2 <https://hitran.org/hitemp/>`__ (2024)
|
|
57
|
+
- [Hargreaves2025]_
|
|
58
|
+
* -
|
|
59
|
+
- `CO <https://hitran.org/hitemp/>`__ (2019)
|
|
60
|
+
- [Li2015]_
|
|
61
|
+
* -
|
|
62
|
+
- `CH4 <https://hitran.org/hitemp/>`__ (2020)
|
|
63
|
+
- [Hargreaves2020]_
|
|
64
|
+
* -
|
|
65
|
+
- `N2O <https://hitran.org/hitemp/>`__ (2019)
|
|
66
|
+
- [Hargreaves2019]_
|
|
67
|
+
* -
|
|
68
|
+
- `NO <https://hitran.org/hitemp/>`__ (2019)
|
|
69
|
+
- [Hargreaves2019]_
|
|
70
|
+
* - HITRAN
|
|
71
|
+
- `H2O, NH3, and many others <https://hitran.org/lbl/>`__
|
|
72
|
+
- [Gordon2022]_
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
.. list-table:: Available linelists from ExoMol
|
|
77
|
+
:header-rows: 1
|
|
78
|
+
:widths: 7, 20, 25
|
|
79
|
+
|
|
80
|
+
* - Source
|
|
81
|
+
- Species (label)
|
|
82
|
+
- References
|
|
83
|
+
* - ExoMol
|
|
84
|
+
- `H2O <https://www.exomol.com/data/molecules/H2O/>`__ (pokazatel)
|
|
85
|
+
- [Polyansky2018]_
|
|
86
|
+
* -
|
|
87
|
+
- `CO2 <https://www.exomol.com/data/molecules/CO2/12C-16O2/UCL-4000/>`__ (ucl4000)
|
|
88
|
+
- [Yurchenko2020]_
|
|
89
|
+
* -
|
|
90
|
+
- `CH4 <https://www.exomol.com/data/molecules/CH4/12C-1H4/MM/>`__ (mm)
|
|
91
|
+
- [Yurchenko2024a]_
|
|
92
|
+
* -
|
|
93
|
+
- `NH3 <https://www.exomol.com/data/molecules/NH3/>`__ (coyute)
|
|
94
|
+
- [Coles2019]_ [Yurchenko2024b]_
|
|
95
|
+
* -
|
|
96
|
+
- `TiO <https://www.exomol.com/data/molecules/TiO/>`__ (toto)
|
|
97
|
+
- [McKemmish2019]_
|
|
98
|
+
* -
|
|
99
|
+
- `VO <https://www.exomol.com/data/molecules/VO/51V-16O/HyVO/>`__ (hyvo)
|
|
100
|
+
- [Bowesman2024]_
|
|
101
|
+
* -
|
|
102
|
+
- `HCN <https://www.exomol.com/data/molecules/HCN/>`__ (harris & larner)
|
|
103
|
+
- [Harris2008]_ [Barber2014]_
|
|
104
|
+
* -
|
|
105
|
+
- `SO2 <https://www.exomol.com/data/molecules/SO2/32S-16O2/ExoAmes/>`__ (exoames)
|
|
106
|
+
- [Underwood2016]_
|
|
107
|
+
* -
|
|
108
|
+
- `H2S <https://www.exomol.com/data/molecules/H2S/1H2-32S/AYT2/>`__ (ayt2)
|
|
109
|
+
- [Azzam2016]_ [Chubb2018]_
|
|
110
|
+
* -
|
|
111
|
+
- `C2H2 <https://www.exomol.com/data/molecules/C2H2/12C2-1H2/aCeTY/>`__ (acety)
|
|
112
|
+
- [Chubb2020]_
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
.. list-table:: Available linelists from repack
|
|
117
|
+
:header-rows: 1
|
|
118
|
+
:widths: 7, 20, 25
|
|
119
|
+
|
|
120
|
+
* - Source
|
|
121
|
+
- Species (label)
|
|
122
|
+
- References
|
|
123
|
+
* - repack
|
|
124
|
+
- `H2O <https://zenodo.org/api/records/14266247/draft/files/H2O_exomol_pokazatel_0.24-500.0um_100-3500K_threshold_0.01_lbl.dat>`__ (exomol, pokazatel)
|
|
125
|
+
- [Cubillos2017b]_ [Polyansky2018]_
|
|
126
|
+
* -
|
|
127
|
+
- `CO2 <https://zenodo.org/api/records/14266247/draft/files/CO2_exomol_ucl4000_0.5-500.0um_100-3500K_threshold_0.01_lbl.dat>`__ (exomol, ucl4000)
|
|
128
|
+
- [Cubillos2017b]_ [Yurchenko2020]_
|
|
129
|
+
* -
|
|
130
|
+
- `CO2 <https://zenodo.org/api/records/14266247/draft/files/CO2_ames_ai3000k_0.5-50.0um_100-3500K_threshold_0.01_lbl.dat>`__ (ames, ai3000k)
|
|
131
|
+
- [Cubillos2017b]_
|
|
132
|
+
* -
|
|
133
|
+
- `CH4 <https://zenodo.org/api/records/14266247/draft/files/CH4_exomol_mm_0.83-50.0um_100-3000K_threshold_0.03_lbl.dat>`__ (exomol, mm)
|
|
134
|
+
- [Cubillos2017b]_ [Yurchenko2024a]_
|
|
135
|
+
* -
|
|
136
|
+
- `NH3 <https://zenodo.org/api/records/14266247/draft/files/NH3_exomol_coyute_0.5-500.0um_100-3000K_threshold_0.01_lbl.dat>`__ (exomol, coyute)
|
|
137
|
+
- [Cubillos2017b]_ [Coles2019]_ [Yurchenko2024b]_
|
|
138
|
+
* -
|
|
139
|
+
- `TiO <https://zenodo.org/api/records/14266247/draft/files/TiO_exomol_toto_0.33-500um_100-3500K_threshold_0.01_lbl.dat>`__ (exomol, toto)
|
|
140
|
+
- [Cubillos2017b]_ [McKemmish2019]_
|
|
141
|
+
* -
|
|
142
|
+
- `VO <https://zenodo.org/api/records/14266247/draft/files/VO_exomol_hyvo_0.22-50um_100-3500K_threshold_0.01_lbl.dat>`__ (exomol, hyvo)
|
|
143
|
+
- [Cubillos2017b]_ [Bowesman2024]_
|
|
144
|
+
* -
|
|
145
|
+
- `HCN <https://zenodo.org/api/records/14266247/draft/files/HCN_exomol_harris-larner_0.56-500um_100-3500K_threshold_0.01_lbl.dat>`__ (exomol, harris larner)
|
|
146
|
+
- [Cubillos2017b]_ [Harris2008]_ [Barber2014]_
|
|
147
|
+
* -
|
|
148
|
+
- `SO2 <https://zenodo.org/api/records/14266247/draft/files/SO2_exomol_exoames_1.25-100.0um_100-3500K_threshold_0.03_lbl.dat>`__ (exomol, exoames)
|
|
149
|
+
- [Cubillos2017b]_ [Underwood2016]_
|
|
150
|
+
* -
|
|
151
|
+
- `H2S <https://zenodo.org/api/records/14266247/draft/files/H2S_exomol_ayt2_0.28-500.0um_100-3500K_threshold_0.01_lbl.dat>`__ (exomol, ayt2)
|
|
152
|
+
- [Cubillos2017b]_ [Azzam2016]_ [Chubb2018]_
|
|
153
|
+
* -
|
|
154
|
+
- `C2H2 <https://zenodo.org/api/records/14266247/draft/files/C2H2_exomol_acety_1.0-500.0um_100-3500K_threshold_0.03_lbl.dat>`__ (exomol, acety)
|
|
155
|
+
- [Cubillos2017b]_ [Chubb2020]_
|
|
156
|
+
* -
|
|
157
|
+
- `C2H4 <https://zenodo.org/api/records/14266247/draft/files/C2H4_exomol_mayty_1.4-500um_100-3500K_threshold_0.03_lbl.dat>`__ (exomol, mayty)
|
|
158
|
+
- [Cubillos2017b]_ [Mant2018]_
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
.. _sample_tli_cfg:
|
|
163
|
+
|
|
164
|
+
Line-sampling Tutorials
|
|
165
|
+
-----------------------
|
|
166
|
+
|
|
167
|
+
The following links show step-by-step tutorials to compute
|
|
168
|
+
cross-section tables (i.e., line sampling) from each database:
|
|
169
|
+
|
|
170
|
+
- :doc:`cookbooks/line_sampling/line_list_hitran`
|
|
171
|
+
- :doc:`cookbooks/line_sampling/line_list_exomol`
|
|
172
|
+
- :doc:`cookbooks/line_sampling/line_list_repack`
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
Computing cross sections often require to sample millions-to-billions
|
|
176
|
+
of line transitions. Thus, it can both become a computer-intensive
|
|
177
|
+
calculation and require/produce large files. ``Pyrat Bay`` was
|
|
178
|
+
designed with this two-step approach to optimize these calculations.
|
|
179
|
+
|
|
180
|
+
Below there are a few useful notes to keep in mind when computing
|
|
181
|
+
cross sections.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
Partition functions
|
|
185
|
+
~~~~~~~~~~~~~~~~~~~
|
|
186
|
+
|
|
187
|
+
While line-list databases do not change often with time, thus, TLI
|
|
188
|
+
files containing the line transitions can typically be computed only
|
|
189
|
+
once, and being used for many projects. For this reason, it is
|
|
190
|
+
recommended to compute TLI files with the widest possible available
|
|
191
|
+
wavelength range.
|
|
192
|
+
|
|
193
|
+
TLI calculations also requires the input of partition functions, which
|
|
194
|
+
depend on the temperature. Ideally, you also want to compute TLI
|
|
195
|
+
files with the widest temperature range. The tutorials above show how
|
|
196
|
+
to obtain partition functions from each database. In addition, this
|
|
197
|
+
tutorial below shows more in general how to handle partition functions
|
|
198
|
+
(e.g., how to compute PFs at high temperatures):
|
|
199
|
+
|
|
200
|
+
- :doc:`cookbooks/partition_functions`
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
Cross sections
|
|
204
|
+
~~~~~~~~~~~~~~
|
|
205
|
+
|
|
206
|
+
In contrast, cross sections might need to be more frequently
|
|
207
|
+
re-computed for specific project to adjust, for example, to the
|
|
208
|
+
sampling resolution or grid boundaries (in `T`, `p`, or
|
|
209
|
+
:math:`\lambda`), or need to separate between different isotopes of a
|
|
210
|
+
same species. Use the tutorials above as a template, and modifies
|
|
211
|
+
them to adjust to the scientific requirements/machine capabilities
|
|
212
|
+
that each project requires.
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
If in a hurry and want to immediately start computing spectra, ``Pyrat
|
|
216
|
+
Bay`` is also compatible with the `petitRADTRANS
|
|
217
|
+
<https://petitradtrans.readthedocs.io/en/latest/content/available_opacities.html#high-resolution-opacities-lbl-lambda-delta-lambda-10-6>`_
|
|
218
|
+
cross section files [Molliere2019]_. These files can be directly used
|
|
219
|
+
as input in spectrum or retrieval calculations (and can be used in
|
|
220
|
+
combination with the ``wn_thinning`` argument of the configuration
|
|
221
|
+
files to reduce the sampling resolution). More documentation on this
|
|
222
|
+
is coming `soon`.
|