PyTransit 2.9.1__tar.gz → 2.9.3__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 (301) hide show
  1. pytransit-2.9.3/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  2. pytransit-2.9.3/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  3. pytransit-2.9.3/.github/workflows/python-package.yml +49 -0
  4. pytransit-2.9.3/.github/workflows/python-publish.yml +72 -0
  5. pytransit-2.9.3/.gitignore +24 -0
  6. pytransit-2.9.3/.readthedocs.yaml +24 -0
  7. pytransit-2.9.3/.travis.yml +23 -0
  8. pytransit-2.9.3/CHANGELOG.md +222 -0
  9. pytransit-2.9.3/CITATIONS.bib +38 -0
  10. pytransit-2.9.3/CODE_OF_CONDUCT.md +128 -0
  11. {pytransit-2.9.1 → pytransit-2.9.3}/PKG-INFO +4 -2
  12. {pytransit-2.9.1 → pytransit-2.9.3}/PyTransit.egg-info/PKG-INFO +4 -2
  13. {pytransit-2.9.1 → pytransit-2.9.3}/PyTransit.egg-info/SOURCES.txt +125 -1
  14. {pytransit-2.9.1 → pytransit-2.9.3}/PyTransit.egg-info/requires.txt +2 -1
  15. pytransit-2.9.3/PyTransit.egg-info/scm_file_list.json +281 -0
  16. pytransit-2.9.3/PyTransit.egg-info/scm_version.json +8 -0
  17. {pytransit-2.9.1 → pytransit-2.9.3}/README.md +1 -0
  18. pytransit-2.9.3/_config.yml +1 -0
  19. pytransit-2.9.3/docs/Makefile +20 -0
  20. pytransit-2.9.3/docs/requirements.txt +5 -0
  21. pytransit-2.9.3/docs/source/_figures/__init__.py +21 -0
  22. pytransit-2.9.3/docs/source/_figures/dataset_arrays.py +127 -0
  23. pytransit-2.9.3/docs/source/_figures/highlights.py +127 -0
  24. pytransit-2.9.3/docs/source/_figures/roadrunner.py +281 -0
  25. pytransit-2.9.3/docs/source/api/deprecated.rst +111 -0
  26. pytransit-2.9.3/docs/source/api/index.rst +91 -0
  27. pytransit-2.9.3/docs/source/api/limb_darkening.rst +114 -0
  28. pytransit-2.9.3/docs/source/api/transitmodel.rst +26 -0
  29. pytransit-2.9.3/docs/source/basic_example_1.png +0 -0
  30. pytransit-2.9.3/docs/source/basic_example_1.svg +536 -0
  31. pytransit-2.9.3/docs/source/basic_example_2.png +0 -0
  32. pytransit-2.9.3/docs/source/basic_example_2.svg +563 -0
  33. pytransit-2.9.3/docs/source/basic_example_3.png +0 -0
  34. pytransit-2.9.3/docs/source/basic_example_3.svg +744 -0
  35. pytransit-2.9.3/docs/source/conf.py +124 -0
  36. pytransit-2.9.3/docs/source/contamination.rst +203 -0
  37. pytransit-2.9.3/docs/source/features/chromosphere.rst +35 -0
  38. pytransit-2.9.3/docs/source/features/gdmodel.rst +40 -0
  39. pytransit-2.9.3/docs/source/features/index.rst +15 -0
  40. pytransit-2.9.3/docs/source/features/opmodel.rst +37 -0
  41. pytransit-2.9.3/docs/source/features/roadrunner.rst +297 -0
  42. pytransit-2.9.3/docs/source/features/tsmodel.rst +30 -0
  43. pytransit-2.9.3/docs/source/guide/data_setup.rst +260 -0
  44. pytransit-2.9.3/docs/source/guide/evaluation.rst +181 -0
  45. pytransit-2.9.3/docs/source/guide/index.rst +84 -0
  46. pytransit-2.9.3/docs/source/guide/interface.rst +118 -0
  47. pytransit-2.9.3/docs/source/guide/limb_darkening.rst +243 -0
  48. pytransit-2.9.3/docs/source/guide/opencl.rst +124 -0
  49. pytransit-2.9.3/docs/source/highlights.rst +181 -0
  50. pytransit-2.9.3/docs/source/index.rst +158 -0
  51. pytransit-2.9.3/docs/source/installation.rst +71 -0
  52. pytransit-2.9.3/docs/source/io.rst +205 -0
  53. pytransit-2.9.3/docs/source/models/chromosphere.rst +47 -0
  54. pytransit-2.9.3/docs/source/models/eclipse.rst +83 -0
  55. pytransit-2.9.3/docs/source/models/gdmodel.rst +109 -0
  56. pytransit-2.9.3/docs/source/models/general.rst +62 -0
  57. pytransit-2.9.3/docs/source/models/index.rst +139 -0
  58. pytransit-2.9.3/docs/source/models/opencl.rst +38 -0
  59. pytransit-2.9.3/docs/source/models/opmodel.rst +105 -0
  60. pytransit-2.9.3/docs/source/models/qpower2.rst +56 -0
  61. pytransit-2.9.3/docs/source/models/quadratic.rst +73 -0
  62. pytransit-2.9.3/docs/source/models/roadrunner.rst +96 -0
  63. pytransit-2.9.3/docs/source/models/tsmodel.rst +76 -0
  64. pytransit-2.9.3/docs/source/models/uniform.rst +51 -0
  65. pytransit-2.9.3/docs/source/notebooks/models/roadrunner/common.py +19 -0
  66. pytransit-2.9.3/docs/source/notebooks/models/roadrunner/roadrunner_model_example_1.ipynb +683 -0
  67. pytransit-2.9.3/docs/source/notebooks/models/roadrunner/roadrunner_model_example_2.ipynb +507 -0
  68. pytransit-2.9.3/docs/source/notebooks/models/roadrunner/roadrunner_model_example_3.ipynb +248 -0
  69. pytransit-2.9.3/docs/source/notebooks/models/roadrunner/roadrunner_model_theory.ipynb +593 -0
  70. pytransit-2.9.3/docs/source/notebooks/quickstart.ipynb +328 -0
  71. pytransit-2.9.3/docs/source/stars.rst +118 -0
  72. pytransit-2.9.3/notebooks/001_simple_broadband_parameter_estimation.ipynb +2350 -0
  73. pytransit-2.9.3/notebooks/01_broadband_parameter_estimation.ipynb +1589 -0
  74. pytransit-2.9.3/notebooks/A1_impact_parameter_accuracy.ipynb +145 -0
  75. pytransit-2.9.3/notebooks/A2_Supersampling.ipynb +195 -0
  76. pytransit-2.9.3/notebooks/contamination/2024_m_dwarf_host_example_plots.ipynb +198 -0
  77. pytransit-2.9.3/notebooks/contamination/2024_m_dwarf_host_example_simulations.ipynb +1596 -0
  78. pytransit-2.9.3/notebooks/contamination/contamination_1_black_body_model.ipynb +261 -0
  79. pytransit-2.9.3/notebooks/contamination/contamination_2_physical_model.ipynb +189 -0
  80. pytransit-2.9.3/notebooks/contamination/contamination_3_comparison.ipynb +130 -0
  81. pytransit-2.9.3/notebooks/contamination/example_1a.ipynb +434 -0
  82. pytransit-2.9.3/notebooks/contamination/example_1b.ipynb +436 -0
  83. pytransit-2.9.3/notebooks/contamination/example_2a.ipynb +436 -0
  84. pytransit-2.9.3/notebooks/contamination/example_2b.ipynb +448 -0
  85. pytransit-2.9.3/notebooks/contamination/src/__init__.py +0 -0
  86. pytransit-2.9.3/notebooks/contamination/src/blendlpf.py +74 -0
  87. pytransit-2.9.3/notebooks/contamination/src/core.py +65 -0
  88. pytransit-2.9.3/notebooks/contamination/src/mocklc.py +209 -0
  89. pytransit-2.9.3/notebooks/contamination/src/plotting.py +121 -0
  90. pytransit-2.9.3/notebooks/core.py +155 -0
  91. pytransit-2.9.3/notebooks/data/obs_data.fits +164 -0
  92. pytransit-2.9.3/notebooks/example_chromosphere_model.ipynb +292 -0
  93. pytransit-2.9.3/notebooks/example_eclipse_model.ipynb +318 -0
  94. pytransit-2.9.3/notebooks/example_qpower2_model.ipynb +316 -0
  95. pytransit-2.9.3/notebooks/example_qpower2_opencl_model.ipynb +320 -0
  96. pytransit-2.9.3/notebooks/example_quadratic_model.ipynb +489 -0
  97. pytransit-2.9.3/notebooks/example_uniform_model.ipynb +457 -0
  98. pytransit-2.9.3/notebooks/model_example_1.png +0 -0
  99. pytransit-2.9.3/notebooks/oblate_planet_example/figures.ipynb +196 -0
  100. pytransit-2.9.3/notebooks/oblate_planet_example/opmodel_example_1.ipynb +154 -0
  101. pytransit-2.9.3/notebooks/oblate_planet_example/opmodel_geometry.pdf +0 -0
  102. pytransit-2.9.3/notebooks/osmodel_1.ipynb +223 -0
  103. pytransit-2.9.3/notebooks/osmodel_example_1.ipynb +308 -0
  104. pytransit-2.9.3/notebooks/osmodel_visualization_example.ipynb +142 -0
  105. pytransit-2.9.3/notebooks/roadrunner/common.py +19 -0
  106. pytransit-2.9.3/notebooks/roadrunner/tsmodel_example_1.ipynb +348 -0
  107. pytransit-2.9.3/notebooks/tess_examples/WASP-4b.ipynb +472 -0
  108. pytransit-2.9.3/notebooks/tess_examples/data/tess2018234235059-s0002-0000000402026209-0121-s_lc.fits +3185 -2
  109. pytransit-2.9.3/notebooks/tess_examples/data/tess2019032160000-s0008-0000000413248763-0136-s_lc.fits +2796 -15
  110. pytransit-2.9.3/notebooks/tess_examples/data/wasp_4b_transit_times.csv +42 -0
  111. pytransit-2.9.3/notebooks/tsmodel/test_accuracy.ipynb +313 -0
  112. pytransit-2.9.3/notebooks/ttv_model_example.ipynb +329 -0
  113. pytransit-2.9.3/notes/opencl-rrmodel-pt3-migration.md +354 -0
  114. {pytransit-2.9.1 → pytransit-2.9.3}/pyproject.toml +4 -2
  115. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/__init__.py +4 -1
  116. pytransit-2.9.3/pytransit/_version.py +24 -0
  117. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/contamination/contamination.py +13 -4
  118. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/contamination/filter.py +48 -7
  119. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/contamination/instrument.py +26 -0
  120. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/contamination/plotting.py +3 -3
  121. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/baselines/legendrebaseline.py +2 -2
  122. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/logposteriorfunction.py +167 -17
  123. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/lpf.py +18 -4
  124. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/ocltdvlpf.py +3 -3
  125. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/oclttvlpf.py +1 -1
  126. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/tdvlpf.py +3 -3
  127. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/transitanalysis.py +2 -2
  128. pytransit-2.9.3/pytransit/models/_deprecation.py +62 -0
  129. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/eclipse_model.py +29 -0
  130. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/gdmodel.py +62 -0
  131. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/general.py +48 -3
  132. pytransit-2.9.3/pytransit/models/limb_darkening/exponential.py +31 -0
  133. pytransit-2.9.3/pytransit/models/limb_darkening/linear.py +42 -0
  134. pytransit-2.9.3/pytransit/models/limb_darkening/logarithmic.py +33 -0
  135. pytransit-2.9.3/pytransit/models/limb_darkening/nonlinear.py +36 -0
  136. pytransit-2.9.3/pytransit/models/limb_darkening/power_2.py +87 -0
  137. pytransit-2.9.3/pytransit/models/limb_darkening/quadratic.py +52 -0
  138. pytransit-2.9.3/pytransit/models/limb_darkening/quadratic_tri.py +42 -0
  139. pytransit-2.9.3/pytransit/models/limb_darkening/square_root.py +32 -0
  140. pytransit-2.9.3/pytransit/models/limb_darkening/uniform.py +32 -0
  141. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/ma_chromosphere.py +32 -0
  142. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/ma_quadratic.py +9 -2
  143. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/ma_quadratic_cl.py +44 -36
  144. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/ma_uniform.py +41 -0
  145. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/ma_uniform_cl.py +14 -35
  146. pytransit-2.9.3/pytransit/models/opencltransitmodel.py +115 -0
  147. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/qpower2.py +2 -0
  148. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/qpower2_cl.py +20 -35
  149. pytransit-2.9.3/pytransit/models/roadrunner/__init__.py +0 -0
  150. pytransit-2.9.3/pytransit/models/roadrunner/common.py +661 -0
  151. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/esmodel.py +31 -0
  152. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/model_full.py +36 -28
  153. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/model_simple.py +44 -38
  154. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/model_trspec.py +33 -35
  155. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/opmodel.py +15 -17
  156. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/opmodel_full.py +44 -59
  157. pytransit-2.9.3/pytransit/models/roadrunner/rrmodel.cl +390 -0
  158. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/rrmodel.py +116 -56
  159. pytransit-2.9.3/pytransit/models/roadrunner/rrmodel_cl.py +581 -0
  160. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/tsmodel.py +44 -9
  161. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/transitmodel.py +71 -5
  162. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/param/parameter.py +6 -0
  163. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/stars/btsettl.py +40 -0
  164. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/stars/husser2013.py +49 -0
  165. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/de.py +18 -6
  166. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/io/base.py +51 -5
  167. pytransit-2.9.3/pytransit/utils/io/lcdata.py +784 -0
  168. {pytransit-2.9.1 → pytransit-2.9.3}/requirements.txt +2 -1
  169. pytransit-2.9.3/tests/__init__.py +0 -0
  170. pytransit-2.9.3/tests/conftest.py +51 -0
  171. pytransit-2.9.3/tests/reference_flux.npz +0 -0
  172. pytransit-2.9.3/tests/test_lcdata.py +1191 -0
  173. pytransit-2.9.3/tests/test_lpf_plotting.py +83 -0
  174. pytransit-2.9.3/tests/test_lpf_pool.py +200 -0
  175. pytransit-2.9.3/tests/test_opencl_kernels.py +89 -0
  176. pytransit-2.9.3/tests/test_opencl_set_data.py +204 -0
  177. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_rrmodel.py +94 -1
  178. pytransit-2.9.3/tests/test_rrmodel_cl.py +636 -0
  179. pytransit-2.9.3/tests/test_rrmodel_population.py +173 -0
  180. pytransit-2.9.3/tests/test_rrmodel_quadrature.py +149 -0
  181. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_rvdata.py +5 -0
  182. pytransit-2.9.3/tests/test_zgrid.py +45 -0
  183. pytransit-2.9.3/video1.png +0 -0
  184. pytransit-2.9.1/pytransit/models/limb_darkening/exponential.py +0 -15
  185. pytransit-2.9.1/pytransit/models/limb_darkening/linear.py +0 -22
  186. pytransit-2.9.1/pytransit/models/limb_darkening/logarithmic.py +0 -14
  187. pytransit-2.9.1/pytransit/models/limb_darkening/nonlinear.py +0 -13
  188. pytransit-2.9.1/pytransit/models/limb_darkening/power_2.py +0 -37
  189. pytransit-2.9.1/pytransit/models/limb_darkening/quadratic.py +0 -28
  190. pytransit-2.9.1/pytransit/models/limb_darkening/quadratic_tri.py +0 -17
  191. pytransit-2.9.1/pytransit/models/limb_darkening/square_root.py +0 -14
  192. pytransit-2.9.1/pytransit/models/limb_darkening/uniform.py +0 -14
  193. pytransit-2.9.1/pytransit/models/roadrunner/common.py +0 -263
  194. pytransit-2.9.1/pytransit/models/roadrunner/rrmodel.cl +0 -167
  195. pytransit-2.9.1/pytransit/models/roadrunner/rrmodel_cl.py +0 -373
  196. pytransit-2.9.1/pytransit/utils/io/lcdata.py +0 -322
  197. pytransit-2.9.1/tests/test_lcdata.py +0 -526
  198. {pytransit-2.9.1 → pytransit-2.9.3}/LICENSE +0 -0
  199. {pytransit-2.9.1 → pytransit-2.9.3}/MANIFEST.in +0 -0
  200. {pytransit-2.9.1 → pytransit-2.9.3}/PyTransit.egg-info/dependency_links.txt +0 -0
  201. {pytransit-2.9.1 → pytransit-2.9.3}/PyTransit.egg-info/top_level.txt +0 -0
  202. /pytransit-2.9.1/pytransit/models/roadrunner/__init__.py → /pytransit-2.9.3/docs/source/_static/.gitkeep +0 -0
  203. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/contamination/__init__.py +0 -0
  204. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/contamination/data/spectra.h5 +0 -0
  205. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/contamination/data/transmission.nc +0 -0
  206. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/limb_darkening.py +0 -0
  207. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/__init__.py +0 -0
  208. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/baselines/__init__.py +0 -0
  209. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/baselines/linearbaseline.py +0 -0
  210. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/baselines/lstsqbaseline.py +0 -0
  211. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/cntlpf.py +0 -0
  212. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/eclipselpf.py +0 -0
  213. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/loglikelihood/__init__.py +0 -0
  214. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/loglikelihood/celeriteloglikelihood.py +0 -0
  215. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/loglikelihood/clloglikelihood.py +0 -0
  216. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/loglikelihood/fmcloglikelihood.py +0 -0
  217. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/loglikelihood/logisticloglikelihood.py +0 -0
  218. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/loglikelihood/multiceleriteloglikelihood.py +0 -0
  219. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/loglikelihood/wnloglikelihood.py +0 -0
  220. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/mclpf.py +0 -0
  221. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/mptlpf.py +0 -0
  222. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/ocllpf.py +0 -0
  223. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/phasecurvelpf.py +0 -0
  224. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/rvlpf.py +0 -0
  225. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/tess/__init__.py +0 -0
  226. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/tess/ctesslpf.py +0 -0
  227. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/tess/tessttvlpf.py +0 -0
  228. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/tess/tgclpf.py +0 -0
  229. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/tess/tgcmplpf.py +0 -0
  230. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/tess/tmpclpf.py +0 -0
  231. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/tesslpf.py +0 -0
  232. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/tessoclttvlpf.py +0 -0
  233. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/transitlpf.py +0 -0
  234. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/lpf/ttvlpf.py +0 -0
  235. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/__init__.py +0 -0
  236. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/ldmodel.py +0 -0
  237. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/ldtkldm.py +0 -0
  238. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/limb_darkening/__init__.py +0 -0
  239. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/limb_darkening/evaluation.py +0 -0
  240. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/limb_darkening/general.py +0 -0
  241. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/new_eclipse_model.py +0 -0
  242. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/__init__.py +0 -0
  243. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/gdmodel.py +0 -0
  244. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/general_nb.py +0 -0
  245. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/ldmodels.py +0 -0
  246. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/ldtkldm.py +0 -0
  247. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/ma_chromosphere_nb.py +0 -0
  248. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/ma_quadratic_nb.py +0 -0
  249. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/ma_uniform_nb.py +0 -0
  250. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/phasecurves.py +0 -0
  251. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/qpower2_nb.py +0 -0
  252. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/spmodel.py +0 -0
  253. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/numba/udmodel.py +0 -0
  254. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/opencl/ma_quadratic.cl +0 -0
  255. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/opencl/ma_uniform.cl +0 -0
  256. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/opencl/orbits.cl +0 -0
  257. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/opencl/qpower2.cl +0 -0
  258. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/osmodel.py +0 -0
  259. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/ecintersection.py +0 -0
  260. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/model_eclipse.py +0 -0
  261. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/roadrunner/model_ecspec.py +0 -0
  262. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/models/uniform.py +0 -0
  263. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/orbits/__init__.py +0 -0
  264. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/orbits/orbits.py +0 -0
  265. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/orbits/orbits_py.py +0 -0
  266. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/orbits/taylor_z.py +0 -0
  267. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/param/__init__.py +0 -0
  268. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/param/prior.py +0 -0
  269. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/param/utilities.py +0 -0
  270. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/stars/__init__.py +0 -0
  271. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/stars/data/avg_bt_settl.fits +0 -0
  272. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/stars/data/avg_husser2013.fits +0 -0
  273. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/__init__.py +0 -0
  274. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/astrometry.py +0 -0
  275. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/constants.py +0 -0
  276. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/downsample.py +0 -0
  277. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/eclipses.py +0 -0
  278. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/io/__init__.py +0 -0
  279. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/io/rvdata.py +0 -0
  280. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/keplerlc.py +0 -0
  281. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/mdwarfs.py +0 -0
  282. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/misc.py +0 -0
  283. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/mocklc.py +0 -0
  284. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/octasphere.py +0 -0
  285. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/phasecurves.py +0 -0
  286. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/physics.py +0 -0
  287. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/rv.py +0 -0
  288. {pytransit-2.9.1 → pytransit-2.9.3}/pytransit/utils/tess.py +0 -0
  289. {pytransit-2.9.1 → pytransit-2.9.3}/setup.cfg +0 -0
  290. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_contamination.py +0 -0
  291. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_ecintersection.py +0 -0
  292. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_limb_darkening.py +0 -0
  293. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_lstsqbaseline.py +0 -0
  294. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_ma_quadratic.py +0 -0
  295. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_ma_quadratic_nb.py +0 -0
  296. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_opmodel.py +0 -0
  297. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_qpower2_nb.py +0 -0
  298. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_roadrunner_eclipse.py +0 -0
  299. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_uniform_model.py +0 -0
  300. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_uniform_model_nb.py +0 -0
  301. {pytransit-2.9.1 → pytransit-2.9.3}/tests/test_z.py +0 -0
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. iOS]
28
+ - Browser [e.g. chrome, safari]
29
+ - Version [e.g. 22]
30
+
31
+ **Smartphone (please complete the following information):**
32
+ - Device: [e.g. iPhone6]
33
+ - OS: [e.g. iOS8.1]
34
+ - Browser [e.g. stock browser, safari]
35
+ - Version [e.g. 22]
36
+
37
+ **Additional context**
38
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,49 @@
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
+
4
+ name: Python package
5
+
6
+ on:
7
+ push:
8
+ branches: [ "main", "dev" ]
9
+ pull_request:
10
+ branches: [ "main", "dev" ]
11
+
12
+ jobs:
13
+ build:
14
+
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ fail-fast: false
18
+ matrix:
19
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
20
+
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ with:
24
+ fetch-depth: 0
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ - name: Install dependencies
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ python -m pip install flake8 pytest pytest-cov
33
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
34
+ - name: Install package
35
+ run: |
36
+ python -m pip install .
37
+ - name: Lint with flake8
38
+ run: |
39
+ # stop the build if there are Python syntax errors or undefined names
40
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
41
+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
42
+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
43
+ - name: Test with pytest
44
+ run: |
45
+ pytest --cov tests
46
+ - name: Upload coverage reports to Codecov
47
+ uses: codecov/codecov-action@v4
48
+ env:
49
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -0,0 +1,72 @@
1
+ # This workflow will upload a Python Package to PyPI when a release is created
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name: Upload Python Package
10
+
11
+ on:
12
+ release:
13
+ types: [published]
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ jobs:
19
+ release-build:
20
+ runs-on: ubuntu-latest
21
+
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ with:
25
+ fetch-depth: 0
26
+
27
+ - uses: actions/setup-python@v5
28
+ with:
29
+ python-version: "3.13"
30
+
31
+ - name: Build release distributions
32
+ run: |
33
+ # NOTE: put your own distribution build steps here.
34
+ python -m pip install build
35
+ python -m build
36
+
37
+ - name: Upload distributions
38
+ uses: actions/upload-artifact@v4
39
+ with:
40
+ name: release-dists
41
+ path: dist/
42
+
43
+ pypi-publish:
44
+ runs-on: ubuntu-latest
45
+ needs:
46
+ - release-build
47
+ permissions:
48
+ # IMPORTANT: this permission is mandatory for trusted publishing
49
+ id-token: write
50
+
51
+ # Dedicated environments with protections for publishing are strongly recommended.
52
+ # For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
53
+ environment:
54
+ name: pypi
55
+ # OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
56
+ url: https://pypi.org/p/PyTransit
57
+ #
58
+ # ALTERNATIVE: if your GitHub Release name is the PyPI project version string
59
+ # ALTERNATIVE: exactly, uncomment the following line instead:
60
+ # url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
61
+
62
+ steps:
63
+ - name: Retrieve release distributions
64
+ uses: actions/download-artifact@v4
65
+ with:
66
+ name: release-dists
67
+ path: dist/
68
+
69
+ - name: Publish release distributions to PyPI
70
+ uses: pypa/gh-action-pypi-publish@release/v1
71
+ with:
72
+ packages-dir: dist/
@@ -0,0 +1,24 @@
1
+ *.o
2
+ *.so
3
+ *.mod
4
+ *.log
5
+ *.pyc
6
+ *~
7
+ *pkl
8
+ *pdf
9
+ .DS_Store
10
+
11
+ .coverage
12
+
13
+ .ipynb_checkpoints
14
+ PyTransit.egg-info
15
+ build
16
+ venv
17
+ dist
18
+
19
+ .idea/*
20
+ notebooks
21
+
22
+ htmlcov
23
+
24
+ pytransit/_version.py
@@ -0,0 +1,24 @@
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
+ version: 2
5
+
6
+ build:
7
+ os: ubuntu-22.04
8
+ tools:
9
+ python: "3.12"
10
+ apt_packages:
11
+ - pandoc # nbsphinx converts the notebooks' Markdown cells with pandoc
12
+ jobs:
13
+ # Read the Docs clones shallowly, but setuptools-scm needs the tags to work out the version.
14
+ post_checkout:
15
+ - git fetch --unshallow --tags || true
16
+
17
+ python:
18
+ install:
19
+ - method: pip
20
+ path: .
21
+ - requirements: docs/requirements.txt
22
+
23
+ sphinx:
24
+ configuration: docs/source/conf.py
@@ -0,0 +1,23 @@
1
+ language: python
2
+ python:
3
+ - "3.6"
4
+ - "3.7"
5
+ - "3.8"
6
+
7
+ os:
8
+ - linux
9
+
10
+ dist: bionic
11
+
12
+ cache: pip
13
+
14
+ install:
15
+ # - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install libpocl-dev pocl-opencl-icd; fi
16
+ - pip install -r requirements.txt
17
+ - pip install codecov coverage
18
+ - python setup.py install
19
+
20
+ script: nosetests -w tests --with-coverage
21
+
22
+ after_success:
23
+ - codecov
@@ -0,0 +1,222 @@
1
+ # Changelog
2
+
3
+ ## [2.9.3] - 2026-10-15
4
+
5
+ ### Changed
6
+
7
+ - The package version is now derived from Git tags with `setuptools-scm` instead of being hard-coded.
8
+ - Updated the RoadRunner documentation for the quadrature-based model, with new figures of the quadrature nodes and
9
+ the mean intensity table.
10
+
11
+ ### Fixed
12
+
13
+ - The Read the Docs build, which pointed at the old `doc/` directory and lacked some Sphinx extensions.
14
+ - A `SyntaxWarning` from an invalid escape sequence in the `BaseLPF.add_as_prior` docstring.
15
+
16
+ ## [2.9.2] - 2026-09-08
17
+
18
+ ### Added
19
+
20
+ - `LCDataGroup.plot` for plotting light curves in a filterable, annotated grid.
21
+ - Robust running-median outlier removal: `LCData.outlier_mask`, `LCData.remove_outliers`, and
22
+ `LCDataGroup.remove_outliers`.
23
+ - Interactive marking and removal of bad light curves in `LCDataGroup` (`mark_for_removal`, `remove_marked`, etc.).
24
+ - `add_time_covariates` for `LCData` and `LCDataGroup` to model polynomial time trends via the covariates.
25
+ - `LCData.linear_model` and `LCDataGroup.lcslices`.
26
+ - `ncores` and `start_method` arguments to `optimize_global` and `sample_mcmc` for automatic, fork-safe process pools.
27
+
28
+ ### Changed
29
+
30
+ - The RoadRunner models now use Gauss quadrature instead of stellar disk annuli. The new accuracy parameter is `nq`;
31
+ `nz`, `nzin`, `nzlimb`, `zcut`, `precompute_weights`, `klims`, and `nk` are deprecated and ignored.
32
+ - `RoadRunnerModelCL` uses the same quadrature and the MeepMeep orbit as the Numba model, and accepts a `precision`
33
+ argument (`'single'` or `'double'`).
34
+ - 1D radius ratio arrays are interpreted consistently by the Numba and OpenCL RoadRunner models.
35
+ - `optimize_global` and `sample_mcmc` raise a `ValueError` when a pool is combined with `vectorize=True`, and attach
36
+ the pool only for the duration of the call.
37
+
38
+ ### Fixed
39
+
40
+ - RoadRunner models now return NaN instead of raising for invalid radius ratios.
41
+ - RoadRunner population evaluation with 1D radius ratio arrays, scalar `e` and `w`, and 1D `t0` vectors.
42
+ - RoadRunner radius ratio weight table indexing and small-planet profile lookup.
43
+ - Single sample counts and exposure times are now broadcast to all light curves.
44
+ - The OpenCL models defaulted the exposure times to one day instead of zero.
45
+ - Importing an OpenCL model no longer silences PyOpenCL compiler warnings process-wide.
46
+ - NumPy 2 incompatibilities in `pytransit.lpf`.
47
+ - `ParameterSet` and `LogPosteriorFunction` pickling, which made pool-based runs hang.
48
+
49
+ ## [2.9.1] - 2026-08-24
50
+
51
+ ### Added
52
+
53
+ - `LCData` and `LCDataGroup` light curve containers in `pytransit.utils.io`.
54
+ - `RVData` and `RVDataGroup` radial velocity containers in `pytransit.utils.io`.
55
+
56
+ ## [2.9.0] - 2026-08-18
57
+
58
+ ### Added
59
+
60
+ - `LSTSQBaseline`, a parameterless baseline fitted by linear least squares at every evaluation.
61
+ - Analytic disk-integrated intensity functions for all limb darkening models.
62
+ - `exact_areas`, `exact_ld`, and `nannuli` options to `OblatePlanetModel`.
63
+ - Exact and θ-sampled ellipse-circle intersection area routines.
64
+ - Support for non-transiting planets in `RVLPF`.
65
+
66
+ ### Changed
67
+
68
+ - **Breaking**: `RVLPF` and `RVModel` require `rvis` and `is_transiting` arguments, `tc_{i}` is renamed `t0_{i}`,
69
+ and the reference time is now `floor(min(times))`.
70
+ - The limb darkening models moved from `pytransit.models.numba.ldmodels` to `pytransit.models.limb_darkening`.
71
+ - The `RoadRunnerModel` `small_planet_limit` default changed from 0.05 to 0.01.
72
+ - Improved the RoadRunner model parallelization and thread count handling.
73
+ - Improved the `OblatePlanetModel` weight calculations and bounding box handling.
74
+
75
+ ### Fixed
76
+
77
+ - Incorrect scanline ellipse-circle intersection areas for some geometries.
78
+ - `BaseLPF.remove_outliers` left the covariates inconsistent with the clipped data.
79
+ - `BaseLPF` covariate standardisation.
80
+
81
+ ### Deprecated
82
+
83
+ - `pytransit.models.numba.ldmodels`, in favour of `pytransit.models.limb_darkening`.
84
+
85
+ ## [2.8.1] - 2026-06-21
86
+
87
+ ### Fixed
88
+
89
+ - Broken tests.
90
+
91
+ ## [2.8.0] - 2026-06-19
92
+
93
+ ### Changed
94
+
95
+ - **Breaking**: The Numba `QuadraticModel`, `UniformModel`, `QPower2Model`, `ChromosphereModel`, and `EclipseModel`
96
+ no longer have an `evaluate_pv` method; use `evaluate` instead.
97
+ - All the models use the MeepMeep 1.0 API.
98
+ - The RoadRunner-family models use transit bounding boxes.
99
+
100
+ ### Fixed
101
+
102
+ - Eclipse model bounding box calculations.
103
+
104
+ ## [2.7.1] - 2026-05-07
105
+
106
+ ### Added
107
+
108
+ - `pytransit.models.new_eclipse_model.EclipseModel`, a multiplicative secondary eclipse model.
109
+
110
+ ## [2.7.0] - 2026-04-27
111
+
112
+ ### Added
113
+
114
+ - `EclipseSpectroscopyModel` for modelling eclipse spectroscopy.
115
+
116
+ ## [2.6.19] - 2026-03-18
117
+
118
+ ### Changed
119
+
120
+ - NumPy >= 2.0 is now required.
121
+
122
+ ## [2.6.18] - 2026-01-28
123
+
124
+ ### Changed
125
+
126
+ - Package data is accessed with `importlib.resources` instead of the deprecated `pkg_resources`.
127
+
128
+ ### Fixed
129
+
130
+ - `RoadRunnerModel` flux array indexing and bounding box handling, broken in 2.6.17.
131
+
132
+ ## [2.6.17] - 2025-11-27
133
+
134
+ ### Changed
135
+
136
+ - Improved the `RoadRunnerModel` transit bounding box calculation for eccentric orbits.
137
+
138
+ ## [2.6.16] - 2025-10-29
139
+
140
+ ### Fixed
141
+
142
+ - NumPy 2.0 incompatibilities.
143
+
144
+ ## [2.6.9] - 2025-07-22
145
+
146
+ ### Changed
147
+
148
+ - Improved `TSModel` accuracy by using a first-order Taylor series expansion of the planet-star intersection area. The
149
+ error in transit depth estimates should now be ~1 ppm for Jupiter-sized planets and below this for smaller planets.
150
+ - Fixed issues with Numpy 2.0.
151
+
152
+ ## [2.6.0] - 2024-02-01
153
+
154
+ ### Added
155
+
156
+ - *TSModel:* An extremely fast transit model for transmission spectroscopy. The model is based on the RoadRunnerModel and can use any
157
+ rotationally symmetric function to model stellar limb darkening.
158
+ - *LDTkLDM:* A RoadRunnerModel limb darkening model that uses directly stellar intensity profiles created by the LDTk. The model is
159
+ parameterised by the effective stellar temperature, surface gravity, and metallicity. This should be quite valuable for transmission
160
+ spectroscopy since the number of limb darkening parameters is independent of the number of passbands.
161
+
162
+ ## [2.4.0] - 2020-10-14
163
+
164
+ ### Added
165
+
166
+ - *EclipseModel:* an easy-to-use secondary eclipse model.
167
+
168
+ ## [2.3.0] - 2020-09-16
169
+
170
+ ### Added
171
+
172
+ - *OblateStarModel:* transit model to model transits over rapidly rotating gravity-darkened stars by Barnes (2009).
173
+ This is an initial release of the model (only a CPU version works at the moment) but I expect to
174
+ have it on-par with the rest of the models by v2.4.
175
+
176
+ ### Changed
177
+
178
+ - Renamed the *Swift* transit model introduced in v2.1 to *RoadRunner* transit model.
179
+ - Fixed several *RoadRunner* model issues caused by the transition to calculating the
180
+ projected distances using Taylor series expansion.
181
+ - Changed several of the OpenCL models use the Taylor series expansion approach to calculate
182
+ the projected distances.
183
+ - Lots of minor bug fixes.
184
+
185
+ ## [2.2.0] - 2020-09-13
186
+
187
+ PyTransit version 2.2 now calculates the normalized planet-star distances using a Taylor series expansion
188
+ of the x, and y positions in the sky plane (Parviainen and Korth, 2020, submitted to MNRAS). This gives a
189
+ significant speed boost in transit model evaluation that is especially noticeable for eccentric orbits.
190
+
191
+ ## [2.1.0] - 2020-07-07
192
+
193
+ PyTransit version 2.1 adds a new transit model named *swift* that can use any Python callable to model the stellar
194
+ limb darkening while still giving equal or better performance than the analytical quadratic transit
195
+ model.
196
+
197
+ ### Added
198
+
199
+ - *Swift* transit model (Parviainen, submitted) to allow fast and flexible transit modelling with
200
+ any radially symmetric limb darkening model.
201
+
202
+ ## [2.0.0] - 2020-07-07
203
+
204
+ PyTransit Version 2 removes the Fortran dependencies in v1 by implementing all the transit models
205
+ in *numba*-accelerated Python. Version 2 also adds a number of new transit models, and implements
206
+ most models both in CPU and GPU versions.
207
+
208
+ ### Added
209
+ - New API that is consistent across all transit models.
210
+
211
+ ### Changed
212
+ - Nearly everything.
213
+
214
+ ## [1.0.0 beta] - 2014-09-02
215
+
216
+ PyTransit 1.0 implements the quadratic model by Mandel & Agol and the general model by
217
+ Giménez with special optimisation that significantly improve the model evaluation speed.
218
+
219
+ ## Early history - 2010
220
+
221
+ The first version of PyTransit saw light in 2010. It implemented the transit model for general
222
+ limb darkening law by Giménez and was used in 20-30 papers before the public release of v1.0.
@@ -0,0 +1,38 @@
1
+
2
+ @article{Parviainen2015,
3
+ title = {{PYTRANSIT}: {Fast} and easy exoplanet transit modelling in {PYTHON}},
4
+ volume = {450},
5
+ url = {https://academic.oup.com/mnras/article/450/3/3233/1074637},
6
+ doi = {10.1093/mnras/stv894},
7
+ number = {3},
8
+ journal = {Monthly Notices of the Royal Astronomical Society},
9
+ author = {Parviainen, Hannu},
10
+ month = jul,
11
+ year = {2015},
12
+ pages = {3233--3238}
13
+ }
14
+
15
+ @article{Parviainen2020a,
16
+ title = {Going back to basics: accelerating exoplanet transit modelling using {Taylor}-series expansion of the orbital motion},
17
+ volume = {499},
18
+ number = {3},
19
+ url = {https://academic.oup.com/mnras/article/499/3/3356/5911608},
20
+ doi = {10.1093/mnras/staa2953},
21
+ journal = {Monthly Notices of the Royal Astronomical Society},
22
+ author = {Parviainen, Hannu and Korth, Judith},
23
+ month = sep,
24
+ year = {2020},
25
+ }
26
+
27
+ @article{Parviainen2020b,
28
+ title = {{RoadRunner}: a fast and flexible exoplanet transit model},
29
+ volume = {499},
30
+ url = {https://academic.oup.com/mnras/article/499/2/1633/5911588},
31
+ doi = {10.1093/mnras/staa2901},
32
+ number = {2},
33
+ journal = {Monthly Notices of the Royal Astronomical Society},
34
+ author = {Parviainen, Hannu},
35
+ month = oct,
36
+ year = {2020},
37
+ pages = {1633--1639}
38
+ }
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ hannu@iac.es.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyTransit
3
- Version: 2.9.1
3
+ Version: 2.9.3
4
4
  Summary: Fast and painless exoplanet transit light curve modelling.
5
5
  Author-email: Hannu Parviainen <hpparvi@gmail.com>
6
6
  License: GPLv2
@@ -32,15 +32,17 @@ Requires-Dist: deprecated
32
32
  Requires-Dist: seaborn
33
33
  Requires-Dist: emcee
34
34
  Requires-Dist: pyopencl
35
+ Requires-Dist: mako
35
36
  Requires-Dist: corner
36
37
  Requires-Dist: celerite
37
- Requires-Dist: meepmeep>=1.0.0
38
+ Requires-Dist: meepmeep>=1.1.0
38
39
  Dynamic: license-file
39
40
 
40
41
  PyTransit
41
42
  =========
42
43
 
43
44
  [![Licence](http://img.shields.io/badge/license-GPLv2-blue.svg?style=flat)](http://www.gnu.org/licenses/gpl-2.0.html)
45
+ [![Documentation Status](https://readthedocs.org/projects/pytransit/badge/?version=stable)](https://pytransit.readthedocs.io/en/stable/)
44
46
  [![MNRAS](https://img.shields.io/badge/MNRAS-10.1093%2Fmnras%2Fstv894-blue.svg)](http://mnras.oxfordjournals.org/content/450/3/3233)
45
47
  [![arXiv](http://img.shields.io/badge/arXiv-1504.07433-blue.svg?style=flat)](http://arxiv.org/abs/1504.07433)
46
48
  [![ASCL](https://img.shields.io/badge/ASCL-A1505.024-blue.svg?style=flat)](http://ascl.net/1505.024)