plotastrodata 1.4.9__tar.gz → 1.4.11__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.
Files changed (23) hide show
  1. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/PKG-INFO +1 -1
  2. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/__init__.py +1 -1
  3. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/const_utils.py +48 -12
  4. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/fft_utils.py +1 -1
  5. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata.egg-info/PKG-INFO +1 -1
  6. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/LICENSE +0 -0
  7. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/README.md +0 -0
  8. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/analysis_utils.py +0 -0
  9. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/coord_utils.py +0 -0
  10. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/ext_utils.py +0 -0
  11. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/fits_utils.py +0 -0
  12. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/fitting_utils.py +0 -0
  13. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/los_utils.py +0 -0
  14. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/matrix_utils.py +0 -0
  15. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/other_utils.py +0 -0
  16. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata/plot_utils.py +0 -0
  17. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata.egg-info/SOURCES.txt +0 -0
  18. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata.egg-info/dependency_links.txt +0 -0
  19. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata.egg-info/not-zip-safe +0 -0
  20. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata.egg-info/requires.txt +0 -0
  21. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/plotastrodata.egg-info/top_level.txt +0 -0
  22. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/setup.cfg +0 -0
  23. {plotastrodata-1.4.9 → plotastrodata-1.4.11}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plotastrodata
3
- Version: 1.4.9
3
+ Version: 1.4.11
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
@@ -1,4 +1,4 @@
1
1
  import warnings
2
2
 
3
3
  warnings.simplefilter('ignore', UserWarning)
4
- __version__ = '1.4.9'
4
+ __version__ = '1.4.11'
@@ -2,23 +2,59 @@ from astropy import constants
2
2
  from astropy import units
3
3
 
4
4
  # astropy.units in the SI unit system
5
- au = units.au.to('m')
6
- pc = units.pc.to('m')
5
+ Angstrom = units.Angstrom.to('m')
6
+ angstrom = units.angstrom.to('m')
7
+ AA = units.AA.to('m')
8
+ arcmin = units.arcmin.to('radian')
9
+ arcminute = units.arcminute.to('radian')
7
10
  arcsec = units.arcsec.to('radian')
8
- Jy = units.Jy.to('J*s**(-1)*m**(-2)*Hz**(-1)')
9
- deg = units.deg.to('radian')
10
- year = units.year.to('s')
11
- gauss = units.gauss.to('T')
11
+ arcsecond = units.arcsecond.to('radian')
12
12
  cm = units.cm.to('m')
13
- km = units.km.to('m')
14
- angstrom = units.angstrom.to('m')
13
+ centimeter = units.centimeter.to('m')
14
+ day = units.day.to('s')
15
+ deg = units.deg.to('radian')
16
+ degree = units.degree.to('radian')
15
17
  gram = units.gram.to('kg')
18
+ hour = units.hour.to('s')
19
+ hr = units.hr.to('s')
20
+ km = units.km.to('m')
21
+ liter = units.liter.to('m**3')
22
+ mas = units.mas.to('radian')
23
+ min = units.min.to('s')
24
+ minute = units.minute.to('s')
25
+ tonne = units.tonne.to('kg')
26
+ uas = units.uas.to('radian')
27
+ wk = units.wk.to('s')
28
+ week = units.week.to('s')
29
+ yr = units.yr.to('s')
30
+ year = units.year.to('s')
31
+
32
+ Debye = units.Debye.to('A*s*m')
16
33
  debye = units.debye.to('A*s*m')
34
+ dyn = units.dyn.to('kg*m*s**(-2)')
35
+ dyne = units.dyne.to('kg*m*s**(-2)')
17
36
  erg = units.erg.to('J')
18
- coulomb = units.coulomb.to('A*s')
19
- newton = units.newton.to('kg*m*s**(-2)')
20
- pascal = units.pascal.to('J*m**(-3)')
21
- watt = units.watt.to('J*s**(-1)')
37
+ gauss = units.gauss.to('T')
38
+ Gauss = units.Gauss.to('T')
39
+ Mx = units.Mx.to('Wb')
40
+ Maxwell = units.Maxwell.to('Wb')
41
+ maxwell = units.maxwell.to('Wb')
42
+
43
+ AU = units.AU.to('m')
44
+ au = units.au.to('m')
45
+ astronomical_unit = units.astronomical_unit.to('m')
46
+ Jy = units.Jy.to('J*s**(-1)*m**(-2)*Hz**(-1)')
47
+ Jansky = units.Jansky.to('J*s**(-1)*m**(-2)*Hz**(-1)')
48
+ jansky = units.jansky.to('J*s**(-1)*m**(-2)*Hz**(-1)')
49
+ lsec = units.lsec.to('m')
50
+ lightsecond = units.lightsecond.to('m')
51
+ lyr = units.lyr.to('m')
52
+ lightyear = units.lightyear.to('m')
53
+ pc = units.pc.to('m')
54
+ parsec = units.parsec.to('m')
55
+
56
+ eV = units.eV.to('J')
57
+ electronvolt = units.electronvolt.to('J')
22
58
 
23
59
  # astropy.constants in the SI unit system
24
60
  G = constants.G.si.value
@@ -154,7 +154,7 @@ def ifftcentering2(F: np.ndarray,
154
154
  if y0 is not None:
155
155
  y = y - y[0] + y0
156
156
  dx, dy = x[1] - x[0], y[1] - y[0]
157
- F = shiftphase(F, u, v, x[-1] + dx - xcenter, y[-1] + dy - ycenter)
157
+ F = shiftphase2(F, u, v, x[-1] + dx - xcenter, y[-1] + dy - ycenter)
158
158
  f = np.fft.ifft2(np.fft.ifftshift(F))
159
159
  if outreal:
160
160
  f = np.real(f)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plotastrodata
3
- Version: 1.4.9
3
+ Version: 1.4.11
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