platon 6.2__tar.gz → 6.2.1__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.
- platon-6.2.1/.readthedocs.yaml +35 -0
- {platon-6.2 → platon-6.2.1}/PKG-INFO +2 -2
- {platon-6.2 → platon-6.2.1}/README.md +1 -1
- {platon-6.2 → platon-6.2.1}/docs/index.rst +3 -1
- platon-6.2.1/docs/requirements.txt +2 -0
- {platon-6.2 → platon-6.2.1}/platon/__init__.py +1 -1
- {platon-6.2 → platon-6.2.1}/platon/_atmosphere_solver.py +1 -0
- platon-6.2.1/platon/_convert_clr_to_vmr.py +15 -0
- platon-6.2.1/platon/combined_retriever.py +681 -0
- platon-6.2.1/platon/combined_retriever_SO2.py +577 -0
- platon-6.2.1/platon/combined_retriever_backup.py +529 -0
- platon-6.2.1/platon/combined_retriever_with_NO.py +687 -0
- platon-6.2.1/platon/old_files/TP_profile.py +124 -0
- platon-6.2.1/platon/old_files/__init__.py +4 -0
- platon-6.2.1/platon/old_files/_atmosphere_solver.py +465 -0
- platon-6.2.1/platon/old_files/_cupy_numpy.py +23 -0
- platon-6.2.1/platon/old_files/_get_data.py +72 -0
- platon-6.2.1/platon/old_files/_hydrostatic_solver.py +49 -0
- platon-6.2.1/platon/old_files/_interpolator_3D.py +77 -0
- platon-6.2.1/platon/old_files/_loader.py +14 -0
- platon-6.2.1/platon/old_files/_mie_cache.py +68 -0
- platon-6.2.1/platon/old_files/_mie_multi_x.py +85 -0
- platon-6.2.1/platon/old_files/_output_writer.py +21 -0
- platon-6.2.1/platon/old_files/_params.py +68 -0
- platon-6.2.1/platon/old_files/_species_data_reader.py +34 -0
- platon-6.2.1/platon/old_files/_tau_calculator.py +26 -0
- platon-6.2.1/platon/old_files/abundance_getter.py +104 -0
- platon-6.2.1/platon/old_files/combined_retriever.py +540 -0
- platon-6.2.1/platon/old_files/combined_retriever_SO2.py +504 -0
- platon-6.2.1/platon/old_files/combined_retriever_backup.py +529 -0
- platon-6.2.1/platon/old_files/constants.py +37 -0
- platon-6.2.1/platon/old_files/custom_dynesty_result.py +36 -0
- platon-6.2.1/platon/old_files/eclipse_depth_calculator.py +173 -0
- platon-6.2.1/platon/old_files/errors.py +2 -0
- platon-6.2.1/platon/old_files/fit_info.py +112 -0
- platon-6.2.1/platon/old_files/retrieval_result.py +133 -0
- platon-6.2.1/platon/old_files/retriever.py +141 -0
- platon-6.2.1/platon/old_files/transit_depth_calculator.py +326 -0
- platon-6.2.1/platon/surface_calculator_backup.py +287 -0
- {platon-6.2 → platon-6.2.1}/platon/transit_depth_calculator.py +1 -1
- platon-6.2.1/platon/visualizer.py +120 -0
- platon-6.2.1/platon/wasp39_retrieval_code/TP_profile.py +119 -0
- platon-6.2.1/platon/wasp39_retrieval_code/__init__.py +4 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_atmosphere_solver.py +477 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_cupy_numpy.py +23 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_get_data.py +72 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_hydrostatic_solver.py +49 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_interpolator_3D.py +77 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_loader.py +14 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_mie_cache.py +68 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_mie_multi_x.py +85 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_output_writer.py +21 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_params.py +68 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_species_data_reader.py +34 -0
- platon-6.2.1/platon/wasp39_retrieval_code/_tau_calculator.py +26 -0
- platon-6.2.1/platon/wasp39_retrieval_code/abundance_getter.py +104 -0
- platon-6.2.1/platon/wasp39_retrieval_code/combined_retriever.py +597 -0
- platon-6.2.1/platon/wasp39_retrieval_code/combined_retriever_backup.py +529 -0
- platon-6.2.1/platon/wasp39_retrieval_code/constants.py +37 -0
- platon-6.2.1/platon/wasp39_retrieval_code/custom_dynesty_result.py +36 -0
- platon-6.2.1/platon/wasp39_retrieval_code/eclipse_depth_calculator.py +174 -0
- platon-6.2.1/platon/wasp39_retrieval_code/errors.py +2 -0
- platon-6.2.1/platon/wasp39_retrieval_code/fit_info.py +129 -0
- platon-6.2.1/platon/wasp39_retrieval_code/params.py +5 -0
- platon-6.2.1/platon/wasp39_retrieval_code/psis.py +395 -0
- platon-6.2.1/platon/wasp39_retrieval_code/retrieval_result.py +156 -0
- platon-6.2.1/platon/wasp39_retrieval_code/retriever.py +141 -0
- platon-6.2.1/platon/wasp39_retrieval_code/transit_depth_calculator.py +318 -0
- platon-6.2.1/platon/wasp39_retrieval_code/visualizer.py +120 -0
- platon-6.2.1/platon/with_NO_retrieval/TP_profile.py +117 -0
- platon-6.2.1/platon/with_NO_retrieval/__init__.py +4 -0
- platon-6.2.1/platon/with_NO_retrieval/_atmosphere_solver.py +483 -0
- platon-6.2.1/platon/with_NO_retrieval/_convert_clr_to_vmr.py +15 -0
- platon-6.2.1/platon/with_NO_retrieval/_cupy_numpy.py +25 -0
- platon-6.2.1/platon/with_NO_retrieval/_get_data.py +72 -0
- platon-6.2.1/platon/with_NO_retrieval/_hist.py +22 -0
- platon-6.2.1/platon/with_NO_retrieval/_hydrostatic_solver.py +49 -0
- platon-6.2.1/platon/with_NO_retrieval/_interpolator_3D.py +77 -0
- platon-6.2.1/platon/with_NO_retrieval/_loader.py +14 -0
- platon-6.2.1/platon/with_NO_retrieval/_mie_cache.py +66 -0
- platon-6.2.1/platon/with_NO_retrieval/_mie_multi_x.py +85 -0
- platon-6.2.1/platon/with_NO_retrieval/_output_writer.py +21 -0
- platon-6.2.1/platon/with_NO_retrieval/_params.py +68 -0
- platon-6.2.1/platon/with_NO_retrieval/_species_data_reader.py +34 -0
- platon-6.2.1/platon/with_NO_retrieval/_tau_calculator.py +26 -0
- platon-6.2.1/platon/with_NO_retrieval/abundance_getter.py +173 -0
- platon-6.2.1/platon/with_NO_retrieval/combined_retriever_SO2.py +577 -0
- platon-6.2.1/platon/with_NO_retrieval/combined_retriever_backup.py +529 -0
- platon-6.2.1/platon/with_NO_retrieval/combined_retriever_with_NO.py +687 -0
- platon-6.2.1/platon/with_NO_retrieval/constants.py +39 -0
- platon-6.2.1/platon/with_NO_retrieval/custom_dynesty_result.py +36 -0
- platon-6.2.1/platon/with_NO_retrieval/eclipse_depth_calculator.py +214 -0
- platon-6.2.1/platon/with_NO_retrieval/errors.py +2 -0
- platon-6.2.1/platon/with_NO_retrieval/fit_info.py +129 -0
- platon-6.2.1/platon/with_NO_retrieval/params.py +5 -0
- platon-6.2.1/platon/with_NO_retrieval/plotter.py +258 -0
- platon-6.2.1/platon/with_NO_retrieval/psis.py +395 -0
- platon-6.2.1/platon/with_NO_retrieval/retrieval_result.py +67 -0
- platon-6.2.1/platon/with_NO_retrieval/retriever.py +137 -0
- platon-6.2.1/platon/with_NO_retrieval/surface_calculator.py +287 -0
- platon-6.2.1/platon/with_NO_retrieval/surface_calculator_backup.py +287 -0
- platon-6.2.1/platon/with_NO_retrieval/transit_depth_calculator.py +315 -0
- platon-6.2.1/platon/with_NO_retrieval/visualizer.py +120 -0
- {platon-6.2 → platon-6.2.1}/platon.egg-info/PKG-INFO +2 -2
- {platon-6.2 → platon-6.2.1}/platon.egg-info/SOURCES.txt +98 -0
- platon-6.2.1/setup.py +30 -0
- {platon-6.2 → platon-6.2.1}/tests/test_TP_profiles.py +4 -3
- {platon-6.2 → platon-6.2.1}/tests/test_eclipse_depth_calculator.py +5 -4
- {platon-6.2 → platon-6.2.1}/tests/test_retrieve.py +12 -9
- {platon-6.2 → platon-6.2.1}/tests/test_transit_depth_calculator.py +10 -8
- platon-6.2.1/tests/testing_data/lx_mie_output.dat +100214 -0
- platon-6.2/tests/testing_data/lx_mie_output.dat +0 -4617
- {platon-6.2 → platon-6.2.1}/.gitignore +0 -0
- {platon-6.2 → platon-6.2.1}/.travis.yml +0 -0
- {platon-6.2 → platon-6.2.1}/LICENSE +0 -0
- {platon-6.2 → platon-6.2.1}/MANIFEST.in +0 -0
- {platon-6.2 → platon-6.2.1}/codecov.yaml +0 -0
- {platon-6.2 → platon-6.2.1}/docs/Makefile +0 -0
- {platon-6.2 → platon-6.2.1}/docs/conf.py +0 -0
- {platon-6.2 → platon-6.2.1}/docs/eclipse_depths.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/install.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/intro.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/make.bat +0 -0
- {platon-6.2 → platon-6.2.1}/docs/mie_scattering.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/questions_and_answers.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/quickstart.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/source/modules.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/source/platon.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/surface_emission.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/visualizer.rst +0 -0
- {platon-6.2 → platon-6.2.1}/docs/visualizer_disk.png +0 -0
- {platon-6.2 → platon-6.2.1}/docs/visualizer_layers.png +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_0p1Xsolar_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_0p1Xsolar_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1000Xsolar_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1000Xsolar_cond_graphite.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1000Xsolar_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_100Xsolar_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_100Xsolar_cond_graphite.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_100Xsolar_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_10Xsolar_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_10Xsolar_cond_graphite.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_10Xsolar_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1Xsolar_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1Xsolar_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_30Xsolar_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_30Xsolar_cond_graphite.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_30Xsolar_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_50Xsolar_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_50Xsolar_cond_graphite.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_50Xsolar_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_5Xsolar_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_5Xsolar_cond_graphite.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_5Xsolar_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_C2H2.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_C2H4.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_C2H6.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_CH4.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_CO.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_CO2.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_H2CO.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_H2O.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_H2S.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_HCN.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_HCl.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_HF.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_MgH.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_N2.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_NH3.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_NO.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_NO2.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_O2.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_O3.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_OCS.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_OH.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_PH3.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_SH.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_SO2.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_SiH.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_SiO.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_TiO.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_VO.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p2_CtoO_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p2_CtoO_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p4_CtoO_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p4_CtoO_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p6_CtoO_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p6_CtoO_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p8_CtoO_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p8_CtoO_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p0_CtoO_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p0_CtoO_cond_graphite.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p0_CtoO_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p2_CtoO_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p2_CtoO_cond_graphite.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p2_CtoO_gas.dat +0 -0
- {platon-6.2 → platon-6.2.1}/examples/eclipse_depths_example.py +0 -0
- {platon-6.2 → platon-6.2.1}/examples/retrieve_dynesty.py +0 -0
- {platon-6.2 → platon-6.2.1}/examples/retrieve_eclipses.py +0 -0
- {platon-6.2 → platon-6.2.1}/examples/retrieve_emcee.py +0 -0
- {platon-6.2 → platon-6.2.1}/examples/retrieve_multinest.py +0 -0
- {platon-6.2 → platon-6.2.1}/examples/surface_example.py +0 -0
- {platon-6.2 → platon-6.2.1}/examples/transit_depth_binned_example.py +0 -0
- {platon-6.2 → platon-6.2.1}/examples/transit_depth_example.py +0 -0
- {platon-6.2 → platon-6.2.1}/examples/visualize.py +0 -0
- {platon-6.2 → platon-6.2.1}/logo.png +0 -0
- {platon-6.2 → platon-6.2.1}/misc/README +0 -0
- {platon-6.2 → platon-6.2.1}/misc/calc_k_coeffs.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/compare_abundances.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/create_stellar_spectrum_grid.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/deploy_to_pypi.sh +0 -0
- {platon-6.2 → platon-6.2.1}/misc/exotransmit_spectrum.dat +0 -0
- {platon-6.2 → platon-6.2.1}/misc/gather_fastchem_abunds.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/gen_mie_data.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/generate_CIA_files.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/high_res_create_stellar_spectrum.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/hitran/compute_cross_sections.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/hitran/compute_cross_sections_trunc.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/load_grid.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/plot_CO.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/read_one.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/retrieve_exotransmit.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/retrieve_fake_data.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/run_fastchem.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/run_grid/abund_solar.in +0 -0
- {platon-6.2 → platon-6.2.1}/misc/run_grid/gen_abund_dicts.sh +0 -0
- {platon-6.2 → platon-6.2.1}/misc/run_grid/makeAbun.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/run_grid/model_template.in +0 -0
- {platon-6.2 → platon-6.2.1}/misc/run_grid/read_ggchem.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/run_grid/run_with_CO.sh +0 -0
- {platon-6.2 → platon-6.2.1}/misc/save_output.py +0 -0
- {platon-6.2 → platon-6.2.1}/misc/upload_data.sh +0 -0
- {platon-6.2 → platon-6.2.1}/platon/TP_profile.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_cupy_numpy.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_get_data.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_hist.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_hydrostatic_solver.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_interpolator_3D.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_loader.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_mie_cache.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_mie_multi_x.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_output_writer.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_params.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_species_data_reader.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/_tau_calculator.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/abundance_getter.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/constants.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/custom_dynesty_result.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/eclipse_depth_calculator.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/errors.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/fit_info.py +0 -0
- {platon-6.2/platon → platon-6.2.1/platon/old_files}/visualizer.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/params.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/plotter.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/psis.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/retrieval_result.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/retriever.py +0 -0
- {platon-6.2 → platon-6.2.1/platon}/setup.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon/surface_calculator.py +0 -0
- {platon-6.2/platon → platon-6.2.1/platon/with_NO_retrieval}/combined_retriever.py +0 -0
- {platon-6.2 → platon-6.2.1}/platon.egg-info/dependency_links.txt +0 -0
- {platon-6.2 → platon-6.2.1}/platon.egg-info/not-zip-safe +0 -0
- {platon-6.2 → platon-6.2.1}/platon.egg-info/requires.txt +0 -0
- {platon-6.2 → platon-6.2.1}/platon.egg-info/top_level.txt +0 -0
- {platon-6.2 → platon-6.2.1}/setup.cfg +0 -0
- {platon-6.2 → platon-6.2.1}/tests/__init__.py +0 -0
- {platon-6.2 → platon-6.2.1}/tests/test_eclipse_retrieval.py +0 -0
- {platon-6.2 → platon-6.2.1}/tests/test_get_data.py +0 -0
- {platon-6.2 → platon-6.2.1}/tests/test_mie.py +0 -0
- {platon-6.2 → platon-6.2.1}/tests/test_mie_absorption.py +0 -0
- {platon-6.2 → platon-6.2.1}/tests/test_params.py +0 -0
- {platon-6.2 → platon-6.2.1}/tests/test_tau_calculator.py +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/abund_1Xsolar_cond.dat +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/exotransmit_heights +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/exotransmit_kappa +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/exotransmit_tau +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/hd209458b_transit_depths +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/hot_earth_spectra.dat +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/hot_jupiter_spectra.dat +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_data.npy +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_grid_x.npy +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_grid_y.npy +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_result.npy +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_target_x.npy +0 -0
- {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_target_y.npy +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Read the Docs configuration file for Sphinx projects
|
|
2
|
+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
3
|
+
|
|
4
|
+
# Required
|
|
5
|
+
version: 2
|
|
6
|
+
|
|
7
|
+
# Set the OS, Python version and other tools you might need
|
|
8
|
+
build:
|
|
9
|
+
os: ubuntu-22.04
|
|
10
|
+
tools:
|
|
11
|
+
python: "3.12"
|
|
12
|
+
# You can also specify other tool versions:
|
|
13
|
+
# nodejs: "20"
|
|
14
|
+
# rust: "1.70"
|
|
15
|
+
# golang: "1.20"
|
|
16
|
+
|
|
17
|
+
# Build documentation in the "docs/" directory with Sphinx
|
|
18
|
+
sphinx:
|
|
19
|
+
configuration: docs/conf.py
|
|
20
|
+
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
|
|
21
|
+
# builder: "dirhtml"
|
|
22
|
+
# Fail on all warnings to avoid broken references
|
|
23
|
+
# fail_on_warning: true
|
|
24
|
+
|
|
25
|
+
# Optionally build your docs in additional formats such as PDF and ePub
|
|
26
|
+
# formats:
|
|
27
|
+
# - pdf
|
|
28
|
+
# - epub
|
|
29
|
+
|
|
30
|
+
# Optional but recommended, declare the Python requirements required
|
|
31
|
+
# to build your documentation
|
|
32
|
+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
|
|
33
|
+
python:
|
|
34
|
+
install:
|
|
35
|
+
- requirements: docs/requirements.txt
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: platon
|
|
3
|
-
Version: 6.2
|
|
3
|
+
Version: 6.2.1
|
|
4
4
|
Summary: A package to compute transmission spectra and retrieve atmospheric parameters from transmission spectra
|
|
5
5
|
Home-page: https://github.com/ideasrule/platon
|
|
6
6
|
Author: Michael Zhang, Yayaati Chachan
|
|
@@ -28,7 +28,7 @@ Requires-Dist: matplotlib
|
|
|
28
28
|
[](https://arxiv.org/abs/2004.09513)
|
|
29
29
|
[](https://arxiv.org/abs/1811.11761)
|
|
30
30
|
|
|
31
|
-
**Oct 30, 2024: PLATON v6.2 is out, with major updates! This corresponds most closely to the version described in Zhang et al 2024. Major changes include GPU support, free retrievals, surface emission, higher-resolution (R=20k) and more up-to-date opacities, leave-one-out cross-validation, pymultinest, and much better plotting tools.**
|
|
31
|
+
**Oct 30, 2024: PLATON v6.2 is out, with major updates! This corresponds most closely to the version described in [Zhang et al 2024](https://arxiv.org/abs/2410.22398). Major changes include GPU support, free retrievals, surface emission, higher-resolution (R=20k) and more up-to-date opacities, leave-one-out cross-validation, pymultinest, and much better plotting tools.**
|
|
32
32
|
|
|
33
33
|
**February 2, 2020: PLEASE re-clone your repository if you cloned it before this
|
|
34
34
|
date! On this date, all data files were deleted from the repository, including
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://arxiv.org/abs/2004.09513)
|
|
6
6
|
[](https://arxiv.org/abs/1811.11761)
|
|
7
7
|
|
|
8
|
-
**Oct 30, 2024: PLATON v6.2 is out, with major updates! This corresponds most closely to the version described in Zhang et al 2024. Major changes include GPU support, free retrievals, surface emission, higher-resolution (R=20k) and more up-to-date opacities, leave-one-out cross-validation, pymultinest, and much better plotting tools.**
|
|
8
|
+
**Oct 30, 2024: PLATON v6.2 is out, with major updates! This corresponds most closely to the version described in [Zhang et al 2024](https://arxiv.org/abs/2410.22398). Major changes include GPU support, free retrievals, surface emission, higher-resolution (R=20k) and more up-to-date opacities, leave-one-out cross-validation, pymultinest, and much better plotting tools.**
|
|
9
9
|
|
|
10
10
|
**February 2, 2020: PLEASE re-clone your repository if you cloned it before this
|
|
11
11
|
date! On this date, all data files were deleted from the repository, including
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Welcome to PLATON's documentation!
|
|
7
7
|
==================================
|
|
8
|
-
**Oct 30, 2024: PLATON v6.2 is out, with major updates! This corresponds most closely to the version described in
|
|
8
|
+
**Oct 30, 2024: PLATON v6.2 is out, with major updates! This corresponds most closely to the version described in**
|
|
9
|
+
`Zhang et al 2024 <https://arxiv.org/abs/2410.22398>`_.
|
|
10
|
+
**Major changes include GPU support, free retrievals, surface emission, higher-resolution (R=20k) and more up-to-date opacities, leave-one-out cross-validation, pymultinest, and much better plotting tools.**
|
|
9
11
|
|
|
10
12
|
**April 18, 2020: PLATON v5.1 corresponds most closely to the version described
|
|
11
13
|
in our second PLATON paper.**
|
|
@@ -37,6 +37,7 @@ class AtmosphereSolver:
|
|
|
37
37
|
self.lambda_grid = xp.copy(load_numpy("data/wavelengths.npy")[::downsample])
|
|
38
38
|
self.d_ln_lambda = xp.median(xp.diff(xp.log(self.lambda_grid)))
|
|
39
39
|
else:
|
|
40
|
+
warnings.warn("Correlated-k is not recommended, and will probably be removed in a future version! Please use xsec")
|
|
40
41
|
self.lambda_grid = load_numpy("data/k_wavelengths.npy")
|
|
41
42
|
self.d_ln_lambda = xp.median(xp.diff(xp.log(xp.unique(self.lambda_grid))))
|
|
42
43
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import numpy as np
|
|
2
|
+
|
|
3
|
+
def convert_clr_to_vmr(clrs):
|
|
4
|
+
clr_bkg = - np.sum(clrs)
|
|
5
|
+
clrs_with_bkg = np.append(clrs, clr_bkg)
|
|
6
|
+
# print(clrs_with_bkg)
|
|
7
|
+
geometric_mean = 1 / np.sum(np.exp(clrs_with_bkg))
|
|
8
|
+
# vmrs = np.exp(clrs + np.log(geometric_mean))
|
|
9
|
+
vmrs_with_bkg = np.exp(clrs_with_bkg + np.log(geometric_mean))
|
|
10
|
+
if np.around(np.sum(vmrs_with_bkg), decimals = 5) == 1.0:
|
|
11
|
+
return vmrs_with_bkg
|
|
12
|
+
else:
|
|
13
|
+
print(np.around(np.sum(vmrs_with_bkg), decimals = 5))
|
|
14
|
+
raise ValueError(
|
|
15
|
+
'VMRs did not sum to unity. Something is wrong.')
|