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.
- acid_code_v2-0.2.0/.github/workflows/publish.yml +16 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.readthedocs.yaml +2 -2
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/PKG-INFO +10 -6
- acid_code_v2-0.2.0/README.md +15 -0
- acid_code_v2-0.2.0/docs/ACID.rst +7 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/conf.py +8 -8
- acid_code_v2-0.2.0/docs/index.rst +47 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/installation.rst +6 -9
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/using_ACID.rst +11 -12
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/pyproject.toml +6 -1
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0/src}/ACID_code_v2/ACID.py +117 -160
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0/src}/ACID_code_v2/LSD.py +3 -4
- acid_code_v2-0.2.0/src/ACID_code_v2/__init__.py +2 -0
- acid_code_v2-0.2.0/src/ACID_code_v2/mcmc_utils.py +60 -0
- acid_code_v2-0.2.0/src/ACID_code_v2/utils.py +45 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/PKG-INFO +10 -6
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/SOURCES.txt +6 -71
- acid_code_v2-0.1.8/ACID_code_v2/__init__.py +0 -1
- acid_code_v2-0.1.8/ACID_code_v2/utils.py +0 -20
- acid_code_v2-0.1.8/README.md +0 -11
- acid_code_v2-0.1.8/docs/ACID.rst +0 -7
- acid_code_v2-0.1.8/docs/Makefile +0 -20
- acid_code_v2-0.1.8/docs/_build/.DS_Store +0 -0
- acid_code_v2-0.1.8/docs/_build/doctrees/ACID.doctree +0 -0
- acid_code_v2-0.1.8/docs/_build/doctrees/environment.pickle +0 -0
- acid_code_v2-0.1.8/docs/_build/doctrees/getting_started.doctree +0 -0
- acid_code_v2-0.1.8/docs/_build/doctrees/index.doctree +0 -0
- acid_code_v2-0.1.8/docs/_build/doctrees/installation.doctree +0 -0
- acid_code_v2-0.1.8/docs/_build/doctrees/tutorials.doctree +0 -0
- acid_code_v2-0.1.8/docs/_build/doctrees/using_ACID.doctree +0 -0
- acid_code_v2-0.1.8/docs/_build/html/.buildinfo +0 -4
- acid_code_v2-0.1.8/docs/_build/html/ACID.html +0 -197
- acid_code_v2-0.1.8/docs/_build/html/_sources/ACID.rst.txt +0 -7
- acid_code_v2-0.1.8/docs/_build/html/_sources/getting_started.rst.txt +0 -9
- acid_code_v2-0.1.8/docs/_build/html/_sources/index.rst.txt +0 -36
- acid_code_v2-0.1.8/docs/_build/html/_sources/installation.rst.txt +0 -53
- acid_code_v2-0.1.8/docs/_build/html/_sources/tutorials.rst.txt +0 -7
- acid_code_v2-0.1.8/docs/_build/html/_sources/using_ACID.rst.txt +0 -233
- acid_code_v2-0.1.8/docs/_build/html/_static/_sphinx_javascript_frameworks_compat.js +0 -134
- acid_code_v2-0.1.8/docs/_build/html/_static/alabaster.css +0 -703
- acid_code_v2-0.1.8/docs/_build/html/_static/basic.css +0 -900
- acid_code_v2-0.1.8/docs/_build/html/_static/css/badge_only.css +0 -1
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.eot +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.svg +0 -2671
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.ttf +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/fontawesome-webfont.woff2 +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-bold-italic.woff +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-bold-italic.woff2 +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-bold.woff +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-bold.woff2 +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-normal-italic.woff +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-normal-italic.woff2 +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-normal.woff +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/fonts/lato-normal.woff2 +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/css/theme.css +0 -4
- acid_code_v2-0.1.8/docs/_build/html/_static/custom.css +0 -1
- acid_code_v2-0.1.8/docs/_build/html/_static/doctools.js +0 -156
- acid_code_v2-0.1.8/docs/_build/html/_static/documentation_options.js +0 -14
- acid_code_v2-0.1.8/docs/_build/html/_static/file.png +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/jquery-3.6.0.js +0 -10881
- acid_code_v2-0.1.8/docs/_build/html/_static/jquery.js +0 -2
- acid_code_v2-0.1.8/docs/_build/html/_static/js/badge_only.js +0 -1
- acid_code_v2-0.1.8/docs/_build/html/_static/js/html5shiv-printshiv.min.js +0 -4
- acid_code_v2-0.1.8/docs/_build/html/_static/js/html5shiv.min.js +0 -4
- acid_code_v2-0.1.8/docs/_build/html/_static/js/theme.js +0 -1
- acid_code_v2-0.1.8/docs/_build/html/_static/language_data.js +0 -199
- acid_code_v2-0.1.8/docs/_build/html/_static/minus.png +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/plus.png +0 -0
- acid_code_v2-0.1.8/docs/_build/html/_static/pygments.css +0 -75
- acid_code_v2-0.1.8/docs/_build/html/_static/searchtools.js +0 -566
- acid_code_v2-0.1.8/docs/_build/html/_static/sphinx_highlight.js +0 -144
- acid_code_v2-0.1.8/docs/_build/html/_static/underscore-1.13.1.js +0 -2042
- acid_code_v2-0.1.8/docs/_build/html/_static/underscore.js +0 -6
- acid_code_v2-0.1.8/docs/_build/html/genindex.html +0 -150
- acid_code_v2-0.1.8/docs/_build/html/getting_started.html +0 -104
- acid_code_v2-0.1.8/docs/_build/html/index.html +0 -144
- acid_code_v2-0.1.8/docs/_build/html/installation.html +0 -147
- acid_code_v2-0.1.8/docs/_build/html/objects.inv +0 -5
- acid_code_v2-0.1.8/docs/_build/html/py-modindex.html +0 -125
- acid_code_v2-0.1.8/docs/_build/html/search.html +0 -122
- acid_code_v2-0.1.8/docs/_build/html/searchindex.js +0 -1
- acid_code_v2-0.1.8/docs/_build/html/using_ACID.html +0 -316
- acid_code_v2-0.1.8/docs/index.rst +0 -36
- acid_code_v2-0.1.8/tests/test.py +0 -51
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.gitattributes +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.github/workflows/python-app.yml +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.gitignore +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.other_scripts/5_residual_profiles.py +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.other_scripts/8_master_out_profiles.py +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/.vscode/launch.json +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/LICENSE +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/acid.yml +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/make.bat +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/docs/requirements.txt +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/.make_syn_dat.py +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/example_linelist.txt +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/sample_spec_1.fits +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/sample_spec_2.fits +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/sample_spec_3.fits +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/example/tutorial_code.py +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/setup.cfg +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/dependency_links.txt +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/requires.txt +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/src/ACID_code_v2.egg-info/top_level.txt +0 -0
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/data/.DS_Store +0 -0
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {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
- {acid_code_v2-0.1.8 → acid_code_v2-0.2.0}/tests/tests.py +0 -0
- {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 }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ACID_code_v2
|
|
3
|
-
Version: 0.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
36
|
+
The documentation will be kept up to date with the latest function descriptions until at least 2029.
|
|
34
37
|
|
|
35
|
-
|
|
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.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import os
|
|
3
3
|
import sys
|
|
4
|
-
sys.path.insert(0, os.path.abspath('
|
|
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 = '
|
|
15
|
-
copyright = '
|
|
16
|
-
author = '
|
|
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
|
-
|
|
24
|
-
|
|
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
|
-
|
|
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.
|
|
17
|
-
conda
|
|
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
|
|
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
|
|
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
|
|
6
|
+
These tutorials requires use of the example data included in the example_ folder.
|
|
7
7
|
|
|
8
|
-
.. _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 = '
|
|
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 = '
|
|
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
|
|
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
|
|
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 = '
|
|
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
|
|
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
|
|
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/
|