planit-py 0.0.1__py3-none-any.whl

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.
planit_py/__init__.py ADDED
File without changes
planit_py/_version.py ADDED
@@ -0,0 +1,21 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
+
6
+ TYPE_CHECKING = False
7
+ if TYPE_CHECKING:
8
+ from typing import Tuple
9
+ from typing import Union
10
+
11
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
12
+ else:
13
+ VERSION_TUPLE = object
14
+
15
+ version: str
16
+ __version__: str
17
+ __version_tuple__: VERSION_TUPLE
18
+ version_tuple: VERSION_TUPLE
19
+
20
+ __version__ = version = '0.0.1'
21
+ __version_tuple__ = version_tuple = (0, 0, 1)
planit_py/ors.py ADDED
@@ -0,0 +1,16 @@
1
+ """Set of realizations of an orbit.
2
+
3
+ This takes in a set of parameters with uncertainties attached and generates a
4
+ set of realizations of the orbit by sampling the parameters.
5
+ """
6
+
7
+
8
+ class OrbitRealizationSet:
9
+ """A set of realizations of an orbit."""
10
+
11
+ def __init__(self, a, e, inc, W, w):
12
+ self.a = a
13
+ self.e = e
14
+ self.inc = inc
15
+ self.W = W
16
+ self.w = w
@@ -0,0 +1,53 @@
1
+ Metadata-Version: 2.4
2
+ Name: planit-py
3
+ Version: 0.0.1
4
+ Summary: A Python library to plan exoplanet observations.
5
+ Project-URL: Homepage, https://github.com/CoreySpohn/planit-py
6
+ Project-URL: Issues, https://github.com/CoreySpohn/planit-py/issues
7
+ Author-email: Corey Spohn <corey.a.spohn@nasa.gov>
8
+ License: MIT License
9
+
10
+ Copyright (c) 2024 Corey Spohn
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+ License-File: LICENSE
30
+ Classifier: Intended Audience :: Science/Research
31
+ Classifier: License :: OSI Approved :: MIT License
32
+ Classifier: Programming Language :: Python :: 3
33
+ Classifier: Topic :: Scientific/Engineering :: Astronomy
34
+ Requires-Python: >=3.9
35
+ Requires-Dist: astropy
36
+ Requires-Dist: or-tools
37
+ Provides-Extra: docs
38
+ Requires-Dist: matplotlib; extra == 'docs'
39
+ Requires-Dist: myst-nb; extra == 'docs'
40
+ Requires-Dist: sphinx; extra == 'docs'
41
+ Requires-Dist: sphinx-autoapi; extra == 'docs'
42
+ Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
43
+ Requires-Dist: sphinx-book-theme; extra == 'docs'
44
+ Provides-Extra: test
45
+ Requires-Dist: hypothesis; extra == 'test'
46
+ Requires-Dist: nox; extra == 'test'
47
+ Requires-Dist: pytest; extra == 'test'
48
+ Requires-Dist: pytest-cov; extra == 'test'
49
+ Description-Content-Type: text/markdown
50
+
51
+ # planit
52
+
53
+ A library to generate observing schedules for exoplanets.
@@ -0,0 +1,7 @@
1
+ planit_py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ planit_py/_version.py,sha256=vgltXBYF55vNcC2regxjGN0_cbebmm8VgcDdQaDapWQ,511
3
+ planit_py/ors.py,sha256=BGZST-6H3y1wb77ZRE-f7_W02pdneVcENdyvemjr_iQ,395
4
+ planit_py-0.0.1.dist-info/METADATA,sha256=6YPNVSHlO1tyNPyek1NjdqSaej8T5NWsZ-sB0bOyrbA,2416
5
+ planit_py-0.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
+ planit_py-0.0.1.dist-info/licenses/LICENSE,sha256=F5bToKEdj7k_wULTMxj-j2i1fIk6MVKjXHL0jrqK_y8,1068
7
+ planit_py-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Corey Spohn
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.