visualastro 0.0.2__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.
- visualastro-0.0.2/LICENSE +21 -0
- visualastro-0.0.2/MANIFEST.in +16 -0
- visualastro-0.0.2/PKG-INFO +35 -0
- visualastro-0.0.2/README.md +11 -0
- visualastro-0.0.2/pyproject.toml +62 -0
- visualastro-0.0.2/setup.cfg +4 -0
- visualastro-0.0.2/src/VisualAstro.egg-info/PKG-INFO +35 -0
- visualastro-0.0.2/src/VisualAstro.egg-info/SOURCES.txt +31 -0
- visualastro-0.0.2/src/VisualAstro.egg-info/dependency_links.txt +1 -0
- visualastro-0.0.2/src/VisualAstro.egg-info/requires.txt +10 -0
- visualastro-0.0.2/src/VisualAstro.egg-info/top_level.txt +1 -0
- visualastro-0.0.2/src/visualastro/__init__.py +15 -0
- visualastro-0.0.2/src/visualastro/data_cube.py +494 -0
- visualastro-0.0.2/src/visualastro/data_cube_utils.py +127 -0
- visualastro-0.0.2/src/visualastro/io.py +251 -0
- visualastro-0.0.2/src/visualastro/numerical_utils.py +285 -0
- visualastro-0.0.2/src/visualastro/photometry.py +40 -0
- visualastro-0.0.2/src/visualastro/plot_utils.py +804 -0
- visualastro-0.0.2/src/visualastro/plotting.py +797 -0
- visualastro-0.0.2/src/visualastro/reduction.py +136 -0
- visualastro-0.0.2/src/visualastro/spectra.py +817 -0
- visualastro-0.0.2/src/visualastro/spectra_utils.py +294 -0
- visualastro-0.0.2/src/visualastro/stylelib/astro.mplstyle +815 -0
- visualastro-0.0.2/src/visualastro/stylelib/default.mplstyle +815 -0
- visualastro-0.0.2/src/visualastro/stylelib/latex.mplstyle +815 -0
- visualastro-0.0.2/src/visualastro/stylelib/minimal.mplstyle +817 -0
- visualastro-0.0.2/src/visualastro/visual_classes.py +282 -0
- visualastro-0.0.2/src/visualastro/visual_plots.py +1047 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Elko Gerville-Reache
|
|
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,16 @@
|
|
|
1
|
+
include README_MSG.md
|
|
2
|
+
include LICENSE
|
|
3
|
+
recursive-include MSG_Nbody *.py
|
|
4
|
+
|
|
5
|
+
global-exclude *.egg-info*
|
|
6
|
+
global-exclude EGG-INFO*
|
|
7
|
+
prune *egg-info*
|
|
8
|
+
prune build
|
|
9
|
+
prune dist
|
|
10
|
+
|
|
11
|
+
prune ANIMATIONS
|
|
12
|
+
prune DOCUMENTATION
|
|
13
|
+
prune Initial_Conditions
|
|
14
|
+
prune Tests
|
|
15
|
+
|
|
16
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: visualastro
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Astro data analysis and plotting package
|
|
5
|
+
Author-email: Elko Gerville-Reache <elkogerville@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/elkogerville/VisualAstro
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: astropy
|
|
15
|
+
Requires-Dist: dust_extinction
|
|
16
|
+
Requires-Dist: matplotlib
|
|
17
|
+
Requires-Dist: numba
|
|
18
|
+
Requires-Dist: numpy
|
|
19
|
+
Requires-Dist: regions
|
|
20
|
+
Requires-Dist: scipy
|
|
21
|
+
Requires-Dist: spectral_cube
|
|
22
|
+
Requires-Dist: specutils
|
|
23
|
+
Requires-Dist: tqdm
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
/$$ /$$ /$$ /$$ /$$$$$$ /$$
|
|
27
|
+
| $$ | $$|__/ | $$ /$$__ $$ | $$
|
|
28
|
+
| $$ | $$ /$$ /$$$$$$$ /$$ /$$ /$$$$$$ | $$| $$ \ $$ /$$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
|
|
29
|
+
| $$ / $$/| $$ /$$_____/| $$ | $$ |____ $$| $$| $$$$$$$$ /$$_____/|_ $$_/ /$$__ $$ /$$__ $$
|
|
30
|
+
\ $$ $$/ | $$| $$$$$$ | $$ | $$ /$$$$$$$| $$| $$__ $$| $$$$$$ | $$ | $$ \__/| $$ \ $$
|
|
31
|
+
\ $$$/ | $$ \____ $$| $$ | $$ /$$__ $$| $$| $$ | $$ \____ $$ | $$ /$$| $$ | $$ | $$
|
|
32
|
+
\ $/ | $$ /$$$$$$$/| $$$$$$/| $$$$$$$| $$| $$ | $$ /$$$$$$$/ | $$$$/| $$ | $$$$$$/
|
|
33
|
+
\_/ |__/|_______/ \______/ \_______/|__/|__/ |__/|_______/ \___/ |__/ \______/
|
|
34
|
+
```
|
|
35
|
+
# Astrophysical Visualization System
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
```
|
|
2
|
+
/$$ /$$ /$$ /$$ /$$$$$$ /$$
|
|
3
|
+
| $$ | $$|__/ | $$ /$$__ $$ | $$
|
|
4
|
+
| $$ | $$ /$$ /$$$$$$$ /$$ /$$ /$$$$$$ | $$| $$ \ $$ /$$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
|
|
5
|
+
| $$ / $$/| $$ /$$_____/| $$ | $$ |____ $$| $$| $$$$$$$$ /$$_____/|_ $$_/ /$$__ $$ /$$__ $$
|
|
6
|
+
\ $$ $$/ | $$| $$$$$$ | $$ | $$ /$$$$$$$| $$| $$__ $$| $$$$$$ | $$ | $$ \__/| $$ \ $$
|
|
7
|
+
\ $$$/ | $$ \____ $$| $$ | $$ /$$__ $$| $$| $$ | $$ \____ $$ | $$ /$$| $$ | $$ | $$
|
|
8
|
+
\ $/ | $$ /$$$$$$$/| $$$$$$/| $$$$$$$| $$| $$ | $$ /$$$$$$$/ | $$$$/| $$ | $$$$$$/
|
|
9
|
+
\_/ |__/|_______/ \______/ \_______/|__/|__/ |__/|_______/ \___/ |__/ \______/
|
|
10
|
+
```
|
|
11
|
+
# Astrophysical Visualization System
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=64", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "visualastro"
|
|
7
|
+
version = "0.0.2"
|
|
8
|
+
description = "Astro data analysis and plotting package"
|
|
9
|
+
authors = [
|
|
10
|
+
{name = "Elko Gerville-Reache", email = "elkogerville@gmail.com"},
|
|
11
|
+
]
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
requires-python = ">=3.6"
|
|
14
|
+
license = {text = "MIT"}
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"astropy",
|
|
22
|
+
"dust_extinction",
|
|
23
|
+
"matplotlib",
|
|
24
|
+
"numba",
|
|
25
|
+
"numpy",
|
|
26
|
+
"regions",
|
|
27
|
+
"scipy",
|
|
28
|
+
"spectral_cube",
|
|
29
|
+
"specutils",
|
|
30
|
+
"tqdm",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[project.urls]
|
|
34
|
+
Homepage = "https://github.com/elkogerville/VisualAstro"
|
|
35
|
+
|
|
36
|
+
[tool.setuptools]
|
|
37
|
+
include-package-data = true
|
|
38
|
+
|
|
39
|
+
[tool.setuptools.packages.find]
|
|
40
|
+
where = ["src"]
|
|
41
|
+
|
|
42
|
+
[tool.setuptools.package-data]
|
|
43
|
+
"visualastro" = ["stylelib/*.mplstyle", "*.md", "LICENSE"]
|
|
44
|
+
|
|
45
|
+
[tool.setuptools.exclude-package-data]
|
|
46
|
+
"*" = [
|
|
47
|
+
"*.egg-info/*",
|
|
48
|
+
"*.egg-info",
|
|
49
|
+
"EGG-INFO/*",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
exclude = [
|
|
53
|
+
"ANIMATIONS*",
|
|
54
|
+
"DOCUMENTATION*",
|
|
55
|
+
"Initial_Conditions*",
|
|
56
|
+
"Tests*",
|
|
57
|
+
"build*",
|
|
58
|
+
"dist*",
|
|
59
|
+
"*egg-info*",
|
|
60
|
+
"*.egg-info",
|
|
61
|
+
"EGG-INFO*",
|
|
62
|
+
]
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: visualastro
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Astro data analysis and plotting package
|
|
5
|
+
Author-email: Elko Gerville-Reache <elkogerville@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/elkogerville/VisualAstro
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: astropy
|
|
15
|
+
Requires-Dist: dust_extinction
|
|
16
|
+
Requires-Dist: matplotlib
|
|
17
|
+
Requires-Dist: numba
|
|
18
|
+
Requires-Dist: numpy
|
|
19
|
+
Requires-Dist: regions
|
|
20
|
+
Requires-Dist: scipy
|
|
21
|
+
Requires-Dist: spectral_cube
|
|
22
|
+
Requires-Dist: specutils
|
|
23
|
+
Requires-Dist: tqdm
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
/$$ /$$ /$$ /$$ /$$$$$$ /$$
|
|
27
|
+
| $$ | $$|__/ | $$ /$$__ $$ | $$
|
|
28
|
+
| $$ | $$ /$$ /$$$$$$$ /$$ /$$ /$$$$$$ | $$| $$ \ $$ /$$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
|
|
29
|
+
| $$ / $$/| $$ /$$_____/| $$ | $$ |____ $$| $$| $$$$$$$$ /$$_____/|_ $$_/ /$$__ $$ /$$__ $$
|
|
30
|
+
\ $$ $$/ | $$| $$$$$$ | $$ | $$ /$$$$$$$| $$| $$__ $$| $$$$$$ | $$ | $$ \__/| $$ \ $$
|
|
31
|
+
\ $$$/ | $$ \____ $$| $$ | $$ /$$__ $$| $$| $$ | $$ \____ $$ | $$ /$$| $$ | $$ | $$
|
|
32
|
+
\ $/ | $$ /$$$$$$$/| $$$$$$/| $$$$$$$| $$| $$ | $$ /$$$$$$$/ | $$$$/| $$ | $$$$$$/
|
|
33
|
+
\_/ |__/|_______/ \______/ \_______/|__/|__/ |__/|_______/ \___/ |__/ \______/
|
|
34
|
+
```
|
|
35
|
+
# Astrophysical Visualization System
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
MANIFEST.in
|
|
3
|
+
README.md
|
|
4
|
+
pyproject.toml
|
|
5
|
+
src/VisualAstro.egg-info/PKG-INFO
|
|
6
|
+
src/VisualAstro.egg-info/SOURCES.txt
|
|
7
|
+
src/VisualAstro.egg-info/dependency_links.txt
|
|
8
|
+
src/VisualAstro.egg-info/requires.txt
|
|
9
|
+
src/VisualAstro.egg-info/top_level.txt
|
|
10
|
+
src/visualastro/__init__.py
|
|
11
|
+
src/visualastro/data_cube.py
|
|
12
|
+
src/visualastro/data_cube_utils.py
|
|
13
|
+
src/visualastro/io.py
|
|
14
|
+
src/visualastro/numerical_utils.py
|
|
15
|
+
src/visualastro/photometry.py
|
|
16
|
+
src/visualastro/plot_utils.py
|
|
17
|
+
src/visualastro/plotting.py
|
|
18
|
+
src/visualastro/reduction.py
|
|
19
|
+
src/visualastro/spectra.py
|
|
20
|
+
src/visualastro/spectra_utils.py
|
|
21
|
+
src/visualastro/visual_classes.py
|
|
22
|
+
src/visualastro/visual_plots.py
|
|
23
|
+
src/visualastro.egg-info/PKG-INFO
|
|
24
|
+
src/visualastro.egg-info/SOURCES.txt
|
|
25
|
+
src/visualastro.egg-info/dependency_links.txt
|
|
26
|
+
src/visualastro.egg-info/requires.txt
|
|
27
|
+
src/visualastro.egg-info/top_level.txt
|
|
28
|
+
src/visualastro/stylelib/astro.mplstyle
|
|
29
|
+
src/visualastro/stylelib/default.mplstyle
|
|
30
|
+
src/visualastro/stylelib/latex.mplstyle
|
|
31
|
+
src/visualastro/stylelib/minimal.mplstyle
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
visualastro
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Core Classes
|
|
2
|
+
from .visual_classes import DataCube, ExtractedSpectrum, FitsFile
|
|
3
|
+
|
|
4
|
+
# Submodules
|
|
5
|
+
from .data_cube import *
|
|
6
|
+
from .data_cube_utils import *
|
|
7
|
+
from .io import *
|
|
8
|
+
from .numerical_utils import *
|
|
9
|
+
from .photometry import *
|
|
10
|
+
from .plotting import *
|
|
11
|
+
from .plot_utils import *
|
|
12
|
+
from .reduction import *
|
|
13
|
+
from .spectra import *
|
|
14
|
+
from .spectra_utils import *
|
|
15
|
+
from .visual_plots import *
|