plotastrodata 1.7.5__tar.gz → 1.7.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.7.7/MANIFEST.in +6 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/PKG-INFO +1 -1
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/__init__.py +1 -1
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/analysis_utils.py +3 -2
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/fits_utils.py +2 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata.egg-info/PKG-INFO +1 -1
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata.egg-info/SOURCES.txt +1 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/LICENSE +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/README.md +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/const_utils.py +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/coord_utils.py +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/ext_utils.py +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/fft_utils.py +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/fitting_utils.py +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/los_utils.py +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/matrix_utils.py +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/other_utils.py +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata/plot_utils.py +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata.egg-info/dependency_links.txt +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata.egg-info/not-zip-safe +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata.egg-info/requires.txt +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/plotastrodata.egg-info/top_level.txt +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/setup.cfg +0 -0
- {plotastrodata-1.7.5 → plotastrodata-1.7.7}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: plotastrodata
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.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
|
|
@@ -110,6 +110,7 @@ class AstroData():
|
|
|
110
110
|
cfactor: float = 1
|
|
111
111
|
pvpa: float | None = None
|
|
112
112
|
pv: bool = False
|
|
113
|
+
bunit: str = ''
|
|
113
114
|
|
|
114
115
|
def __post_init__(self):
|
|
115
116
|
n = 0
|
|
@@ -132,7 +133,6 @@ class AstroData():
|
|
|
132
133
|
if n == 0:
|
|
133
134
|
print('Either data or fitsimage must be given.')
|
|
134
135
|
self.n = n
|
|
135
|
-
self.bunit = ''
|
|
136
136
|
self.fitsimage_org = None
|
|
137
137
|
self.sigma_org = None
|
|
138
138
|
self.beam_org = None
|
|
@@ -520,7 +520,8 @@ class AstroData():
|
|
|
520
520
|
d = {'data': self.data, 'x': self.x, 'y': self.y, 'v': self.v,
|
|
521
521
|
'fitsimage': self.fitsimage, 'beam': self.beam, 'Tb': self.Tb,
|
|
522
522
|
'restfreq': self.restfreq, 'cfactor': self.cfactor,
|
|
523
|
-
'sigma': self.sigma, 'center': self.center, 'pv': self.pv
|
|
523
|
+
'sigma': self.sigma, 'center': self.center, 'pv': self.pv,
|
|
524
|
+
'bunit': self.bunit}
|
|
524
525
|
return d
|
|
525
526
|
|
|
526
527
|
@_need_multipixels
|
|
@@ -271,11 +271,13 @@ class FitsData:
|
|
|
271
271
|
case 'Hz':
|
|
272
272
|
if freq == 0:
|
|
273
273
|
print('v is frequency because restfreq=0.')
|
|
274
|
+
s = s_in * 1
|
|
274
275
|
else:
|
|
275
276
|
s = (1 - s_in / freq) * cu.c_kms - vsys
|
|
276
277
|
case 'HZ':
|
|
277
278
|
if freq == 0:
|
|
278
279
|
print('v is frequency because restfreq=0.')
|
|
280
|
+
s = s_in * 1
|
|
279
281
|
else:
|
|
280
282
|
s = (1 - s_in / freq) * cu.c_kms - vsys
|
|
281
283
|
case 'm/s':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: plotastrodata
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.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
|
|
File without changes
|