plotastrodata 1.2.4__tar.gz → 1.2.5__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.
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/PKG-INFO +1 -1
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata/__init__.py +1 -1
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata/plot_utils.py +8 -6
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata.egg-info/PKG-INFO +1 -1
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/LICENSE +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/README.md +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata/analysis_utils.py +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata/const_utils.py +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata/fft_utils.py +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata/fits_utils.py +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata/fitting_utils.py +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata/los_utils.py +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata/other_utils.py +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata.egg-info/SOURCES.txt +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata.egg-info/dependency_links.txt +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata.egg-info/not-zip-safe +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata.egg-info/requires.txt +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/plotastrodata.egg-info/top_level.txt +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/setup.cfg +0 -0
- {plotastrodata-1.2.4 → plotastrodata-1.2.5}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: plotastrodata
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.5
|
|
4
4
|
Summary: plotastrodata is a tool for astronomers to create figures from FITS files and perform fundamental data analyses with ease.
|
|
5
5
|
Home-page: https://github.com/yusukeaso-astron/plotastrodata
|
|
6
6
|
Download-URL: https://github.com/yusukeaso-astron/plotastrodata
|
|
@@ -80,9 +80,9 @@ class PlotAxes2D():
|
|
|
80
80
|
xticklabels (list, optional): Defaults to None.
|
|
81
81
|
yticklabels (list, optional): Defaults to None.
|
|
82
82
|
xticksminor (list or int, optional): If int, int times more than xticks. Defaults to None.
|
|
83
|
-
yticksminor (list
|
|
83
|
+
yticksminor (list or int, optional): Defaults to None. If int, int times more than xticks. Defaults to None.
|
|
84
84
|
grid (dict, optional): True means merely grid(). Defaults to None.
|
|
85
|
-
aspect (float, optional): Defaults to None.
|
|
85
|
+
aspect (dict or float, optional): Defaults to None.
|
|
86
86
|
"""
|
|
87
87
|
samexy: bool = True
|
|
88
88
|
loglog: bool | None = None
|
|
@@ -99,7 +99,7 @@ class PlotAxes2D():
|
|
|
99
99
|
xticksminor: list | int = None
|
|
100
100
|
yticksminor: list | int = None
|
|
101
101
|
grid: dict | None = None
|
|
102
|
-
aspect: float | None = None
|
|
102
|
+
aspect: dict | float | None = None
|
|
103
103
|
|
|
104
104
|
def set_xyaxes(self, ax):
|
|
105
105
|
if self.loglog is not None:
|
|
@@ -159,7 +159,10 @@ class PlotAxes2D():
|
|
|
159
159
|
if self.grid is not None:
|
|
160
160
|
ax.grid(**({} if self.grid is True else self.grid))
|
|
161
161
|
if self.aspect is not None:
|
|
162
|
-
|
|
162
|
+
if type(self.aspect) is dict:
|
|
163
|
+
ax.set_aspect(**self.aspect)
|
|
164
|
+
else:
|
|
165
|
+
ax.set_aspect(self.aspect)
|
|
163
166
|
|
|
164
167
|
|
|
165
168
|
def set_minmax(data: np.ndarray, stretch: str, stretchscale: float,
|
|
@@ -500,8 +503,7 @@ class PlotAstroData(AstroFrame):
|
|
|
500
503
|
bp = [a, 0.1 if self.pv else a]
|
|
501
504
|
if self.swapxy:
|
|
502
505
|
bp = np.transpose(bp)
|
|
503
|
-
|
|
504
|
-
bmaj, bmin = bmin, bmaj
|
|
506
|
+
bpa = 90 - bpa
|
|
505
507
|
self.add_region(patch=patch, poslist=bp,
|
|
506
508
|
majlist=bmaj, minlist=bmin, palist=bpa,
|
|
507
509
|
include_chan=include_chan,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: plotastrodata
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.5
|
|
4
4
|
Summary: plotastrodata is a tool for astronomers to create figures from FITS files and perform fundamental data analyses with ease.
|
|
5
5
|
Home-page: https://github.com/yusukeaso-astron/plotastrodata
|
|
6
6
|
Download-URL: https://github.com/yusukeaso-astron/plotastrodata
|
|
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
|