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.
Files changed (285) hide show
  1. platon-6.2.1/.readthedocs.yaml +35 -0
  2. {platon-6.2 → platon-6.2.1}/PKG-INFO +2 -2
  3. {platon-6.2 → platon-6.2.1}/README.md +1 -1
  4. {platon-6.2 → platon-6.2.1}/docs/index.rst +3 -1
  5. platon-6.2.1/docs/requirements.txt +2 -0
  6. {platon-6.2 → platon-6.2.1}/platon/__init__.py +1 -1
  7. {platon-6.2 → platon-6.2.1}/platon/_atmosphere_solver.py +1 -0
  8. platon-6.2.1/platon/_convert_clr_to_vmr.py +15 -0
  9. platon-6.2.1/platon/combined_retriever.py +681 -0
  10. platon-6.2.1/platon/combined_retriever_SO2.py +577 -0
  11. platon-6.2.1/platon/combined_retriever_backup.py +529 -0
  12. platon-6.2.1/platon/combined_retriever_with_NO.py +687 -0
  13. platon-6.2.1/platon/old_files/TP_profile.py +124 -0
  14. platon-6.2.1/platon/old_files/__init__.py +4 -0
  15. platon-6.2.1/platon/old_files/_atmosphere_solver.py +465 -0
  16. platon-6.2.1/platon/old_files/_cupy_numpy.py +23 -0
  17. platon-6.2.1/platon/old_files/_get_data.py +72 -0
  18. platon-6.2.1/platon/old_files/_hydrostatic_solver.py +49 -0
  19. platon-6.2.1/platon/old_files/_interpolator_3D.py +77 -0
  20. platon-6.2.1/platon/old_files/_loader.py +14 -0
  21. platon-6.2.1/platon/old_files/_mie_cache.py +68 -0
  22. platon-6.2.1/platon/old_files/_mie_multi_x.py +85 -0
  23. platon-6.2.1/platon/old_files/_output_writer.py +21 -0
  24. platon-6.2.1/platon/old_files/_params.py +68 -0
  25. platon-6.2.1/platon/old_files/_species_data_reader.py +34 -0
  26. platon-6.2.1/platon/old_files/_tau_calculator.py +26 -0
  27. platon-6.2.1/platon/old_files/abundance_getter.py +104 -0
  28. platon-6.2.1/platon/old_files/combined_retriever.py +540 -0
  29. platon-6.2.1/platon/old_files/combined_retriever_SO2.py +504 -0
  30. platon-6.2.1/platon/old_files/combined_retriever_backup.py +529 -0
  31. platon-6.2.1/platon/old_files/constants.py +37 -0
  32. platon-6.2.1/platon/old_files/custom_dynesty_result.py +36 -0
  33. platon-6.2.1/platon/old_files/eclipse_depth_calculator.py +173 -0
  34. platon-6.2.1/platon/old_files/errors.py +2 -0
  35. platon-6.2.1/platon/old_files/fit_info.py +112 -0
  36. platon-6.2.1/platon/old_files/retrieval_result.py +133 -0
  37. platon-6.2.1/platon/old_files/retriever.py +141 -0
  38. platon-6.2.1/platon/old_files/transit_depth_calculator.py +326 -0
  39. platon-6.2.1/platon/surface_calculator_backup.py +287 -0
  40. {platon-6.2 → platon-6.2.1}/platon/transit_depth_calculator.py +1 -1
  41. platon-6.2.1/platon/visualizer.py +120 -0
  42. platon-6.2.1/platon/wasp39_retrieval_code/TP_profile.py +119 -0
  43. platon-6.2.1/platon/wasp39_retrieval_code/__init__.py +4 -0
  44. platon-6.2.1/platon/wasp39_retrieval_code/_atmosphere_solver.py +477 -0
  45. platon-6.2.1/platon/wasp39_retrieval_code/_cupy_numpy.py +23 -0
  46. platon-6.2.1/platon/wasp39_retrieval_code/_get_data.py +72 -0
  47. platon-6.2.1/platon/wasp39_retrieval_code/_hydrostatic_solver.py +49 -0
  48. platon-6.2.1/platon/wasp39_retrieval_code/_interpolator_3D.py +77 -0
  49. platon-6.2.1/platon/wasp39_retrieval_code/_loader.py +14 -0
  50. platon-6.2.1/platon/wasp39_retrieval_code/_mie_cache.py +68 -0
  51. platon-6.2.1/platon/wasp39_retrieval_code/_mie_multi_x.py +85 -0
  52. platon-6.2.1/platon/wasp39_retrieval_code/_output_writer.py +21 -0
  53. platon-6.2.1/platon/wasp39_retrieval_code/_params.py +68 -0
  54. platon-6.2.1/platon/wasp39_retrieval_code/_species_data_reader.py +34 -0
  55. platon-6.2.1/platon/wasp39_retrieval_code/_tau_calculator.py +26 -0
  56. platon-6.2.1/platon/wasp39_retrieval_code/abundance_getter.py +104 -0
  57. platon-6.2.1/platon/wasp39_retrieval_code/combined_retriever.py +597 -0
  58. platon-6.2.1/platon/wasp39_retrieval_code/combined_retriever_backup.py +529 -0
  59. platon-6.2.1/platon/wasp39_retrieval_code/constants.py +37 -0
  60. platon-6.2.1/platon/wasp39_retrieval_code/custom_dynesty_result.py +36 -0
  61. platon-6.2.1/platon/wasp39_retrieval_code/eclipse_depth_calculator.py +174 -0
  62. platon-6.2.1/platon/wasp39_retrieval_code/errors.py +2 -0
  63. platon-6.2.1/platon/wasp39_retrieval_code/fit_info.py +129 -0
  64. platon-6.2.1/platon/wasp39_retrieval_code/params.py +5 -0
  65. platon-6.2.1/platon/wasp39_retrieval_code/psis.py +395 -0
  66. platon-6.2.1/platon/wasp39_retrieval_code/retrieval_result.py +156 -0
  67. platon-6.2.1/platon/wasp39_retrieval_code/retriever.py +141 -0
  68. platon-6.2.1/platon/wasp39_retrieval_code/transit_depth_calculator.py +318 -0
  69. platon-6.2.1/platon/wasp39_retrieval_code/visualizer.py +120 -0
  70. platon-6.2.1/platon/with_NO_retrieval/TP_profile.py +117 -0
  71. platon-6.2.1/platon/with_NO_retrieval/__init__.py +4 -0
  72. platon-6.2.1/platon/with_NO_retrieval/_atmosphere_solver.py +483 -0
  73. platon-6.2.1/platon/with_NO_retrieval/_convert_clr_to_vmr.py +15 -0
  74. platon-6.2.1/platon/with_NO_retrieval/_cupy_numpy.py +25 -0
  75. platon-6.2.1/platon/with_NO_retrieval/_get_data.py +72 -0
  76. platon-6.2.1/platon/with_NO_retrieval/_hist.py +22 -0
  77. platon-6.2.1/platon/with_NO_retrieval/_hydrostatic_solver.py +49 -0
  78. platon-6.2.1/platon/with_NO_retrieval/_interpolator_3D.py +77 -0
  79. platon-6.2.1/platon/with_NO_retrieval/_loader.py +14 -0
  80. platon-6.2.1/platon/with_NO_retrieval/_mie_cache.py +66 -0
  81. platon-6.2.1/platon/with_NO_retrieval/_mie_multi_x.py +85 -0
  82. platon-6.2.1/platon/with_NO_retrieval/_output_writer.py +21 -0
  83. platon-6.2.1/platon/with_NO_retrieval/_params.py +68 -0
  84. platon-6.2.1/platon/with_NO_retrieval/_species_data_reader.py +34 -0
  85. platon-6.2.1/platon/with_NO_retrieval/_tau_calculator.py +26 -0
  86. platon-6.2.1/platon/with_NO_retrieval/abundance_getter.py +173 -0
  87. platon-6.2.1/platon/with_NO_retrieval/combined_retriever_SO2.py +577 -0
  88. platon-6.2.1/platon/with_NO_retrieval/combined_retriever_backup.py +529 -0
  89. platon-6.2.1/platon/with_NO_retrieval/combined_retriever_with_NO.py +687 -0
  90. platon-6.2.1/platon/with_NO_retrieval/constants.py +39 -0
  91. platon-6.2.1/platon/with_NO_retrieval/custom_dynesty_result.py +36 -0
  92. platon-6.2.1/platon/with_NO_retrieval/eclipse_depth_calculator.py +214 -0
  93. platon-6.2.1/platon/with_NO_retrieval/errors.py +2 -0
  94. platon-6.2.1/platon/with_NO_retrieval/fit_info.py +129 -0
  95. platon-6.2.1/platon/with_NO_retrieval/params.py +5 -0
  96. platon-6.2.1/platon/with_NO_retrieval/plotter.py +258 -0
  97. platon-6.2.1/platon/with_NO_retrieval/psis.py +395 -0
  98. platon-6.2.1/platon/with_NO_retrieval/retrieval_result.py +67 -0
  99. platon-6.2.1/platon/with_NO_retrieval/retriever.py +137 -0
  100. platon-6.2.1/platon/with_NO_retrieval/surface_calculator.py +287 -0
  101. platon-6.2.1/platon/with_NO_retrieval/surface_calculator_backup.py +287 -0
  102. platon-6.2.1/platon/with_NO_retrieval/transit_depth_calculator.py +315 -0
  103. platon-6.2.1/platon/with_NO_retrieval/visualizer.py +120 -0
  104. {platon-6.2 → platon-6.2.1}/platon.egg-info/PKG-INFO +2 -2
  105. {platon-6.2 → platon-6.2.1}/platon.egg-info/SOURCES.txt +98 -0
  106. platon-6.2.1/setup.py +30 -0
  107. {platon-6.2 → platon-6.2.1}/tests/test_TP_profiles.py +4 -3
  108. {platon-6.2 → platon-6.2.1}/tests/test_eclipse_depth_calculator.py +5 -4
  109. {platon-6.2 → platon-6.2.1}/tests/test_retrieve.py +12 -9
  110. {platon-6.2 → platon-6.2.1}/tests/test_transit_depth_calculator.py +10 -8
  111. platon-6.2.1/tests/testing_data/lx_mie_output.dat +100214 -0
  112. platon-6.2/tests/testing_data/lx_mie_output.dat +0 -4617
  113. {platon-6.2 → platon-6.2.1}/.gitignore +0 -0
  114. {platon-6.2 → platon-6.2.1}/.travis.yml +0 -0
  115. {platon-6.2 → platon-6.2.1}/LICENSE +0 -0
  116. {platon-6.2 → platon-6.2.1}/MANIFEST.in +0 -0
  117. {platon-6.2 → platon-6.2.1}/codecov.yaml +0 -0
  118. {platon-6.2 → platon-6.2.1}/docs/Makefile +0 -0
  119. {platon-6.2 → platon-6.2.1}/docs/conf.py +0 -0
  120. {platon-6.2 → platon-6.2.1}/docs/eclipse_depths.rst +0 -0
  121. {platon-6.2 → platon-6.2.1}/docs/install.rst +0 -0
  122. {platon-6.2 → platon-6.2.1}/docs/intro.rst +0 -0
  123. {platon-6.2 → platon-6.2.1}/docs/make.bat +0 -0
  124. {platon-6.2 → platon-6.2.1}/docs/mie_scattering.rst +0 -0
  125. {platon-6.2 → platon-6.2.1}/docs/questions_and_answers.rst +0 -0
  126. {platon-6.2 → platon-6.2.1}/docs/quickstart.rst +0 -0
  127. {platon-6.2 → platon-6.2.1}/docs/source/modules.rst +0 -0
  128. {platon-6.2 → platon-6.2.1}/docs/source/platon.rst +0 -0
  129. {platon-6.2 → platon-6.2.1}/docs/surface_emission.rst +0 -0
  130. {platon-6.2 → platon-6.2.1}/docs/visualizer.rst +0 -0
  131. {platon-6.2 → platon-6.2.1}/docs/visualizer_disk.png +0 -0
  132. {platon-6.2 → platon-6.2.1}/docs/visualizer_layers.png +0 -0
  133. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_0p1Xsolar_cond.dat +0 -0
  134. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_0p1Xsolar_gas.dat +0 -0
  135. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1000Xsolar_cond.dat +0 -0
  136. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1000Xsolar_cond_graphite.dat +0 -0
  137. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1000Xsolar_gas.dat +0 -0
  138. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_100Xsolar_cond.dat +0 -0
  139. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_100Xsolar_cond_graphite.dat +0 -0
  140. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_100Xsolar_gas.dat +0 -0
  141. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_10Xsolar_cond.dat +0 -0
  142. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_10Xsolar_cond_graphite.dat +0 -0
  143. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_10Xsolar_gas.dat +0 -0
  144. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1Xsolar_cond.dat +0 -0
  145. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_1Xsolar_gas.dat +0 -0
  146. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_30Xsolar_cond.dat +0 -0
  147. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_30Xsolar_cond_graphite.dat +0 -0
  148. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_30Xsolar_gas.dat +0 -0
  149. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_50Xsolar_cond.dat +0 -0
  150. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_50Xsolar_cond_graphite.dat +0 -0
  151. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_50Xsolar_gas.dat +0 -0
  152. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_5Xsolar_cond.dat +0 -0
  153. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_5Xsolar_cond_graphite.dat +0 -0
  154. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_5Xsolar_gas.dat +0 -0
  155. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_C2H2.dat +0 -0
  156. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_C2H4.dat +0 -0
  157. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_C2H6.dat +0 -0
  158. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_CH4.dat +0 -0
  159. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_CO.dat +0 -0
  160. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_CO2.dat +0 -0
  161. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_H2CO.dat +0 -0
  162. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_H2O.dat +0 -0
  163. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_H2S.dat +0 -0
  164. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_HCN.dat +0 -0
  165. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_HCl.dat +0 -0
  166. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_HF.dat +0 -0
  167. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_MgH.dat +0 -0
  168. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_N2.dat +0 -0
  169. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_NH3.dat +0 -0
  170. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_NO.dat +0 -0
  171. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_NO2.dat +0 -0
  172. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_O2.dat +0 -0
  173. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_O3.dat +0 -0
  174. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_OCS.dat +0 -0
  175. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_OH.dat +0 -0
  176. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_PH3.dat +0 -0
  177. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_SH.dat +0 -0
  178. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_SO2.dat +0 -0
  179. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_SiH.dat +0 -0
  180. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_SiO.dat +0 -0
  181. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_TiO.dat +0 -0
  182. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_VO.dat +0 -0
  183. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p2_CtoO_cond.dat +0 -0
  184. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p2_CtoO_gas.dat +0 -0
  185. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p4_CtoO_cond.dat +0 -0
  186. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p4_CtoO_gas.dat +0 -0
  187. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p6_CtoO_cond.dat +0 -0
  188. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p6_CtoO_gas.dat +0 -0
  189. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p8_CtoO_cond.dat +0 -0
  190. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_0p8_CtoO_gas.dat +0 -0
  191. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p0_CtoO_cond.dat +0 -0
  192. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p0_CtoO_cond_graphite.dat +0 -0
  193. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p0_CtoO_gas.dat +0 -0
  194. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p2_CtoO_cond.dat +0 -0
  195. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p2_CtoO_cond_graphite.dat +0 -0
  196. {platon-6.2 → platon-6.2.1}/examples/custom_abundances/abund_solar_1p2_CtoO_gas.dat +0 -0
  197. {platon-6.2 → platon-6.2.1}/examples/eclipse_depths_example.py +0 -0
  198. {platon-6.2 → platon-6.2.1}/examples/retrieve_dynesty.py +0 -0
  199. {platon-6.2 → platon-6.2.1}/examples/retrieve_eclipses.py +0 -0
  200. {platon-6.2 → platon-6.2.1}/examples/retrieve_emcee.py +0 -0
  201. {platon-6.2 → platon-6.2.1}/examples/retrieve_multinest.py +0 -0
  202. {platon-6.2 → platon-6.2.1}/examples/surface_example.py +0 -0
  203. {platon-6.2 → platon-6.2.1}/examples/transit_depth_binned_example.py +0 -0
  204. {platon-6.2 → platon-6.2.1}/examples/transit_depth_example.py +0 -0
  205. {platon-6.2 → platon-6.2.1}/examples/visualize.py +0 -0
  206. {platon-6.2 → platon-6.2.1}/logo.png +0 -0
  207. {platon-6.2 → platon-6.2.1}/misc/README +0 -0
  208. {platon-6.2 → platon-6.2.1}/misc/calc_k_coeffs.py +0 -0
  209. {platon-6.2 → platon-6.2.1}/misc/compare_abundances.py +0 -0
  210. {platon-6.2 → platon-6.2.1}/misc/create_stellar_spectrum_grid.py +0 -0
  211. {platon-6.2 → platon-6.2.1}/misc/deploy_to_pypi.sh +0 -0
  212. {platon-6.2 → platon-6.2.1}/misc/exotransmit_spectrum.dat +0 -0
  213. {platon-6.2 → platon-6.2.1}/misc/gather_fastchem_abunds.py +0 -0
  214. {platon-6.2 → platon-6.2.1}/misc/gen_mie_data.py +0 -0
  215. {platon-6.2 → platon-6.2.1}/misc/generate_CIA_files.py +0 -0
  216. {platon-6.2 → platon-6.2.1}/misc/high_res_create_stellar_spectrum.py +0 -0
  217. {platon-6.2 → platon-6.2.1}/misc/hitran/compute_cross_sections.py +0 -0
  218. {platon-6.2 → platon-6.2.1}/misc/hitran/compute_cross_sections_trunc.py +0 -0
  219. {platon-6.2 → platon-6.2.1}/misc/load_grid.py +0 -0
  220. {platon-6.2 → platon-6.2.1}/misc/plot_CO.py +0 -0
  221. {platon-6.2 → platon-6.2.1}/misc/read_one.py +0 -0
  222. {platon-6.2 → platon-6.2.1}/misc/retrieve_exotransmit.py +0 -0
  223. {platon-6.2 → platon-6.2.1}/misc/retrieve_fake_data.py +0 -0
  224. {platon-6.2 → platon-6.2.1}/misc/run_fastchem.py +0 -0
  225. {platon-6.2 → platon-6.2.1}/misc/run_grid/abund_solar.in +0 -0
  226. {platon-6.2 → platon-6.2.1}/misc/run_grid/gen_abund_dicts.sh +0 -0
  227. {platon-6.2 → platon-6.2.1}/misc/run_grid/makeAbun.py +0 -0
  228. {platon-6.2 → platon-6.2.1}/misc/run_grid/model_template.in +0 -0
  229. {platon-6.2 → platon-6.2.1}/misc/run_grid/read_ggchem.py +0 -0
  230. {platon-6.2 → platon-6.2.1}/misc/run_grid/run_with_CO.sh +0 -0
  231. {platon-6.2 → platon-6.2.1}/misc/save_output.py +0 -0
  232. {platon-6.2 → platon-6.2.1}/misc/upload_data.sh +0 -0
  233. {platon-6.2 → platon-6.2.1}/platon/TP_profile.py +0 -0
  234. {platon-6.2 → platon-6.2.1}/platon/_cupy_numpy.py +0 -0
  235. {platon-6.2 → platon-6.2.1}/platon/_get_data.py +0 -0
  236. {platon-6.2 → platon-6.2.1}/platon/_hist.py +0 -0
  237. {platon-6.2 → platon-6.2.1}/platon/_hydrostatic_solver.py +0 -0
  238. {platon-6.2 → platon-6.2.1}/platon/_interpolator_3D.py +0 -0
  239. {platon-6.2 → platon-6.2.1}/platon/_loader.py +0 -0
  240. {platon-6.2 → platon-6.2.1}/platon/_mie_cache.py +0 -0
  241. {platon-6.2 → platon-6.2.1}/platon/_mie_multi_x.py +0 -0
  242. {platon-6.2 → platon-6.2.1}/platon/_output_writer.py +0 -0
  243. {platon-6.2 → platon-6.2.1}/platon/_params.py +0 -0
  244. {platon-6.2 → platon-6.2.1}/platon/_species_data_reader.py +0 -0
  245. {platon-6.2 → platon-6.2.1}/platon/_tau_calculator.py +0 -0
  246. {platon-6.2 → platon-6.2.1}/platon/abundance_getter.py +0 -0
  247. {platon-6.2 → platon-6.2.1}/platon/constants.py +0 -0
  248. {platon-6.2 → platon-6.2.1}/platon/custom_dynesty_result.py +0 -0
  249. {platon-6.2 → platon-6.2.1}/platon/eclipse_depth_calculator.py +0 -0
  250. {platon-6.2 → platon-6.2.1}/platon/errors.py +0 -0
  251. {platon-6.2 → platon-6.2.1}/platon/fit_info.py +0 -0
  252. {platon-6.2/platon → platon-6.2.1/platon/old_files}/visualizer.py +0 -0
  253. {platon-6.2 → platon-6.2.1}/platon/params.py +0 -0
  254. {platon-6.2 → platon-6.2.1}/platon/plotter.py +0 -0
  255. {platon-6.2 → platon-6.2.1}/platon/psis.py +0 -0
  256. {platon-6.2 → platon-6.2.1}/platon/retrieval_result.py +0 -0
  257. {platon-6.2 → platon-6.2.1}/platon/retriever.py +0 -0
  258. {platon-6.2 → platon-6.2.1/platon}/setup.py +0 -0
  259. {platon-6.2 → platon-6.2.1}/platon/surface_calculator.py +0 -0
  260. {platon-6.2/platon → platon-6.2.1/platon/with_NO_retrieval}/combined_retriever.py +0 -0
  261. {platon-6.2 → platon-6.2.1}/platon.egg-info/dependency_links.txt +0 -0
  262. {platon-6.2 → platon-6.2.1}/platon.egg-info/not-zip-safe +0 -0
  263. {platon-6.2 → platon-6.2.1}/platon.egg-info/requires.txt +0 -0
  264. {platon-6.2 → platon-6.2.1}/platon.egg-info/top_level.txt +0 -0
  265. {platon-6.2 → platon-6.2.1}/setup.cfg +0 -0
  266. {platon-6.2 → platon-6.2.1}/tests/__init__.py +0 -0
  267. {platon-6.2 → platon-6.2.1}/tests/test_eclipse_retrieval.py +0 -0
  268. {platon-6.2 → platon-6.2.1}/tests/test_get_data.py +0 -0
  269. {platon-6.2 → platon-6.2.1}/tests/test_mie.py +0 -0
  270. {platon-6.2 → platon-6.2.1}/tests/test_mie_absorption.py +0 -0
  271. {platon-6.2 → platon-6.2.1}/tests/test_params.py +0 -0
  272. {platon-6.2 → platon-6.2.1}/tests/test_tau_calculator.py +0 -0
  273. {platon-6.2 → platon-6.2.1}/tests/testing_data/abund_1Xsolar_cond.dat +0 -0
  274. {platon-6.2 → platon-6.2.1}/tests/testing_data/exotransmit_heights +0 -0
  275. {platon-6.2 → platon-6.2.1}/tests/testing_data/exotransmit_kappa +0 -0
  276. {platon-6.2 → platon-6.2.1}/tests/testing_data/exotransmit_tau +0 -0
  277. {platon-6.2 → platon-6.2.1}/tests/testing_data/hd209458b_transit_depths +0 -0
  278. {platon-6.2 → platon-6.2.1}/tests/testing_data/hot_earth_spectra.dat +0 -0
  279. {platon-6.2 → platon-6.2.1}/tests/testing_data/hot_jupiter_spectra.dat +0 -0
  280. {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_data.npy +0 -0
  281. {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_grid_x.npy +0 -0
  282. {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_grid_y.npy +0 -0
  283. {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_result.npy +0 -0
  284. {platon-6.2 → platon-6.2.1}/tests/testing_data/interp_target_x.npy +0 -0
  285. {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
  [![arXiv](http://img.shields.io/badge/arXiv-2004.09513-orange.svg)](https://arxiv.org/abs/2004.09513)
29
29
  [![arXiv](http://img.shields.io/badge/arXiv-1811.11761-orange.svg)](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
  [![arXiv](http://img.shields.io/badge/arXiv-2004.09513-orange.svg)](https://arxiv.org/abs/2004.09513)
6
6
  [![arXiv](http://img.shields.io/badge/arXiv-1811.11761-orange.svg)](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 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**
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.**
@@ -0,0 +1,2 @@
1
+ sphinx-rtd-theme
2
+ platon
@@ -1,4 +1,4 @@
1
1
  name = "platon"
2
- __version__ = "6.2"
2
+ __version__ = "6.2.1"
3
3
  __md5sum__ = "2cc3d6d746c80cc38bd9fdb25c226842"
4
4
  __data_url__ = "https://astro.uchicago.edu/~mz/data_{}.zip".format(__md5sum__)
@@ -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.')