plotastrodata 1.2.6__tar.gz → 1.2.7__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.6 → plotastrodata-1.2.7}/PKG-INFO +1 -1
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata/__init__.py +1 -1
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata/analysis_utils.py +6 -6
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata.egg-info/PKG-INFO +1 -1
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/LICENSE +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/README.md +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata/const_utils.py +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata/fft_utils.py +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata/fits_utils.py +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata/fitting_utils.py +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata/los_utils.py +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata/other_utils.py +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata/plot_utils.py +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata.egg-info/SOURCES.txt +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata.egg-info/dependency_links.txt +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata.egg-info/not-zip-safe +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata.egg-info/requires.txt +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/plotastrodata.egg-info/top_level.txt +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/setup.cfg +0 -0
- {plotastrodata-1.2.6 → plotastrodata-1.2.7}/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.7
|
|
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
|
|
@@ -51,16 +51,16 @@ def quadrantmean(data: np.ndarray, x: np.ndarray, y: np.ndarray,
|
|
|
51
51
|
ny = int(np.floor(max(np.abs(y[0]), np.abs(y[-1])) / dy))
|
|
52
52
|
xnew = np.linspace(-nx * dx, nx * dx, 2 * nx + 1)
|
|
53
53
|
ynew = np.linspace(-ny * dy, ny * dy, 2 * ny + 1)
|
|
54
|
-
Xnew, Ynew = np.meshgrid(
|
|
55
|
-
if quadrants
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
elif quadrants == '24':
|
|
59
|
-
f = RGI((y, -x), data, bounds_error=False, fill_value=np.nan)
|
|
54
|
+
Xnew, Ynew = np.meshgrid(xnew, ynew)
|
|
55
|
+
if quadrants in ['13', '24']:
|
|
56
|
+
s = 1 if quadrants == '13' else -1
|
|
57
|
+
f = RGI((y, s * x), data, bounds_error=False, fill_value=np.nan)
|
|
60
58
|
datanew = f((Ynew, Xnew))
|
|
61
59
|
else:
|
|
62
60
|
print('quadrants must be \'13\' or \'24\'.')
|
|
63
61
|
datanew = (datanew + datanew[::-1, ::-1]) / 2.
|
|
62
|
+
print(np.shape(datanew), np.shape(xnew), np.shape(ynew))
|
|
63
|
+
print(np.shape(datanew[ny:, nx:]), np.shape(xnew[nx:]), np.shape(ynew[ny:]))
|
|
64
64
|
return datanew[ny:, nx:], xnew[nx:], ynew[ny:]
|
|
65
65
|
|
|
66
66
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: plotastrodata
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.7
|
|
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
|