ACID-code-v2 0.1.8__tar.gz → 0.2.0__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 (178) hide show
  1. acid_code_v2-0.2.0/.github/workflows/publish.yml +16 -0
  2. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.readthedocs.yaml +2 -2
  3. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/PKG-INFO +10 -6
  4. acid_code_v2-0.2.0/README.md +15 -0
  5. acid_code_v2-0.2.0/docs/ACID.rst +7 -0
  6. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/conf.py +8 -8
  7. acid_code_v2-0.2.0/docs/index.rst +47 -0
  8. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/installation.rst +6 -9
  9. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/using_ACID.rst +11 -12
  10. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/pyproject.toml +6 -1
  11. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0/src}/ACID_code_v2/ACID.py +117 -160
  12. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0/src}/ACID_code_v2/LSD.py +3 -4
  13. acid_code_v2-0.2.0/src/ACID_code_v2/__init__.py +2 -0
  14. acid_code_v2-0.2.0/src/ACID_code_v2/mcmc_utils.py +60 -0
  15. acid_code_v2-0.2.0/src/ACID_code_v2/utils.py +45 -0
  16. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/PKG-INFO +10 -6
  17. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/SOURCES.txt +6 -71
  18. acid_code_v2-0.1.8/ACID_code_v2/__init__.py +0 -1
  19. acid_code_v2-0.1.8/ACID_code_v2/utils.py +0 -20
  20. acid_code_v2-0.1.8/README.md +0 -11
  21. acid_code_v2-0.1.8/docs/ACID.rst +0 -7
  22. acid_code_v2-0.1.8/docs/Makefile +0 -20
  23. acid_code_v2-0.1.8/docs/_build/.DS_Store +0 -0
  24. acid_code_v2-0.1.8/docs/_build/doctrees/ACID.doctree +0 -0
  25. acid_code_v2-0.1.8/docs/_build/doctrees/environment.pickle +0 -0
  26. acid_code_v2-0.1.8/docs/_build/doctrees/getting_started.doctree +0 -0
  27. acid_code_v2-0.1.8/docs/_build/doctrees/index.doctree +0 -0
  28. acid_code_v2-0.1.8/docs/_build/doctrees/installation.doctree +0 -0
  29. acid_code_v2-0.1.8/docs/_build/doctrees/tutorials.doctree +0 -0
  30. acid_code_v2-0.1.8/docs/_build/doctrees/using_ACID.doctree +0 -0
  31. acid_code_v2-0.1.8/docs/_build/html/.buildinfo +0 -4
  32. acid_code_v2-0.1.8/docs/_build/html/ACID.html +0 -197
  33. acid_code_v2-0.1.8/docs/_build/html/_sources/ACID.rst.txt +0 -7
  34. acid_code_v2-0.1.8/docs/_build/html/_sources/getting_started.rst.txt +0 -9
  35. acid_code_v2-0.1.8/docs/_build/html/_sources/index.rst.txt +0 -36
  36. acid_code_v2-0.1.8/docs/_build/html/_sources/installation.rst.txt +0 -53
  37. acid_code_v2-0.1.8/docs/_build/html/_sources/tutorials.rst.txt +0 -7
  38. acid_code_v2-0.1.8/docs/_build/html/_sources/using_ACID.rst.txt +0 -233
  39. acid_code_v2-0.1.8/docs/_build/html/_static/_sphinx_javascript_frameworks_compat.js +0 -134
  40. acid_code_v2-0.1.8/docs/_build/html/_static/alabaster.css +0 -703
  41. acid_code_v2-0.1.8/docs/_build/html/_static/basic.css +0 -900
  42. acid_code_v2-0.1.8/docs/_build/html/_static/css/badge_only.css +0 -1
  43. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
  44. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  45. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
  46. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  47. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.eot +0 -0
  48. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.svg +0 -2671
  49. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.ttf +0 -0
  50. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff +0 -0
  51. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
  52. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-bold-italic.woff +0 -0
  53. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-bold-italic.woff2 +0 -0
  54. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-bold.woff +0 -0
  55. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-bold.woff2 +0 -0
  56. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-normal-italic.woff +0 -0
  57. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-normal-italic.woff2 +0 -0
  58. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-normal.woff +0 -0
  59. acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-normal.woff2 +0 -0
  60. acid_code_v2-0.1.8/docs/_build/html/_static/css/theme.css +0 -4
  61. acid_code_v2-0.1.8/docs/_build/html/_static/custom.css +0 -1
  62. acid_code_v2-0.1.8/docs/_build/html/_static/doctools.js +0 -156
  63. acid_code_v2-0.1.8/docs/_build/html/_static/documentation_options.js +0 -14
  64. acid_code_v2-0.1.8/docs/_build/html/_static/file.png +0 -0
  65. acid_code_v2-0.1.8/docs/_build/html/_static/jquery-3.6.0.js +0 -10881
  66. acid_code_v2-0.1.8/docs/_build/html/_static/jquery.js +0 -2
  67. acid_code_v2-0.1.8/docs/_build/html/_static/js/badge_only.js +0 -1
  68. acid_code_v2-0.1.8/docs/_build/html/_static/js/html5shiv-printshiv.min.js +0 -4
  69. acid_code_v2-0.1.8/docs/_build/html/_static/js/html5shiv.min.js +0 -4
  70. acid_code_v2-0.1.8/docs/_build/html/_static/js/theme.js +0 -1
  71. acid_code_v2-0.1.8/docs/_build/html/_static/language_data.js +0 -199
  72. acid_code_v2-0.1.8/docs/_build/html/_static/minus.png +0 -0
  73. acid_code_v2-0.1.8/docs/_build/html/_static/plus.png +0 -0
  74. acid_code_v2-0.1.8/docs/_build/html/_static/pygments.css +0 -75
  75. acid_code_v2-0.1.8/docs/_build/html/_static/searchtools.js +0 -566
  76. acid_code_v2-0.1.8/docs/_build/html/_static/sphinx_highlight.js +0 -144
  77. acid_code_v2-0.1.8/docs/_build/html/_static/underscore-1.13.1.js +0 -2042
  78. acid_code_v2-0.1.8/docs/_build/html/_static/underscore.js +0 -6
  79. acid_code_v2-0.1.8/docs/_build/html/genindex.html +0 -150
  80. acid_code_v2-0.1.8/docs/_build/html/getting_started.html +0 -104
  81. acid_code_v2-0.1.8/docs/_build/html/index.html +0 -144
  82. acid_code_v2-0.1.8/docs/_build/html/installation.html +0 -147
  83. acid_code_v2-0.1.8/docs/_build/html/objects.inv +0 -5
  84. acid_code_v2-0.1.8/docs/_build/html/py-modindex.html +0 -125
  85. acid_code_v2-0.1.8/docs/_build/html/search.html +0 -122
  86. acid_code_v2-0.1.8/docs/_build/html/searchindex.js +0 -1
  87. acid_code_v2-0.1.8/docs/_build/html/using_ACID.html +0 -316
  88. acid_code_v2-0.1.8/docs/index.rst +0 -36
  89. acid_code_v2-0.1.8/tests/test.py +0 -51
  90. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.gitattributes +0 -0
  91. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.github/workflows/python-app.yml +0 -0
  92. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.gitignore +0 -0
  93. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.other_scripts/5_residual_profiles.py +0 -0
  94. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.other_scripts/8_master_out_profiles.py +0 -0
  95. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.vscode/launch.json +0 -0
  96. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/LICENSE +0 -0
  97. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/acid.yml +0 -0
  98. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/make.bat +0 -0
  99. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/requirements.txt +0 -0
  100. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/.make_syn_dat.py +0 -0
  101. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/example_linelist.txt +0 -0
  102. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/sample_spec_1.fits +0 -0
  103. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/sample_spec_2.fits +0 -0
  104. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/sample_spec_3.fits +0 -0
  105. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/tutorial_code.py +0 -0
  106. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/setup.cfg +0 -0
  107. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/dependency_links.txt +0 -0
  108. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/requires.txt +0 -0
  109. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/top_level.txt +0 -0
  110. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/.DS_Store +0 -0
  111. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-28T21:11:56.678_blaze_B.fits +0 -0
  112. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-28T21:11:56.678_flat_A.fits +0 -0
  113. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-28T21:11:56.678_flat_B.fits +0 -0
  114. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-28T21:11:56.678_lamp_A.fits +0 -0
  115. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-28T21:11:56.678_lamp_B.fits +0 -0
  116. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-28T21:11:56.678_order_profile.fits +0 -0
  117. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_bis_G2_A.fits +0 -0
  118. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_bis_G2_B.fits +0 -0
  119. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_bis_K5_A.fits +0 -0
  120. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_ccf_G2_A.fits +0 -0
  121. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_ccf_G2_B.fits +0 -0
  122. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_ccf_K5_A.fits +0 -0
  123. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_e2ds_A.fits +0 -0
  124. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_e2ds_B.fits +0 -0
  125. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_s1d_A.fits +0 -0
  126. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:02:50.897_s1d_B.fits +0 -0
  127. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_bis_G2_A.fits +0 -0
  128. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_bis_G2_B.fits +0 -0
  129. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_bis_K5_A.fits +0 -0
  130. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_ccf_G2_A.fits +0 -0
  131. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_ccf_G2_B.fits +0 -0
  132. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_ccf_K5_A.fits +0 -0
  133. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_e2ds_A.fits +0 -0
  134. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_e2ds_B.fits +0 -0
  135. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_s1d_A.fits +0 -0
  136. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:08:22.216_s1d_B.fits +0 -0
  137. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_bis_G2_A.fits +0 -0
  138. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_bis_G2_B.fits +0 -0
  139. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_bis_K5_A.fits +0 -0
  140. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_ccf_G2_A.fits +0 -0
  141. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_ccf_G2_B.fits +0 -0
  142. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_ccf_K5_A.fits +0 -0
  143. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_e2ds_A.fits +0 -0
  144. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_e2ds_B.fits +0 -0
  145. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_s1d_A.fits +0 -0
  146. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:13:54.107_s1d_B.fits +0 -0
  147. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_bis_G2_A.fits +0 -0
  148. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_bis_G2_B.fits +0 -0
  149. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_bis_K5_A.fits +0 -0
  150. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_ccf_G2_A.fits +0 -0
  151. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_ccf_G2_B.fits +0 -0
  152. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_ccf_K5_A.fits +0 -0
  153. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_e2ds_A.fits +0 -0
  154. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_e2ds_B.fits +0 -0
  155. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_s1d_A.fits +0 -0
  156. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:19:25.377_s1d_B.fits +0 -0
  157. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_bis_G2_A.fits +0 -0
  158. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_bis_G2_B.fits +0 -0
  159. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_bis_K5_A.fits +0 -0
  160. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_ccf_G2_A.fits +0 -0
  161. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_ccf_G2_B.fits +0 -0
  162. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_ccf_K5_A.fits +0 -0
  163. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_e2ds_A.fits +0 -0
  164. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_e2ds_B.fits +0 -0
  165. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_s1d_A.fits +0 -0
  166. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:24:57.238_s1d_B.fits +0 -0
  167. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_bis_G2_A.fits +0 -0
  168. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_bis_G2_B.fits +0 -0
  169. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_bis_K5_A.fits +0 -0
  170. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_ccf_G2_A.fits +0 -0
  171. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_ccf_G2_B.fits +0 -0
  172. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_ccf_K5_A.fits +0 -0
  173. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_e2ds_A.fits +0 -0
  174. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_e2ds_B.fits +0 -0
  175. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_s1d_A.fits +0 -0
  176. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/HARPS.2007-08-29T00:30:28.617_s1d_B.fits +0 -0
  177. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/tests.py +0 -0
  178. {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/tutorial_test.py +0 -0
@@ -0,0 +1,16 @@
1
+ name: Publish to PyPI
2
+ on:
3
+ push:
4
+ tags:
5
+ - 'v*'
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - uses: actions/setup-python@v4
12
+ with:
13
+ python-version: '3.11'
14
+ - run: pip install build twine
15
+ - run: python -m build
16
+ - run: twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
@@ -7,9 +7,9 @@ version: 2
7
7
 
8
8
  # Set the OS, Python version and other tools you might need
9
9
  build:
10
- os: ubuntu-22.04
10
+ os: ubuntu-24.04
11
11
  tools:
12
- python: "3.7"
12
+ python: "3.13"
13
13
 
14
14
  # Build documentation in the "docs/" directory with Sphinx
15
15
  sphinx:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ACID_code_v2
3
- Version: 0.1.8
3
+ Version: 0.2.0
4
4
  Summary: Returns line profiles from input spectra by fitting the stellar continuum and performing LSD
5
5
  Author: Lucy Dolan
6
6
  Author-email: Benjamin Cadell <bcadell01@qub.ac.uk>
@@ -23,14 +23,18 @@ Provides-Extra: docs
23
23
  Requires-Dist: sphinx_rtd_theme; extra == "docs"
24
24
  Dynamic: license-file
25
25
 
26
- A.C.I.D (Accurate Continuum fItting and Deconvolution)
26
+ A.C.I.D v2 (Accurate Continuum fItting and Deconvolution)
27
27
  ==============================================================
28
28
 
29
- ACID is a technique that builds on traditional Least-Squares Deconvolution (LSD) by simultaneously fitting the stellar continuum and stellar line profile and performing LSD in effective optical depth.
29
+ ACID_v2 is a fork of ACID (https://github.com/ldolan05/ACID) from the work of Lucy Dolan for her PhD. ACID_v2 improves on ACID by:
30
+ - Updating packages and code to work with newer and stable versions of python.
31
+ - Improving memory management so that ACID can be run on MacOS without crashes (ie extending compatibility to all POSIX systems)
32
+ - Adding additional kwargs to ACID to tailor output, including verbosity settings, MCMC number of steps, multiprocessing switch, and more.
30
33
 
31
- In a basic sense, ACID simulatenously fits the stellar continuum and profile using a combination of LSD and MCMC techniques. The spectra are then continuum corrected using this continuum fit. LSD is then run on the continuum corrected spectra to return high-resolution line profiles for each spectrum.
34
+ The mathematical functions and method remain the same as ACID and are outlined in Dolan et al. 2024 (https://academic.oup.com/mnras/article/529/3/2071/7624678).
32
35
 
33
- For a full outline of ACID's algorithm and implementation, see our paper: (link to paper will be added)
36
+ The documentation will be kept up to date with the latest function descriptions until at least 2029.
34
37
 
35
- Documentation: https://acid-code.readthedocs.io/en/latest/index.html
38
+ ACID is a technique that builds on traditional Least-Squares Deconvolution (LSD) by simultaneously fitting the stellar continuum and stellar line profile and performing LSD in effective optical depth.
36
39
 
40
+ In a basic sense, ACID simulatenously fits the stellar continuum and profile using a combination of LSD and MCMC techniques. The spectra are then continuum corrected using this continuum fit. LSD is then run on the continuum corrected spectra to return high-resolution line profiles for each spectrum.
@@ -0,0 +1,15 @@
1
+ A.C.I.D v2 (Accurate Continuum fItting and Deconvolution)
2
+ ==============================================================
3
+
4
+ ACID_v2 is a fork of ACID (https://github.com/ldolan05/ACID) from the work of Lucy Dolan for her PhD. ACID_v2 improves on ACID by:
5
+ - Updating packages and code to work with newer and stable versions of python.
6
+ - Improving memory management so that ACID can be run on MacOS without crashes (ie extending compatibility to all POSIX systems)
7
+ - Adding additional kwargs to ACID to tailor output, including verbosity settings, MCMC number of steps, multiprocessing switch, and more.
8
+
9
+ The mathematical functions and method remain the same as ACID and are outlined in Dolan et al. 2024 (https://academic.oup.com/mnras/article/529/3/2071/7624678).
10
+
11
+ The documentation will be kept up to date with the latest function descriptions until at least 2029.
12
+
13
+ ACID is a technique that builds on traditional Least-Squares Deconvolution (LSD) by simultaneously fitting the stellar continuum and stellar line profile and performing LSD in effective optical depth.
14
+
15
+ In a basic sense, ACID simulatenously fits the stellar continuum and profile using a combination of LSD and MCMC techniques. The spectra are then continuum corrected using this continuum fit. LSD is then run on the continuum corrected spectra to return high-resolution line profiles for each spectrum.
@@ -0,0 +1,7 @@
1
+ .. _ACID:
2
+
3
+ ACID Functions
4
+ ================
5
+
6
+ .. automodule:: src.ACID_code_v2.ACID
7
+ :members:
@@ -1,7 +1,7 @@
1
1
 
2
2
  import os
3
3
  import sys
4
- sys.path.insert(0, os.path.abspath('../ACID_code'))
4
+ sys.path.insert(0, os.path.abspath('..'))
5
5
 
6
6
  # Configuration file for the Sphinx documentation builder.
7
7
  #
@@ -11,18 +11,18 @@ sys.path.insert(0, os.path.abspath('../ACID_code'))
11
11
  # -- Project information -----------------------------------------------------
12
12
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
13
13
 
14
- project = 'ACID_code'
15
- copyright = '2023, Lucy Dolan'
16
- author = 'Lucy Dolan'
14
+ project = 'ACID_code_v2'
15
+ copyright = '2025, Benjamin Cadell'
16
+ author = 'Benjamin Cadell'
17
17
  root_doc = 'index'
18
18
 
19
19
  # -- General configuration ---------------------------------------------------
20
20
  # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
21
21
 
22
- extensions = [
23
- 'sphinx.ext.autodoc',
24
- 'sphinx.ext.napoleon',
25
- ]
22
+ extensions = ["sphinx.ext.autodoc",
23
+ "sphinx.ext.napoleon",
24
+ "sphinx.ext.doctest",
25
+ "sphinx.ext.viewcode",]
26
26
 
27
27
  templates_path = ['_templates']
28
28
  exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
@@ -0,0 +1,47 @@
1
+ .. ACID documentation master file, created by
2
+ sphinx-quickstart on Tue Oct 31 11:39:06 2023.
3
+ You can adapt this file completely to your liking, but it should at least
4
+ contain the root `toctree` directive.
5
+
6
+ A.C.I.D v2 (Accurate Continuum fItting and Deconvolution)
7
+ ==============================================================
8
+
9
+ GitHub link: https://github.com/Benjamin-Cadell/ACID_v2
10
+
11
+ ACID_v2 is a fork of ACID (https://github.com/ldolan05/ACID) from the work of Lucy Dolan for her PhD. ACID_v2 improves on ACID by:
12
+ - Updating packages and code to work with newer and stable versions of python.
13
+ - Improving memory management so that ACID can be run on MacOS without crashes (ie extending compatibility to all POSIX systems)
14
+ - Adding additional kwargs to ACID to tailor output, including verbosity settings, MCMC number of steps, multiprocessing switch, and more.
15
+
16
+ The mathematical functions and method remain the same as ACID and are outlined in Dolan et al. 2024 (https://academic.oup.com/mnras/article/529/3/2071/7624678).
17
+
18
+ The documentation will be kept up to date with the latest function descriptions until at least 2029.
19
+
20
+ ACID is a technique that builds on traditional Least-Squares Deconvolution (LSD) by simultaneously fitting the stellar continuum and stellar line profile and performing LSD in effective optical depth.
21
+
22
+ In a basic sense, ACID simulatenously fits the stellar continuum and profile using a combination of LSD and MCMC techniques (MCMC implementation through emcee_). The spectra are then continuum corrected using this continuum fit. LSD is then run on the continuum corrected spectra to return high-resolution line profiles for each spectrum.
23
+
24
+ For a full outline of ACID's algorithm and implementation, see our paper_ or view the package on GitHub_.
25
+
26
+ .. _emcee: https://emcee.readthedocs.io/en/
27
+ .. _paper: https://academic.oup.com/mnras/article/529/3/2071/7624678
28
+ .. _GitHub: https://github.com/Benjamin-Cadell/ACID_v2
29
+
30
+ User Guide
31
+ ===================
32
+ .. toctree::
33
+ :maxdepth: 2
34
+
35
+ installation.rst
36
+ using_ACID.rst
37
+ ACID.rst
38
+
39
+ License and Attribution
40
+ ================================
41
+
42
+ Copyright 2025, Benjamin Cadell.
43
+
44
+ ACID is free software made available under the MIT License.
45
+
46
+ If you make use of ACID or ACID_v2 in your work please cite the original work by L.Dolan (L.Dolan et al, 2024): https://academic.oup.com/mnras/article/529/3/2071/7624678.
47
+
@@ -6,15 +6,14 @@ Installation
6
6
  Installing the package
7
7
  =======================
8
8
 
9
- ACID is currently compatable with python=3.7 due to issues arising from the multiprocessing module in newer versions of python (hopefully to be remedied in upcoming releases!).
10
- It is therefore recommended to create a conda environment to avoid downgrading your local python installation.
9
+ ACID_v2 has been tested in Python 3.11, and is currently incompatible with 3.12. It is recommended to install ACID in a new conda environment to avoid dependency conflicts.
11
10
 
12
11
  In this example we create an environment named 'acid' and activate it using:
13
12
 
14
13
  .. code-block:: bash
15
14
 
16
- conda create -n acid python=3.7
17
- conda acivate acid
15
+ conda create -n acid python=3.11
16
+ conda activate acid
18
17
 
19
18
  Once the environment has been activated ACID can be installed using pip_:
20
19
 
@@ -22,17 +21,15 @@ Once the environment has been activated ACID can be installed using pip_:
22
21
 
23
22
  .. code-block:: bash
24
23
 
25
- pip install ACID_code
24
+ pip install ACID_code_v2
26
25
 
27
26
  .. _source:
28
27
 
29
28
  Installing from the source
30
29
  ===========================
31
- In order to use the example data (for the tutorials_) or the test suite ACID will need to be installed from the source (i.e. directly from the GitHub repository).
30
+ In order to use the example data (for the tutorials) or the test suite ACID will need to be installed from the source (i.e. directly from the GitHub repository).
32
31
  This can be done by cloning the source repository and installing from there.
33
32
 
34
- .. _tutorials: file:///Users/lucydolan/Documents/GitHub/ACID/docs/_build/html/using_ACID.html
35
-
36
33
  .. code-block:: bash
37
34
 
38
35
  git clone https://github.com/ldolan05/ACID.git
@@ -44,7 +41,7 @@ This can be done by cloning the source repository and installing from there.
44
41
  Testing the installation
45
42
  ==========================
46
43
 
47
- Test your installation by running our test file in the test directory using pytest_. This may take a while but should run without any errors if the installation has gone smoothly.
44
+ Test your installation by running our test file in the test directory using pytest_. This may take a while (~1-2 min) but should run without any errors if the installation has gone smoothly.
48
45
 
49
46
  .. _pytest: https://docs.pytest.org/en/7.4.x/contents.html
50
47
 
@@ -3,9 +3,9 @@
3
3
  Using ACID
4
4
  -----------
5
5
 
6
- These tutorials requires use of the example data included in the source_ installation.
6
+ These tutorials requires use of the example data included in the example_ folder.
7
7
 
8
- .. _source: file:///Users/lucydolan/Documents/GitHub/ACID/docs/_build/html/installation.html#installing-from-the-source
8
+ .. _source: https://github.com/Benjamin-Cadell/ACID_v2/tree/main/example
9
9
 
10
10
  Quickstart
11
11
  =============
@@ -26,9 +26,9 @@ In the 'example' directory we can set up our inputs are follows:
26
26
  error = spec_file[2].data # Spectral Flux Errors
27
27
  sn = spec_file[3].data # SN of Spectrum
28
28
 
29
- linelist = './example_linelist.txt' # Insert path to line list
29
+ linelist = 'example_linelist.txt' # Insert path to line list
30
30
 
31
- The stellar line list can be obtained from VALD_ using their 'Extract Stellar' feature. You should input stellar parameters that correspond to your object and ensure that the wavelength range input covers the entire wavelength range of your spectrum.
31
+ The stellar line list can also be obtained from VALD_ using their 'Extract Stellar' feature. You should input stellar parameters that correspond to your object and ensure that the wavelength range input covers the entire wavelength range of your spectrum.
32
32
  The detection threshold input to VALD must be less than 1/(3*SN) where SN is the signal-to-noise of the spectrum.
33
33
 
34
34
  .. _VALD: http://vald.astro.uu.se/
@@ -37,9 +37,9 @@ We can then run ACID and plot the final results:
37
37
 
38
38
  .. code-block:: python
39
39
 
40
- import ACID_code.ACID as acid
41
40
  import numpy as np
42
41
  import matplotlib.pyplot as plt
42
+ import ACID_code_v2 as acid
43
43
 
44
44
  # choose a velocity grid for the final profile(s)
45
45
  deltav = acid.calculate_deltav(wavelength) # velocity pixel size must not be smaller than the spectral pixel size - can use calculate_deltav function if unsure what this would be.
@@ -88,13 +88,13 @@ As in the previous example, we must first read in the data:
88
88
  errors.append(spec_file[2].data) # Spectral Flux Errors
89
89
  sns.append(float(spec_file[3].data)) # SN of Spectrum
90
90
 
91
- linelist = './example_linelist.txt' # Insert path to line list
91
+ linelist = 'example_linelist.txt' # Insert path to line list
92
92
 
93
93
  Once the inputs have been constructed ACID can be applied and the results plotted.
94
94
 
95
95
  .. code-block:: python
96
96
 
97
- import ACID_code.ACID as acid
97
+ import ACID_code_v2 as acid
98
98
  import numpy as np
99
99
  import matplotlib.pyplot as plt
100
100
 
@@ -123,9 +123,8 @@ Multiple wavelength ranges
123
123
  =========================================
124
124
 
125
125
  In this example we will only consider one frame, however this example can be combined with the previous example to apply ACID to multiple frames and orders.
126
- Firstly, we will read in the data (exactly how we did in the Quickstart_ tutorial).
126
+ Firstly, we will read in the data (exactly how we did in the quickstart tutorial).
127
127
 
128
- .. _Quickstart: file:///Users/lucydolan/Documents/GitHub/ACID/docs/_build/html/using_ACID.html#quickstart
129
128
 
130
129
  .. code-block:: python
131
130
 
@@ -138,14 +137,14 @@ Firstly, we will read in the data (exactly how we did in the Quickstart_ tutoria
138
137
  error = spec_file[2].data # Spectral Flux Errors
139
138
  sn = spec_file[3].data # SN of Spectrum
140
139
 
141
- linelist = './example_linelist.txt' # Insert path to line list
140
+ linelist = 'example_linelist.txt' # Insert path to line list
142
141
 
143
142
  We can then loop through our desired wavelength ranges, run ACID and plot the final results. In this example we will split the wavelength ranges into 1000Å chunks.
144
143
  When looping over wavelength ranges we also need to provide the result array ('all_frames') to keep all results in the same array.
145
144
 
146
145
  .. code-block:: python
147
146
 
148
- import ACID_code.ACID as acid
147
+ import ACID_code_v2 as acid
149
148
  import numpy as np
150
149
  import matplotlib.pyplot as plt
151
150
 
@@ -225,7 +224,7 @@ These inputs can be input into the HARPS function of ACID (ACID_HARPS):
225
224
 
226
225
  .. code-block:: python
227
226
 
228
- import ACID_code.ACID as acid
227
+ import ACID_code_v2 as acid
229
228
 
230
229
  # run ACID function
231
230
  BJDs, profiles, errors = acid.ACID_HARPS(filelist, linelist, velocities)
@@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ACID_code_v2"
7
- version = "0.1.8"
8
7
  authors = [
9
8
  {name = "Benjamin Cadell", email="bcadell01@qub.ac.uk"},
10
9
  {name = "Lucy Dolan"}
@@ -28,6 +27,7 @@ dependencies = [
28
27
  "tqdm",
29
28
  "psutil"
30
29
  ]
30
+ dynamic = ["version"]
31
31
 
32
32
  [project.optional-dependencies]
33
33
  docs = [
@@ -40,5 +40,10 @@ Homepage = "https://github.com/Benjamin-Cadell/ACID"
40
40
  [tool.setuptools.packages.find]
41
41
  where = ["src"]
42
42
 
43
+ [tool.setuptools_scm]
44
+ version_scheme = "post-release"
45
+ local_scheme = "dirty-tag"
46
+
47
+
43
48
  # ... other project metadata fields as listed in:
44
49
  # https://packaging.python.org/en/latest/guides/writing-pyproject-toml/