ACID-code-v2 0.1.2__tar.gz → 0.1.4__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 (173) hide show
  1. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/.gitignore +1 -0
  2. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/ACID_code_v2/ACID.py +18 -22
  3. acid_code_v2-0.1.2/ACID_code_v2/LSD_func_faster.py → acid_code_v2-0.1.4/ACID_code_v2/LSD.py +6 -2
  4. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/ACID_code_v2.egg-info/PKG-INFO +2 -2
  5. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/ACID_code_v2.egg-info/SOURCES.txt +2 -2
  6. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/ACID_code_v2.egg-info/top_level.txt +1 -0
  7. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/PKG-INFO +2 -2
  8. acid_code_v2-0.1.2/ACID_code_v2/.tutorial_code.py → acid_code_v2-0.1.4/example/tutorial_code.py +7 -4
  9. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/pyproject.toml +2 -2
  10. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/tests.py +8 -15
  11. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/.gitattributes +0 -0
  12. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/.github/workflows/python-app.yml +0 -0
  13. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/.other_scripts/5_residual_profiles.py +0 -0
  14. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/.other_scripts/8_master_out_profiles.py +0 -0
  15. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/.readthedocs.yaml +0 -0
  16. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/.vscode/launch.json +0 -0
  17. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/ACID_code_v2/__init__.py +0 -0
  18. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/ACID_code_v2/utils.py +0 -0
  19. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/ACID_code_v2.egg-info/dependency_links.txt +0 -0
  20. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/ACID_code_v2.egg-info/requires.txt +0 -0
  21. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/LICENSE +0 -0
  22. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/README.md +0 -0
  23. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/acid.yml +0 -0
  24. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/ACID.rst +0 -0
  25. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/Makefile +0 -0
  26. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/.DS_Store +0 -0
  27. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/doctrees/ACID.doctree +0 -0
  28. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/doctrees/environment.pickle +0 -0
  29. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/doctrees/getting_started.doctree +0 -0
  30. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/doctrees/index.doctree +0 -0
  31. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/doctrees/installation.doctree +0 -0
  32. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/doctrees/tutorials.doctree +0 -0
  33. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/doctrees/using_ACID.doctree +0 -0
  34. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/.buildinfo +0 -0
  35. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/ACID.html +0 -0
  36. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_sources/ACID.rst.txt +0 -0
  37. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_sources/getting_started.rst.txt +0 -0
  38. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_sources/index.rst.txt +0 -0
  39. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_sources/installation.rst.txt +0 -0
  40. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_sources/tutorials.rst.txt +0 -0
  41. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_sources/using_ACID.rst.txt +0 -0
  42. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/_sphinx_javascript_frameworks_compat.js +0 -0
  43. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/alabaster.css +0 -0
  44. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/basic.css +0 -0
  45. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/badge_only.css +0 -0
  46. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
  47. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  48. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
  49. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  50. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/fontawesome-webfont.eot +0 -0
  51. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/fontawesome-webfont.svg +0 -0
  52. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/fontawesome-webfont.ttf +0 -0
  53. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff +0 -0
  54. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
  55. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/lato-bold-italic.woff +0 -0
  56. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/lato-bold-italic.woff2 +0 -0
  57. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/lato-bold.woff +0 -0
  58. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/lato-bold.woff2 +0 -0
  59. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/lato-normal-italic.woff +0 -0
  60. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/lato-normal-italic.woff2 +0 -0
  61. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/lato-normal.woff +0 -0
  62. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/fonts/lato-normal.woff2 +0 -0
  63. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/css/theme.css +0 -0
  64. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/custom.css +0 -0
  65. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/doctools.js +0 -0
  66. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/documentation_options.js +0 -0
  67. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/file.png +0 -0
  68. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/jquery-3.6.0.js +0 -0
  69. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/jquery.js +0 -0
  70. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/js/badge_only.js +0 -0
  71. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/js/html5shiv-printshiv.min.js +0 -0
  72. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/js/html5shiv.min.js +0 -0
  73. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/js/theme.js +0 -0
  74. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/language_data.js +0 -0
  75. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/minus.png +0 -0
  76. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/plus.png +0 -0
  77. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/pygments.css +0 -0
  78. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/searchtools.js +0 -0
  79. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/sphinx_highlight.js +0 -0
  80. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/underscore-1.13.1.js +0 -0
  81. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/_static/underscore.js +0 -0
  82. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/genindex.html +0 -0
  83. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/getting_started.html +0 -0
  84. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/index.html +0 -0
  85. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/installation.html +0 -0
  86. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/objects.inv +0 -0
  87. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/py-modindex.html +0 -0
  88. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/search.html +0 -0
  89. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/searchindex.js +0 -0
  90. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/_build/html/using_ACID.html +0 -0
  91. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/conf.py +0 -0
  92. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/index.rst +0 -0
  93. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/installation.rst +0 -0
  94. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/make.bat +0 -0
  95. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/requirements.txt +0 -0
  96. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/docs/using_ACID.rst +0 -0
  97. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/example/.make_syn_dat.py +0 -0
  98. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/example/example_linelist.txt +0 -0
  99. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/example/sample_spec_1.fits +0 -0
  100. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/example/sample_spec_2.fits +0 -0
  101. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/example/sample_spec_3.fits +0 -0
  102. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/setup.cfg +0 -0
  103. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/.DS_Store +0 -0
  104. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-28T21:11:56.678_blaze_B.fits +0 -0
  105. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-28T21:11:56.678_flat_A.fits +0 -0
  106. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-28T21:11:56.678_flat_B.fits +0 -0
  107. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-28T21:11:56.678_lamp_A.fits +0 -0
  108. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-28T21:11:56.678_lamp_B.fits +0 -0
  109. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-28T21:11:56.678_order_profile.fits +0 -0
  110. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_bis_G2_A.fits +0 -0
  111. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_bis_G2_B.fits +0 -0
  112. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_bis_K5_A.fits +0 -0
  113. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_ccf_G2_A.fits +0 -0
  114. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_ccf_G2_B.fits +0 -0
  115. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_ccf_K5_A.fits +0 -0
  116. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_e2ds_A.fits +0 -0
  117. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_e2ds_B.fits +0 -0
  118. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_s1d_A.fits +0 -0
  119. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:02:50.897_s1d_B.fits +0 -0
  120. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_bis_G2_A.fits +0 -0
  121. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_bis_G2_B.fits +0 -0
  122. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_bis_K5_A.fits +0 -0
  123. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_ccf_G2_A.fits +0 -0
  124. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_ccf_G2_B.fits +0 -0
  125. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_ccf_K5_A.fits +0 -0
  126. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_e2ds_A.fits +0 -0
  127. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_e2ds_B.fits +0 -0
  128. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_s1d_A.fits +0 -0
  129. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:08:22.216_s1d_B.fits +0 -0
  130. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_bis_G2_A.fits +0 -0
  131. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_bis_G2_B.fits +0 -0
  132. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_bis_K5_A.fits +0 -0
  133. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_ccf_G2_A.fits +0 -0
  134. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_ccf_G2_B.fits +0 -0
  135. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_ccf_K5_A.fits +0 -0
  136. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_e2ds_A.fits +0 -0
  137. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_e2ds_B.fits +0 -0
  138. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_s1d_A.fits +0 -0
  139. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:13:54.107_s1d_B.fits +0 -0
  140. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_bis_G2_A.fits +0 -0
  141. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_bis_G2_B.fits +0 -0
  142. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_bis_K5_A.fits +0 -0
  143. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_ccf_G2_A.fits +0 -0
  144. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_ccf_G2_B.fits +0 -0
  145. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_ccf_K5_A.fits +0 -0
  146. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_e2ds_A.fits +0 -0
  147. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_e2ds_B.fits +0 -0
  148. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_s1d_A.fits +0 -0
  149. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:19:25.377_s1d_B.fits +0 -0
  150. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_bis_G2_A.fits +0 -0
  151. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_bis_G2_B.fits +0 -0
  152. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_bis_K5_A.fits +0 -0
  153. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_ccf_G2_A.fits +0 -0
  154. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_ccf_G2_B.fits +0 -0
  155. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_ccf_K5_A.fits +0 -0
  156. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_e2ds_A.fits +0 -0
  157. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_e2ds_B.fits +0 -0
  158. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_s1d_A.fits +0 -0
  159. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:24:57.238_s1d_B.fits +0 -0
  160. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_bis_G2_A.fits +0 -0
  161. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_bis_G2_B.fits +0 -0
  162. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_bis_K5_A.fits +0 -0
  163. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_ccf_G2_A.fits +0 -0
  164. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_ccf_G2_B.fits +0 -0
  165. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_ccf_K5_A.fits +0 -0
  166. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_e2ds_A.fits +0 -0
  167. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_e2ds_B.fits +0 -0
  168. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_s1d_A.fits +0 -0
  169. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/data/HARPS.2007-08-29T00:30:28.617_s1d_B.fits +0 -0
  170. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/spawn multithreading tests/__main__.py +0 -0
  171. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/spawn multithreading tests/cli.py +0 -0
  172. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/test.py +0 -0
  173. {acid_code_v2-0.1.2 → acid_code_v2-0.1.4}/tests/tutorial_test.py +0 -0
@@ -27,3 +27,4 @@ wheels/
27
27
  .installed.cfg
28
28
  *.egg
29
29
  unfinished/
30
+ packager/
@@ -9,16 +9,7 @@ import multiprocessing as mp
9
9
  from functools import partial
10
10
  from multiprocessing import Pool
11
11
  from math import log10, floor
12
-
13
- try:
14
- from . import utils
15
- except Exception:
16
- import utils
17
-
18
- try:
19
- from . import LSD_func_faster as LSD
20
- except Exception:
21
- import LSD_func_faster as LSD
12
+ import LSD, utils
22
13
 
23
14
  warnings.filterwarnings("ignore")
24
15
  importlib.reload(LSD)
@@ -595,9 +586,9 @@ def ACID(input_wavelengths, input_spectra, input_spectral_errors, line, frame_sn
595
586
  poly_inputs, fluxes1, flux_error_order1, fit = continuumfit(
596
587
  fluxes, (wavelengths*a)+b, flux_error_order, poly_ord)
597
588
 
598
- if verbose:
599
- t2 = time.time()
600
- print('Set up before LSD %s'%(t2-t0))
589
+ # if verbose:
590
+ # t2 = time.time()
591
+ # print('Set up before LSD %s'%(t2-t0))
601
592
 
602
593
  #### getting the initial profile
603
594
  global alpha
@@ -605,9 +596,9 @@ def ACID(input_wavelengths, input_spectra, input_spectral_errors, line, frame_sn
605
596
  wavelengths, fluxes1, flux_error_order1, linelist, 'False', poly_ord, sn, 30, run_name,
606
597
  velocities, verbose=verbose)
607
598
 
608
- if verbose:
609
- t3 = time.time()
610
- print('LSD run takes: %s'%(t3-t2))
599
+ # if verbose:
600
+ # t3 = time.time()
601
+ # print('LSD run takes: %s'%(t3-t2))
611
602
 
612
603
  ## Setting the number of points in vgrid (k_max)
613
604
  global k_max
@@ -627,14 +618,16 @@ def ACID(input_wavelengths, input_spectra, input_spectral_errors, line, frame_sn
627
618
  # Masking based off residuals
628
619
  global mask_idx
629
620
 
621
+ if verbose:
622
+ print('Residual masking...')
630
623
  yerr, model_inputs_resi, mask_idx = residual_mask(x, y, yerr, model_inputs, poly_ord,
631
624
  linelist, pix_chunk=pix_chunk,
632
625
  dev_perc=dev_perc, tell_lines=telluric_lines,
633
626
  n_sig=n_sig, verbose=verbose)
634
627
 
635
- if verbose:
636
- t4 = time.time()
637
- print('residual masking takes: %s' %(t4-t3))
628
+ # if verbose:
629
+ # t4 = time.time()
630
+ # print('residual masking takes: %s' %(t4-t3))
638
631
 
639
632
  ## Setting number of walkers and their start values(pos)
640
633
  ndim = len(model_inputs)
@@ -657,7 +650,7 @@ def ACID(input_wavelengths, input_spectra, input_spectral_errors, line, frame_sn
657
650
 
658
651
  if verbose:
659
652
  t5 = time.time()
660
- print('MCMC set up takes: %s'%(t5-t4))
653
+ # print('MCMC set up takes: %s'%(t5-t4))
661
654
  print('Initialised in %ss'%round((t5-t0), 2))
662
655
 
663
656
  print('Fitting the continuum using emcee...')
@@ -858,7 +851,9 @@ def ACID(input_wavelengths, input_spectra, input_spectral_errors, line, frame_sn
858
851
 
859
852
  return all_frames
860
853
 
861
- def ACID_HARPS(filelist, line, vgrid, poly_or=3, order_range=np.arange(10,70), save_path = './', file_type = 'e2ds', pix_chunk = 20, dev_perc = 25, n_sig=1, telluric_lines = [3820.33, 3933.66, 3968.47, 4327.74, 4307.90, 4383.55, 4861.34, 5183.62, 5270.39, 5889.95, 5895.92, 6562.81, 7593.70, 8226.96]):
854
+ def ACID_HARPS(filelist, line, vgrid, poly_or=3, order_range=np.arange(10,70), save_path = './', file_type = 'e2ds',
855
+ pix_chunk = 20, dev_perc = 25, n_sig=1, telluric_lines = None, **kwargs):
856
+
862
857
 
863
858
  """Accurate Continuum fItting and Deconvolution for HARPS e2ds and s1d spectra (DRS pipeline 3.5)
864
859
 
@@ -904,7 +899,8 @@ def ACID_HARPS(filelist, line, vgrid, poly_or=3, order_range=np.arange(10,70), s
904
899
 
905
900
  frame_wavelengths, frames, frame_errors, sns, telluric_spec = read_in_frames(order, filelist, file_type)
906
901
 
907
- all_frames = ACID(frame_wavelengths, frames, frame_errors, linelist, sns, velocities, all_frames, poly_or, pix_chunk, dev_perc, n_sig, telluric_lines, order = order-min(order_range))
902
+ all_frames = ACID(frame_wavelengths, frames, frame_errors, linelist, sns, velocities, all_frames, poly_or,
903
+ pix_chunk, dev_perc, n_sig, telluric_lines, order = order-min(order_range), **kwargs)
908
904
 
909
905
  # adding into fits files for each frame
910
906
  BJDs = []
@@ -81,8 +81,12 @@ def LSD(wavelengths, flux_obs, rms, linelist, adjust_continuum, poly_ord, sn,
81
81
  else:
82
82
  block = 512 # after initial testing, this value is a good compromise between memory use and speed
83
83
  alpha = np.zeros((len(blankwaves), len(velocities)), dtype=np.float64)
84
- for start_pos in tqdm(range(0, len(wavelengths_expected), block), desc='Calculating alpha matrix'):
85
- end_pos = min(start_pos + block, len(wavelengths_expected)) # ensure we don't go out of bounds
84
+ if verbose:
85
+ iterable = tqdm(range(0, len(wavelengths_expected), block), desc='Calculating alpha matrix')
86
+ else:
87
+ iterable = range(0, len(wavelengths_expected), block)
88
+ for start_pos in iterable:
89
+ end_pos = min(start_pos + block, len(wavelengths_expected)) # ensure we don't go out of bounds on last iteration
86
90
  wl = wavelengths_expected[start_pos:end_pos]
87
91
  dep = depths_expected[start_pos:end_pos]
88
92
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ACID_code_v2
3
- Version: 0.1.2
3
+ Version: 0.1.4
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>
@@ -9,7 +9,7 @@ Project-URL: Homepage, https://github.com/Benjamin-Cadell/ACID
9
9
  Keywords: lsd,least squares deconvolution,fitting,ACID
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Operating System :: POSIX
12
- Requires-Python: >=3.13
12
+ Requires-Python: <3.14,>=3.8
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
15
  Requires-Dist: numpy
@@ -9,9 +9,8 @@ pyproject.toml
9
9
  .other_scripts/5_residual_profiles.py
10
10
  .other_scripts/8_master_out_profiles.py
11
11
  .vscode/launch.json
12
- ACID_code_v2/.tutorial_code.py
13
12
  ACID_code_v2/ACID.py
14
- ACID_code_v2/LSD_func_faster.py
13
+ ACID_code_v2/LSD.py
15
14
  ACID_code_v2/__init__.py
16
15
  ACID_code_v2/utils.py
17
16
  ACID_code_v2.egg-info/PKG-INFO
@@ -97,6 +96,7 @@ example/example_linelist.txt
97
96
  example/sample_spec_1.fits
98
97
  example/sample_spec_2.fits
99
98
  example/sample_spec_3.fits
99
+ example/tutorial_code.py
100
100
  tests/test.py
101
101
  tests/tests.py
102
102
  tests/tutorial_test.py
@@ -3,4 +3,5 @@ dist
3
3
  docs
4
4
  downloads
5
5
  example
6
+ packager
6
7
  tests
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ACID_code_v2
3
- Version: 0.1.2
3
+ Version: 0.1.4
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>
@@ -9,7 +9,7 @@ Project-URL: Homepage, https://github.com/Benjamin-Cadell/ACID
9
9
  Keywords: lsd,least squares deconvolution,fitting,ACID
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Operating System :: POSIX
12
- Requires-Python: >=3.13
12
+ Requires-Python: <3.14,>=3.8
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
15
  Requires-Dist: numpy
@@ -2,19 +2,22 @@
2
2
  from astropy.io import fits
3
3
  import importlib, os
4
4
  import multiprocessing as mp
5
- import ACID as acid
6
- importlib.reload(acid)
7
5
  import numpy as np
8
6
  import matplotlib.pyplot as plt
7
+ os.chdir(os.path.dirname(__file__))
8
+ os.chdir("../") # ensures we are in the main directory
9
+ import ACID_code_v2 as acid
10
+ importlib.reload(acid)
11
+ os.chdir("example") # change to example directory
9
12
 
10
- spec_file = fits.open('../example/sample_spec_1.fits')
13
+ spec_file = fits.open('sample_spec_1.fits')
11
14
 
12
15
  wavelength = spec_file[0].data # Wavelengths in Angstroms
13
16
  spectrum = spec_file[1].data # Spectral Flux
14
17
  error = spec_file[2].data # Spectral Flux Errors
15
18
  sn = spec_file[3].data # SN of Spectrum
16
19
 
17
- linelist = '../example/example_linelist.txt' # Insert path to line list
20
+ linelist = 'example_linelist.txt' # Insert path to line list
18
21
 
19
22
  # choose a velocity grid for the final profile(s)
20
23
  deltav = 0.82 # velocity pixel size must not be smaller than the spectral pixel size
@@ -4,14 +4,14 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ACID_code_v2"
7
- version = "0.1.2"
7
+ version = "0.1.4"
8
8
  authors = [
9
9
  {name = "Benjamin Cadell", email="bcadell01@qub.ac.uk"},
10
10
  {name = "Lucy Dolan"}
11
11
  ]
12
12
  description = "Returns line profiles from input spectra by fitting the stellar continuum and performing LSD"
13
13
  readme = "README.md"
14
- requires-python = ">=3.13"
14
+ requires-python = "<3.14, >= 3.8"
15
15
  license = "MIT"
16
16
  keywords = ["lsd", "least squares deconvolution", "fitting", "ACID"]
17
17
  license-files = ["LICENSE"]
@@ -1,18 +1,11 @@
1
1
  #%%
2
2
  from astropy.io import fits
3
- import os
4
-
5
- try:
6
- import ACID_code_v2 as acid
7
- except ImportError:
8
- raise ImportError("ACID_code_v2 not found")
9
- os.chdir(os.path.dirname(__file__))
10
- os.chdir("..")
11
- import ACID_code_v2 as acid
12
-
3
+ import os, glob, importlib
4
+ os.chdir(os.path.dirname(__file__))
5
+ os.chdir("..") # ensures we are in the main directory
6
+ import ACID_code_v2 as acid
13
7
  import numpy as np
14
8
  import matplotlib.pyplot as plt
15
- import glob, importlib
16
9
  importlib.reload(acid)
17
10
 
18
11
  def test_run_e2ds():
@@ -21,12 +14,11 @@ def test_run_e2ds():
21
14
  linelist = 'example/example_linelist.txt'
22
15
  save_path = 'no save'
23
16
 
24
-
25
17
  velocities = np.arange(-25, 25, 0.82)
26
18
 
27
19
  # run ACID on e2ds files
28
- ACID_results_e2ds = acid.ACID_HARPS(e2ds_files, linelist, vgrid = velocities, save_path = save_path, order_range = np.arange(41, 43))
29
-
20
+ ACID_results_e2ds = acid.ACID_HARPS(e2ds_files, linelist, vgrid = velocities, save_path = save_path,
21
+ order_range = np.arange(41, 43), nsteps=2000)
30
22
 
31
23
  def test_run_s1d():
32
24
 
@@ -37,7 +29,8 @@ def test_run_s1d():
37
29
  velocities = np.arange(-25, 25, 0.82)
38
30
 
39
31
  # run ACID on s1d files
40
- ACID_results_s1d = acid.ACID_HARPS(s1d_files, linelist, vgrid = velocities, save_path = save_path, order_range = np.arange(41, 43), file_type = 's1d')
32
+ ACID_results_s1d = acid.ACID_HARPS(s1d_files, linelist, vgrid = velocities, save_path = save_path,
33
+ order_range = np.arange(41, 43), file_type = 's1d', nsteps=2000)
41
34
 
42
35
  test_run_e2ds()
43
36
  test_run_s1d()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes