exogaia 0.1.1.dev0__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.
- exogaia-0.1.1.dev0/.codecov.yml +12 -0
- exogaia-0.1.1.dev0/.github/workflows/main.yml +46 -0
- exogaia-0.1.1.dev0/.gitignore +20 -0
- exogaia-0.1.1.dev0/.readthedocs.yml +16 -0
- exogaia-0.1.1.dev0/LICENSE +21 -0
- exogaia-0.1.1.dev0/Makefile +56 -0
- exogaia-0.1.1.dev0/PKG-INFO +98 -0
- exogaia-0.1.1.dev0/README.rst +46 -0
- exogaia-0.1.1.dev0/data/gaiabh3_epochast.dat +720 -0
- exogaia-0.1.1.dev0/data/holl2023_sigma.csv +179 -0
- exogaia-0.1.1.dev0/data/table_u0_g_c_p5.txt +85952 -0
- exogaia-0.1.1.dev0/docs/Makefile +19 -0
- exogaia-0.1.1.dev0/docs/about.rst +19 -0
- exogaia-0.1.1.dev0/docs/conf.py +69 -0
- exogaia-0.1.1.dev0/docs/exogaia.rst +85 -0
- exogaia-0.1.1.dev0/docs/faq.rst +32 -0
- exogaia-0.1.1.dev0/docs/index.rst +16 -0
- exogaia-0.1.1.dev0/docs/installation.rst +63 -0
- exogaia-0.1.1.dev0/docs/make.bat +35 -0
- exogaia-0.1.1.dev0/docs/modules.rst +9 -0
- exogaia-0.1.1.dev0/docs/tutorials/acceleration.ipynb +369 -0
- exogaia-0.1.1.dev0/docs/tutorials/binary_orbit.ipynb +670 -0
- exogaia-0.1.1.dev0/docs/tutorials/completeness.ipynb +160 -0
- exogaia-0.1.1.dev0/docs/tutorials/dr4_pre-release.ipynb +366 -0
- exogaia-0.1.1.dev0/docs/tutorials/gaia_bh3.ipynb +1120 -0
- exogaia-0.1.1.dev0/docs/tutorials/occurrence_rate.ipynb +355 -0
- exogaia-0.1.1.dev0/docs/tutorials/single_star.ipynb +313 -0
- exogaia-0.1.1.dev0/docs/tutorials/stellar_companion.ipynb +398 -0
- exogaia-0.1.1.dev0/docs/tutorials.rst +47 -0
- exogaia-0.1.1.dev0/exogaia/__init__.py +99 -0
- exogaia-0.1.1.dev0/exogaia/_version.py +24 -0
- exogaia-0.1.1.dev0/exogaia/data.py +2245 -0
- exogaia-0.1.1.dev0/exogaia/leastsq.py +2592 -0
- exogaia-0.1.1.dev0/exogaia/limits.py +353 -0
- exogaia-0.1.1.dev0/exogaia/models.py +1109 -0
- exogaia-0.1.1.dev0/exogaia/planets.py +692 -0
- exogaia-0.1.1.dev0/exogaia/priors.py +449 -0
- exogaia-0.1.1.dev0/exogaia/results.py +920 -0
- exogaia-0.1.1.dev0/exogaia/samplers.py +1340 -0
- exogaia-0.1.1.dev0/exogaia/utils.py +999 -0
- exogaia-0.1.1.dev0/exogaia.egg-info/PKG-INFO +98 -0
- exogaia-0.1.1.dev0/exogaia.egg-info/SOURCES.txt +49 -0
- exogaia-0.1.1.dev0/exogaia.egg-info/dependency_links.txt +1 -0
- exogaia-0.1.1.dev0/exogaia.egg-info/requires.txt +35 -0
- exogaia-0.1.1.dev0/exogaia.egg-info/scm_file_list.json +45 -0
- exogaia-0.1.1.dev0/exogaia.egg-info/scm_version.json +8 -0
- exogaia-0.1.1.dev0/exogaia.egg-info/top_level.txt +1 -0
- exogaia-0.1.1.dev0/pyproject.toml +70 -0
- exogaia-0.1.1.dev0/setup.cfg +4 -0
- exogaia-0.1.1.dev0/tests/__init__.py +0 -0
- exogaia-0.1.1.dev0/tests/test_exogaia.py +76 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
strategy:
|
|
11
|
+
matrix:
|
|
12
|
+
python-version: ['3.11', '3.12', '3.13']
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v2
|
|
16
|
+
|
|
17
|
+
- name: Setup Python ${{ matrix.python-version }}
|
|
18
|
+
uses: actions/setup-python@v2
|
|
19
|
+
with:
|
|
20
|
+
python-version: ${{ matrix.python-version }}
|
|
21
|
+
|
|
22
|
+
- name: Install dependencies
|
|
23
|
+
run: |
|
|
24
|
+
sudo apt-get install pandoc
|
|
25
|
+
pip install --upgrade pip
|
|
26
|
+
pip install .[docs,test]
|
|
27
|
+
|
|
28
|
+
- name: Lint with flake8
|
|
29
|
+
run: |
|
|
30
|
+
# stop the build if there are Python syntax errors or undefined names
|
|
31
|
+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
32
|
+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
33
|
+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
34
|
+
|
|
35
|
+
- name: Build documentation
|
|
36
|
+
run: |
|
|
37
|
+
make docs
|
|
38
|
+
|
|
39
|
+
- name: Run pytest
|
|
40
|
+
run: |
|
|
41
|
+
make test
|
|
42
|
+
|
|
43
|
+
- name: Upload coverage reports to Codecov
|
|
44
|
+
uses: codecov/codecov-action@v5
|
|
45
|
+
with:
|
|
46
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
*.pyc
|
|
2
|
+
.DS_Store
|
|
3
|
+
exogaia/_version.py
|
|
4
|
+
docs/_build/
|
|
5
|
+
docs/tutorials/.ipynb_checkpoints/
|
|
6
|
+
docs/tutorials/multinest/
|
|
7
|
+
docs/tutorials/exogaia.pkl
|
|
8
|
+
docs/tutorials/*.png
|
|
9
|
+
docs/tutorials/*.csv
|
|
10
|
+
tests/exogaia.pkl
|
|
11
|
+
tests/plot.png
|
|
12
|
+
build/
|
|
13
|
+
dist/
|
|
14
|
+
exogaia.egg-info/
|
|
15
|
+
.coverage*
|
|
16
|
+
coverage.xml
|
|
17
|
+
.pytest_cache/
|
|
18
|
+
htmlcov/
|
|
19
|
+
.tox/
|
|
20
|
+
.vscode/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Tomas Stolker
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.PHONY: help pypi pypi-test docs coverage test clean
|
|
2
|
+
|
|
3
|
+
help:
|
|
4
|
+
@echo "pypi - submit to PyPI server"
|
|
5
|
+
@echo "pypi-check - check the distribution for PyPI"
|
|
6
|
+
@echo "pypi-test - submit to TestPyPI server"
|
|
7
|
+
@echo "docs - generate Sphinx documentation"
|
|
8
|
+
@echo "coverage - check code coverage"
|
|
9
|
+
@echo "test - run unit tests"
|
|
10
|
+
@echo "clean - remove artifacts"
|
|
11
|
+
|
|
12
|
+
pypi:
|
|
13
|
+
python -m build
|
|
14
|
+
twine upload dist/*
|
|
15
|
+
|
|
16
|
+
pypi-check:
|
|
17
|
+
python -m build
|
|
18
|
+
twine check dist/*
|
|
19
|
+
|
|
20
|
+
pypi-test:
|
|
21
|
+
python -m build
|
|
22
|
+
twine upload -r testpypi dist/*
|
|
23
|
+
|
|
24
|
+
docs:
|
|
25
|
+
rm -f docs/exogaia.rst
|
|
26
|
+
sphinx-apidoc -o docs exogaia
|
|
27
|
+
cd docs/
|
|
28
|
+
$(MAKE) -C docs clean
|
|
29
|
+
$(MAKE) -C docs html
|
|
30
|
+
|
|
31
|
+
coverage:
|
|
32
|
+
coverage run --source=exogaia -m pytest
|
|
33
|
+
coverage report -m
|
|
34
|
+
|
|
35
|
+
test:
|
|
36
|
+
pytest --cov=exogaia/ --cov-report=xml
|
|
37
|
+
|
|
38
|
+
clean:
|
|
39
|
+
find . -name '*.pyc' -exec rm -f {} +
|
|
40
|
+
find . -name '__pycache__' -exec rm -rf {} +
|
|
41
|
+
rm -f .coverage*
|
|
42
|
+
rm -f coverage.xml
|
|
43
|
+
rm -rf .pytest_cache/
|
|
44
|
+
rm -rf docs/_build/
|
|
45
|
+
rm -rf docs/tutorials/.ipynb_checkpoints/
|
|
46
|
+
rm -rf docs/tutorials/multinest/
|
|
47
|
+
rm -f docs/tutorials/*.png
|
|
48
|
+
rm -f docs/tutorials/*.csv
|
|
49
|
+
rm -f docs/tutorials/exogaia.pkl
|
|
50
|
+
rm -f tests/exogaia.pkl
|
|
51
|
+
rm -f tests/plot.png
|
|
52
|
+
rm -rf build/
|
|
53
|
+
rm -rf dist/
|
|
54
|
+
rm -rf exogaia.egg-info/
|
|
55
|
+
rm -rf htmlcov/
|
|
56
|
+
rm -rf .tox/
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: exogaia
|
|
3
|
+
Version: 0.1.1.dev0
|
|
4
|
+
Summary: Tool for analyzing Gaia epoch astrometry
|
|
5
|
+
Author-email: Tomas Stolker <stolker@strw.leidenuniv.nl>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Documentation, https://exogaia.readthedocs.io
|
|
8
|
+
Project-URL: Repository, https://github.com/tomasstolker/exogaia
|
|
9
|
+
Project-URL: Issues, https://github.com/tomasstolker/exogaia/issues
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
15
|
+
Requires-Python: <3.14,>=3.11
|
|
16
|
+
Description-Content-Type: text/x-rst
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: astroquery
|
|
19
|
+
Requires-Dist: beartype
|
|
20
|
+
Requires-Dist: corner
|
|
21
|
+
Requires-Dist: dynesty
|
|
22
|
+
Requires-Dist: emcee
|
|
23
|
+
Requires-Dist: h5py
|
|
24
|
+
Requires-Dist: healpy
|
|
25
|
+
Requires-Dist: initial-mass-function<2026
|
|
26
|
+
Requires-Dist: kepler.py
|
|
27
|
+
Requires-Dist: matplotlib
|
|
28
|
+
Requires-Dist: numpy
|
|
29
|
+
Requires-Dist: nsstools
|
|
30
|
+
Requires-Dist: pandas
|
|
31
|
+
Requires-Dist: pooch
|
|
32
|
+
Requires-Dist: pymultinest
|
|
33
|
+
Requires-Dist: reddemcee
|
|
34
|
+
Requires-Dist: scipy
|
|
35
|
+
Requires-Dist: schwimmbad
|
|
36
|
+
Requires-Dist: tqdm
|
|
37
|
+
Provides-Extra: docs
|
|
38
|
+
Requires-Dist: jupyter; extra == "docs"
|
|
39
|
+
Requires-Dist: nbsphinx; extra == "docs"
|
|
40
|
+
Requires-Dist: pandoc; extra == "docs"
|
|
41
|
+
Requires-Dist: sphinx; extra == "docs"
|
|
42
|
+
Requires-Dist: sphinx-automodapi; extra == "docs"
|
|
43
|
+
Requires-Dist: sphinxawesome-theme; extra == "docs"
|
|
44
|
+
Provides-Extra: test
|
|
45
|
+
Requires-Dist: black; extra == "test"
|
|
46
|
+
Requires-Dist: flake8; extra == "test"
|
|
47
|
+
Requires-Dist: pycodestyle; extra == "test"
|
|
48
|
+
Requires-Dist: pylint; extra == "test"
|
|
49
|
+
Requires-Dist: pytest; extra == "test"
|
|
50
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
51
|
+
Dynamic: license-file
|
|
52
|
+
|
|
53
|
+
*exogaia*
|
|
54
|
+
==========
|
|
55
|
+
|
|
56
|
+
.. container::
|
|
57
|
+
|
|
58
|
+
|PyPI Status| |Python Versions| |CI Status| |Docs Status| |Code Coverage| |Code Quality| |License|
|
|
59
|
+
|
|
60
|
+
*exogaia* is a tool for analyzing Gaia epoch astrometry.
|
|
61
|
+
|
|
62
|
+
Documentation
|
|
63
|
+
-------------
|
|
64
|
+
|
|
65
|
+
Documentation can be found at `http://exogaia.readthedocs.io <http://exogaia.readthedocs.io>`_.
|
|
66
|
+
|
|
67
|
+
Contributing
|
|
68
|
+
------------
|
|
69
|
+
|
|
70
|
+
Contributions are welcome so please consider `forking <https://help.github.com/en/articles/fork-a-repo>`_ the repository and creating a `pull request <https://github.com/tomasstolker/exogaia/pulls>`_. Bug reports and feature requests can be provided by creating an `issue <https://github.com/tomasstolker/exogaia/issues>`_ on the Github page.
|
|
71
|
+
|
|
72
|
+
License
|
|
73
|
+
-------
|
|
74
|
+
|
|
75
|
+
Copyright 2026 Tomas Stolker
|
|
76
|
+
|
|
77
|
+
*exogaia* is distributed under the MIT License. See `LICENSE <https://github.com/tomasstolker/pycrires/blob/main/LICENSE>`_ for the terms and conditions.
|
|
78
|
+
|
|
79
|
+
.. |PyPI Status| image:: https://img.shields.io/pypi/v/exogaia
|
|
80
|
+
:target: https://pypi.python.org/pypi/exogaia
|
|
81
|
+
|
|
82
|
+
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/exogaia
|
|
83
|
+
:target: https://pypi.python.org/pypi/exogaia
|
|
84
|
+
|
|
85
|
+
.. |CI Status| image:: https://github.com/tomasstolker/exogaia/actions/workflows/main.yml/badge.svg?branch=main
|
|
86
|
+
:target: https://github.com/tomasstolker/exogaia/actions/workflows/main.yml
|
|
87
|
+
|
|
88
|
+
.. |Docs Status| image:: https://img.shields.io/readthedocs/exogaia
|
|
89
|
+
:target: http://exogaia.readthedocs.io
|
|
90
|
+
|
|
91
|
+
.. |Code Coverage| image:: https://codecov.io/gh/tomasstolker/exogaia/branch/main/graph/badge.svg?token=LSSCPMJ5JH
|
|
92
|
+
:target: https://codecov.io/gh/tomasstolker/exogaia
|
|
93
|
+
|
|
94
|
+
.. |Code Quality| image:: https://img.shields.io/codefactor/grade/github/tomasstolker/exogaia
|
|
95
|
+
:target: https://www.codefactor.io/repository/github/tomasstolker/exogaia
|
|
96
|
+
|
|
97
|
+
.. |License| image:: https://img.shields.io/github/license/tomasstolker/exogaia
|
|
98
|
+
:target: https://github.com/tomasstolker/exogaia/blob/main/LICENSE
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
*exogaia*
|
|
2
|
+
==========
|
|
3
|
+
|
|
4
|
+
.. container::
|
|
5
|
+
|
|
6
|
+
|PyPI Status| |Python Versions| |CI Status| |Docs Status| |Code Coverage| |Code Quality| |License|
|
|
7
|
+
|
|
8
|
+
*exogaia* is a tool for analyzing Gaia epoch astrometry.
|
|
9
|
+
|
|
10
|
+
Documentation
|
|
11
|
+
-------------
|
|
12
|
+
|
|
13
|
+
Documentation can be found at `http://exogaia.readthedocs.io <http://exogaia.readthedocs.io>`_.
|
|
14
|
+
|
|
15
|
+
Contributing
|
|
16
|
+
------------
|
|
17
|
+
|
|
18
|
+
Contributions are welcome so please consider `forking <https://help.github.com/en/articles/fork-a-repo>`_ the repository and creating a `pull request <https://github.com/tomasstolker/exogaia/pulls>`_. Bug reports and feature requests can be provided by creating an `issue <https://github.com/tomasstolker/exogaia/issues>`_ on the Github page.
|
|
19
|
+
|
|
20
|
+
License
|
|
21
|
+
-------
|
|
22
|
+
|
|
23
|
+
Copyright 2026 Tomas Stolker
|
|
24
|
+
|
|
25
|
+
*exogaia* is distributed under the MIT License. See `LICENSE <https://github.com/tomasstolker/pycrires/blob/main/LICENSE>`_ for the terms and conditions.
|
|
26
|
+
|
|
27
|
+
.. |PyPI Status| image:: https://img.shields.io/pypi/v/exogaia
|
|
28
|
+
:target: https://pypi.python.org/pypi/exogaia
|
|
29
|
+
|
|
30
|
+
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/exogaia
|
|
31
|
+
:target: https://pypi.python.org/pypi/exogaia
|
|
32
|
+
|
|
33
|
+
.. |CI Status| image:: https://github.com/tomasstolker/exogaia/actions/workflows/main.yml/badge.svg?branch=main
|
|
34
|
+
:target: https://github.com/tomasstolker/exogaia/actions/workflows/main.yml
|
|
35
|
+
|
|
36
|
+
.. |Docs Status| image:: https://img.shields.io/readthedocs/exogaia
|
|
37
|
+
:target: http://exogaia.readthedocs.io
|
|
38
|
+
|
|
39
|
+
.. |Code Coverage| image:: https://codecov.io/gh/tomasstolker/exogaia/branch/main/graph/badge.svg?token=LSSCPMJ5JH
|
|
40
|
+
:target: https://codecov.io/gh/tomasstolker/exogaia
|
|
41
|
+
|
|
42
|
+
.. |Code Quality| image:: https://img.shields.io/codefactor/grade/github/tomasstolker/exogaia
|
|
43
|
+
:target: https://www.codefactor.io/repository/github/tomasstolker/exogaia
|
|
44
|
+
|
|
45
|
+
.. |License| image:: https://img.shields.io/github/license/tomasstolker/exogaia
|
|
46
|
+
:target: https://github.com/tomasstolker/exogaia/blob/main/LICENSE
|