AstroToolkit 1.3.2__tar.gz → 1.3.3__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.
- {AstroToolkit-1.3.2/src/AstroToolkit.egg-info → AstroToolkit-1.3.3}/PKG-INFO +16 -16
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/pyproject.toml +16 -16
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Data/spectra.py +1 -1
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Misc/file_handling.py +1 -1
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Plotting/HRD.py +2 -2
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Tools.py +8 -20
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3/src/AstroToolkit.egg-info}/PKG-INFO +16 -16
- AstroToolkit-1.3.3/src/AstroToolkit.egg-info/requires.txt +15 -0
- AstroToolkit-1.3.2/src/AstroToolkit.egg-info/requires.txt +0 -15
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/LICENSE +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/MANIFEST.in +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/README.md +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/setup.cfg +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Data/data.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Data/imaging.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Data/lightcurve_sigma_clip.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Data/lightcurves.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Data/overlays.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Data/photometry.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Data/reddening.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Data/sed.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Datapages/buttons.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Datapages/grid.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Datapages/metadata.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Examples/datapage_creation.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Misc/ProperMotionCorrection.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Misc/coord_conversion.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Misc/file_naming.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Misc/input_validation.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Misc/read_fits.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Plotting/backdrop_hrd_allmags.fits +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Plotting/imaging.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Plotting/lightcurves.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Plotting/powspec.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Plotting/sed.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Plotting/spectra.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Settings/__init__.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/README - Windows.txt +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/README.txt +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/__init__.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/aov.cp38-win_amd64.pyd +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/aov.f90 +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/aovconst.f90 +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/aovsub.f90 +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/build.sh +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/buildwin.bat +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/pyaov.pdf +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/pyaov.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/ztfanalysis.py +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit.egg-info/SOURCES.txt +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit.egg-info/dependency_links.txt +0 -0
- {AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: AstroToolkit
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.3
|
|
4
4
|
Summary: A package for the gathering and plotting of astronomical data.
|
|
5
5
|
Author-email: Ethan Moorfield <ethan.moorfield@hotmail.co.uk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/WD-planets/AstroToolkit
|
|
@@ -10,21 +10,21 @@ Classifier: Operating System :: OS Independent
|
|
|
10
10
|
Requires-Python: >=3.7
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: astropy
|
|
14
|
-
Requires-Dist: astroquery
|
|
15
|
-
Requires-Dist: bokeh
|
|
16
|
-
Requires-Dist: cmasher
|
|
17
|
-
Requires-Dist: importlib_resources
|
|
18
|
-
Requires-Dist: matplotlib
|
|
19
|
-
Requires-Dist: numba
|
|
20
|
-
Requires-Dist: numpy
|
|
21
|
-
Requires-Dist: pandas
|
|
22
|
-
Requires-Dist: Pillow
|
|
23
|
-
Requires-Dist: PyQt5
|
|
24
|
-
Requires-Dist: PyQt5_sip
|
|
25
|
-
Requires-Dist: Requests
|
|
26
|
-
Requires-Dist: scikit_learn
|
|
27
|
-
Requires-Dist: scipy
|
|
13
|
+
Requires-Dist: astropy==5.2.2
|
|
14
|
+
Requires-Dist: astroquery==0.4.7
|
|
15
|
+
Requires-Dist: bokeh==3.1.1
|
|
16
|
+
Requires-Dist: cmasher==1.6.3
|
|
17
|
+
Requires-Dist: importlib_resources==6.4.0
|
|
18
|
+
Requires-Dist: matplotlib==3.7.5
|
|
19
|
+
Requires-Dist: numba==0.58.1
|
|
20
|
+
Requires-Dist: numpy==1.24.4
|
|
21
|
+
Requires-Dist: pandas==2.0.3
|
|
22
|
+
Requires-Dist: Pillow==10.2.0
|
|
23
|
+
Requires-Dist: PyQt5==5.15.10
|
|
24
|
+
Requires-Dist: PyQt5_sip==12.13.0
|
|
25
|
+
Requires-Dist: Requests==2.31.0
|
|
26
|
+
Requires-Dist: scikit_learn==1.3.2
|
|
27
|
+
Requires-Dist: scipy==1.10.1
|
|
28
28
|
|
|
29
29
|
# AstroToolkit
|
|
30
30
|
|
|
@@ -7,7 +7,7 @@ include-package-data = true
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "AstroToolkit"
|
|
10
|
-
version = "1.3.
|
|
10
|
+
version = "1.3.3"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name="Ethan Moorfield", email="ethan.moorfield@hotmail.co.uk"},
|
|
13
13
|
]
|
|
@@ -19,21 +19,21 @@ classifiers = [
|
|
|
19
19
|
"Operating System :: OS Independent",
|
|
20
20
|
]
|
|
21
21
|
dependencies = [
|
|
22
|
-
"astropy",
|
|
23
|
-
"astroquery",
|
|
24
|
-
"bokeh
|
|
25
|
-
"cmasher",
|
|
26
|
-
"importlib_resources",
|
|
27
|
-
"matplotlib",
|
|
28
|
-
"numba",
|
|
29
|
-
"numpy",
|
|
30
|
-
"pandas",
|
|
31
|
-
"Pillow",
|
|
32
|
-
"PyQt5",
|
|
33
|
-
"PyQt5_sip",
|
|
34
|
-
"Requests",
|
|
35
|
-
"scikit_learn",
|
|
36
|
-
"scipy",
|
|
22
|
+
"astropy==5.2.2",
|
|
23
|
+
"astroquery==0.4.7",
|
|
24
|
+
"bokeh==3.1.1",
|
|
25
|
+
"cmasher==1.6.3",
|
|
26
|
+
"importlib_resources==6.4.0",
|
|
27
|
+
"matplotlib==3.7.5",
|
|
28
|
+
"numba==0.58.1",
|
|
29
|
+
"numpy==1.24.4",
|
|
30
|
+
"pandas==2.0.3",
|
|
31
|
+
"Pillow==10.2.0",
|
|
32
|
+
"PyQt5==5.15.10",
|
|
33
|
+
"PyQt5_sip==12.13.0",
|
|
34
|
+
"Requests==2.31.0",
|
|
35
|
+
"scikit_learn==1.3.2",
|
|
36
|
+
"scipy==1.10.1",
|
|
37
37
|
]
|
|
38
38
|
|
|
39
39
|
[project.urls]
|
|
@@ -11,7 +11,7 @@ def get_spectrum_data(survey,ra,dec,radius=3,source=None,pos=None):
|
|
|
11
11
|
radius=radius/3600*u.deg
|
|
12
12
|
|
|
13
13
|
# fetches data
|
|
14
|
-
data=SDSS.get_spectra(position,radius,timeout=120)
|
|
14
|
+
data=SDSS.get_spectra(coordinates=position,radius=radius,timeout=120)
|
|
15
15
|
if data!=None:
|
|
16
16
|
data=data[0][1]
|
|
17
17
|
|
|
@@ -80,7 +80,7 @@ def get_plot(source=None,sources=None):
|
|
|
80
80
|
y=gmag+5*np.log10(parallax/1000)+5
|
|
81
81
|
|
|
82
82
|
if not math.isnan(gmag) and not math.isnan(bpmag) and not math.isnan(rpmag) and not math.isnan(parallax):
|
|
83
|
-
plot.scatter(x=x,y=y,marker='square_dot',line_color='black',fill_color=None,size=20,line_width=2,legend_label='Source')
|
|
83
|
+
plot.scatter(x=x,y=y,marker='square_dot',line_color='black',fill_color=None,size=20,line_width=2,legend_label='Source',level='overlay')
|
|
84
84
|
else:
|
|
85
85
|
return None
|
|
86
86
|
|
|
@@ -93,7 +93,7 @@ def get_plot(source=None,sources=None):
|
|
|
93
93
|
y=gmag+5*np.log10(parallax/1000)+5
|
|
94
94
|
|
|
95
95
|
if not math.isnan(gmag) and not math.isnan(bpmag) and not math.isnan(rpmag) and not math.isnan(parallax):
|
|
96
|
-
plot.scatter(x=x,y=y,marker='square_dot',line_color='black',fill_color=None,size=
|
|
96
|
+
plot.scatter(x=x,y=y,marker='square_dot',line_color='black',fill_color=None,size=10,line_width=2,legend_label='Sources',level='overlay')
|
|
97
97
|
else:
|
|
98
98
|
pass
|
|
99
99
|
|
|
@@ -1,35 +1,23 @@
|
|
|
1
1
|
'''
|
|
2
2
|
Changelog:
|
|
3
|
-
-
|
|
4
|
-
-
|
|
5
|
-
-
|
|
6
|
-
- improved readfits functionality, can now set default source and ra/dec column names using config or from commandline, and prints similar column names if it couldn't find the given ones.
|
|
7
|
-
- added support for CRTS lightcurves to lightcurvequery
|
|
8
|
-
- added support for CRTS lightcurves as tracers in imaging overlays
|
|
9
|
-
- added note to README about tracers and which ones are 'true' tracers (ztf and crts), and add an example image of wolf 28 being traced by crts
|
|
10
|
-
- added crts to readme (lightcurvequery and overlays)
|
|
11
|
-
- improved clarity of input description in coord conversion tools in README
|
|
12
|
-
- added a getconfigvalue tool that fetches the current value of a given config parameter
|
|
13
|
-
- added a getcolumn tool that can be used to grab any column from a .fits file
|
|
14
|
-
- added comments throughout main Tools.py source code
|
|
15
|
-
- other bug fixes
|
|
16
|
-
- plots are now stored as part of a dictionary which stores the plot, as well as basic information such as the survey,source,pos, and type
|
|
17
|
-
- updated showplot, saveplot and export tools so that there is no difference in functionality with the above change
|
|
18
|
-
- Now needs BS4, but this should be included already as it is required by astroquery
|
|
19
|
-
- updated data dictionaries (returned by dataquery,photquery,spectrumquery, etc.) to be more in line with plot dictionaries returned by plotting tools when returning None
|
|
20
|
-
- made spectra legends double-clickable in line with other ATK plots
|
|
21
|
-
- improved grid functionality (for datapage creation) in many ways
|
|
3
|
+
- Small changes to HRD overlay layering
|
|
4
|
+
- updated to work with astroquery 0.4.7
|
|
5
|
+
- bug fixes
|
|
22
6
|
'''
|
|
23
7
|
|
|
24
8
|
'''
|
|
25
9
|
To-Do:
|
|
26
10
|
HIGH PRIORITY
|
|
11
|
+
- specify versions in requirements
|
|
12
|
+
- check config for if all keys are present, if not then make a new config file with current keys saved
|
|
13
|
+
- talk to boris about combining lightcurves
|
|
27
14
|
- update README to reflect new changes (plots stored as dictionaries, showplot/saveplot/export now required to use on ATK plot objects, updated grid functionality)
|
|
28
15
|
|
|
29
16
|
- fix issues with links in github/pypi not working (the ones on github are just me forgetting to format them properly), I think if possible just list features in pypi and have link to github
|
|
30
17
|
for actual documentation. Not sure if external people (i.e. those outside WDPlanets) can definitely view this repository though?
|
|
31
18
|
|
|
32
19
|
MEDIUM PRIORITY
|
|
20
|
+
- could combine all plotting tools into a central plot function, which then uses the 'type' stored in data dicts to plot it automatically
|
|
33
21
|
- add defaults for newly supported surveys to metadata table
|
|
34
22
|
- comment new code
|
|
35
23
|
- 'plot has no renderer' bokeh warning
|
|
@@ -689,7 +677,7 @@ def gridsetup(dimensions,plots,grid_size=None):
|
|
|
689
677
|
|
|
690
678
|
# enables notifications of currently running tool if enabled in config
|
|
691
679
|
if config['ENABLE_NOTIFICATIONS']==1:
|
|
692
|
-
print(f'Creating grid...{newline}width = {dimensions[
|
|
680
|
+
print(f'Creating grid...{newline}width = {dimensions["width"]}{newline}height = {dimensions["height"]}{newline}grid_size = {grid_size}{newline}')
|
|
693
681
|
|
|
694
682
|
from .Datapages.grid import get_grid
|
|
695
683
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: AstroToolkit
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.3
|
|
4
4
|
Summary: A package for the gathering and plotting of astronomical data.
|
|
5
5
|
Author-email: Ethan Moorfield <ethan.moorfield@hotmail.co.uk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/WD-planets/AstroToolkit
|
|
@@ -10,21 +10,21 @@ Classifier: Operating System :: OS Independent
|
|
|
10
10
|
Requires-Python: >=3.7
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: astropy
|
|
14
|
-
Requires-Dist: astroquery
|
|
15
|
-
Requires-Dist: bokeh
|
|
16
|
-
Requires-Dist: cmasher
|
|
17
|
-
Requires-Dist: importlib_resources
|
|
18
|
-
Requires-Dist: matplotlib
|
|
19
|
-
Requires-Dist: numba
|
|
20
|
-
Requires-Dist: numpy
|
|
21
|
-
Requires-Dist: pandas
|
|
22
|
-
Requires-Dist: Pillow
|
|
23
|
-
Requires-Dist: PyQt5
|
|
24
|
-
Requires-Dist: PyQt5_sip
|
|
25
|
-
Requires-Dist: Requests
|
|
26
|
-
Requires-Dist: scikit_learn
|
|
27
|
-
Requires-Dist: scipy
|
|
13
|
+
Requires-Dist: astropy==5.2.2
|
|
14
|
+
Requires-Dist: astroquery==0.4.7
|
|
15
|
+
Requires-Dist: bokeh==3.1.1
|
|
16
|
+
Requires-Dist: cmasher==1.6.3
|
|
17
|
+
Requires-Dist: importlib_resources==6.4.0
|
|
18
|
+
Requires-Dist: matplotlib==3.7.5
|
|
19
|
+
Requires-Dist: numba==0.58.1
|
|
20
|
+
Requires-Dist: numpy==1.24.4
|
|
21
|
+
Requires-Dist: pandas==2.0.3
|
|
22
|
+
Requires-Dist: Pillow==10.2.0
|
|
23
|
+
Requires-Dist: PyQt5==5.15.10
|
|
24
|
+
Requires-Dist: PyQt5_sip==12.13.0
|
|
25
|
+
Requires-Dist: Requests==2.31.0
|
|
26
|
+
Requires-Dist: scikit_learn==1.3.2
|
|
27
|
+
Requires-Dist: scipy==1.10.1
|
|
28
28
|
|
|
29
29
|
# AstroToolkit
|
|
30
30
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
astropy==5.2.2
|
|
2
|
+
astroquery==0.4.7
|
|
3
|
+
bokeh==3.1.1
|
|
4
|
+
cmasher==1.6.3
|
|
5
|
+
importlib_resources==6.4.0
|
|
6
|
+
matplotlib==3.7.5
|
|
7
|
+
numba==0.58.1
|
|
8
|
+
numpy==1.24.4
|
|
9
|
+
pandas==2.0.3
|
|
10
|
+
Pillow==10.2.0
|
|
11
|
+
PyQt5==5.15.10
|
|
12
|
+
PyQt5_sip==12.13.0
|
|
13
|
+
Requests==2.31.0
|
|
14
|
+
scikit_learn==1.3.2
|
|
15
|
+
scipy==1.10.1
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Plotting/backdrop_hrd_allmags.fits
RENAMED
|
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
|
|
File without changes
|
{AstroToolkit-1.3.2 → AstroToolkit-1.3.3}/src/AstroToolkit/Timeseries/aov.cp38-win_amd64.pyd
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|