EllipSect 3.4.3__tar.gz → 3.4.4__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 (75) hide show
  1. {ellipsect-3.4.3 → ellipsect-3.4.4}/PKG-INFO +21 -9
  2. {ellipsect-3.4.3 → ellipsect-3.4.4}/README.rst +19 -8
  3. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/conf.py +1 -1
  4. ellipsect-3.4.4/img/A85.def.png +0 -0
  5. {ellipsect-3.4.3 → ellipsect-3.4.4}/setup.cfg +2 -1
  6. {ellipsect-3.4.3 → ellipsect-3.4.4}/setup.py +1 -1
  7. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/EllipSect.egg-info/PKG-INFO +21 -9
  8. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/EllipSect.egg-info/SOURCES.txt +0 -1
  9. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/EllipSect.egg-info/requires.txt +3 -0
  10. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/__init__.py +0 -3
  11. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/inout/read.py +14 -0
  12. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/phot/ned.py +2 -2
  13. ellipsect-3.4.3/img/A85.comp.png +0 -0
  14. ellipsect-3.4.3/img/A85.def.png +0 -0
  15. {ellipsect-3.4.3 → ellipsect-3.4.4}/AUTHORS.rst +0 -0
  16. {ellipsect-3.4.3 → ellipsect-3.4.4}/CHANGELOG.rst +0 -0
  17. {ellipsect-3.4.3 → ellipsect-3.4.4}/CONTRIBUTING.rst +0 -0
  18. {ellipsect-3.4.3 → ellipsect-3.4.4}/LICENSE.txt +0 -0
  19. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/Makefile +0 -0
  20. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/_static/.gitignore +0 -0
  21. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/api.rst +0 -0
  22. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/authors.rst +0 -0
  23. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/changelog.rst +0 -0
  24. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/contributing.rst +0 -0
  25. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/howto.rst +0 -0
  26. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/index.rst +0 -0
  27. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/license.rst +0 -0
  28. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/readme.rst +0 -0
  29. {ellipsect-3.4.3 → ellipsect-3.4.4}/docs/requirements.txt +0 -0
  30. {ellipsect-3.4.3 → ellipsect-3.4.4}/example/README +0 -0
  31. {ellipsect-3.4.3 → ellipsect-3.4.4}/example/gal.fits +0 -0
  32. {ellipsect-3.4.3 → ellipsect-3.4.4}/example/galfit.feedme +0 -0
  33. {ellipsect-3.4.3 → ellipsect-3.4.4}/example/psf.fits +0 -0
  34. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A2029.ring.png +0 -0
  35. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.con-cub.png +0 -0
  36. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.cub.png +0 -0
  37. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.ell-cub.png +0 -0
  38. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.grid.png +0 -0
  39. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.log.png +0 -0
  40. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.pix.png +0 -0
  41. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.png +0 -0
  42. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.ranx1.png +0 -0
  43. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.ranx2.png +0 -0
  44. {ellipsect-3.4.3 → ellipsect-3.4.4}/img/A85.rany1.png +0 -0
  45. {ellipsect-3.4.3 → ellipsect-3.4.4}/pyproject.toml +0 -0
  46. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/EllipSect.egg-info/dependency_links.txt +0 -0
  47. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/EllipSect.egg-info/entry_points.txt +0 -0
  48. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/EllipSect.egg-info/not-zip-safe +0 -0
  49. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/EllipSect.egg-info/top_level.txt +0 -0
  50. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/ellipsectors.py +0 -0
  51. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/inout/__init__.py +0 -0
  52. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/inout/galfit.py +0 -0
  53. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/inout/gfits.py +0 -0
  54. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/inout/plots.py +0 -0
  55. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/inout/prt.py +0 -0
  56. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/lib/__init__.py +0 -0
  57. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/lib/clas.py +0 -0
  58. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/lib/libs.py +0 -0
  59. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/phot/__init__.py +0 -0
  60. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/phot/phot.py +0 -0
  61. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/phot/tidal.py +0 -0
  62. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/sectors/__init__.py +0 -0
  63. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/sectors/comp.py +0 -0
  64. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/sectors/ellip.py +0 -0
  65. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/sectors/num.py +0 -0
  66. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/sectors/sect.py +0 -0
  67. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/sky/__init__.py +0 -0
  68. {ellipsect-3.4.3 → ellipsect-3.4.4}/src/ellipsect/sky/sky.py +0 -0
  69. {ellipsect-3.4.3 → ellipsect-3.4.4}/tests/conftest.py +0 -0
  70. {ellipsect-3.4.3 → ellipsect-3.4.4}/tests/gal.fits +0 -0
  71. {ellipsect-3.4.3 → ellipsect-3.4.4}/tests/galfit.01 +0 -0
  72. {ellipsect-3.4.3 → ellipsect-3.4.4}/tests/imgblock.fits +0 -0
  73. {ellipsect-3.4.3 → ellipsect-3.4.4}/tests/psf.fits +0 -0
  74. {ellipsect-3.4.3 → ellipsect-3.4.4}/tests/test_ellipsect.py +0 -0
  75. {ellipsect-3.4.3 → ellipsect-3.4.4}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: EllipSect
3
- Version: 3.4.3
3
+ Version: 3.4.4
4
4
  Summary: A surface brightness analysis tool for GALFIT output.
5
5
  Home-page: https://github.com/canorve/EllipSect
6
6
  Author: Christopher Añorve
@@ -20,6 +20,7 @@ Classifier: Natural Language :: English
20
20
  Classifier: Topic :: Scientific/Engineering :: Astronomy
21
21
  Description-Content-Type: text/x-rst; charset=UTF-8
22
22
  License-File: LICENSE.txt
23
+ Requires-Dist: importlib-metadata; python_version < "3.8"
23
24
  Requires-Dist: importlib-metadata
24
25
  Requires-Dist: sphinx>=3.2.1
25
26
  Requires-Dist: numpy>=1.20.3
@@ -36,12 +37,25 @@ Requires-Dist: pytest-cov; extra == "testing"
36
37
  :depth: 3
37
38
  ..
38
39
 
39
- --------------
40
+
41
+ =============
42
+
43
+ .. image:: https://img.shields.io/pypi/v/EllipSect.svg
44
+ :alt: PyPI-Server
45
+ :target: https://pypi.org/project/EllipSect/
46
+
47
+ .. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
48
+ :alt: Project generated with PyScaffold
49
+ :target: https://pyscaffold.org/
50
+
51
+ .. image:: https://zenodo.org/badge/282223217.svg
52
+ :target: https://zenodo.org/badge/latestdoi/282223217
53
+
40
54
 
41
55
  **EllipSect**
42
56
  =============
43
57
 
44
- |DOI|
58
+
45
59
 
46
60
  EllipSect creates surface brightness profiles and extracts other
47
61
  photometric data from the GALFIT output peng et al. (2002).
@@ -207,9 +221,9 @@ The code is under the license of **GNU**
207
221
 
208
222
  If you find this code useful, please cite as:
209
223
 
210
- Añorve, Christopher, Ríos-López, Emmanuel, Reyes-Amador,
211
- Ulises, & López-Cruz, Omar. (2022). canorve/EllipSect:
212
- EllipSect v2.7.5 (v2.7.5). Zenodo. https://doi.org/10.5281/zenodo.6975592
224
+ Añorve, C., Reyes-Amador, U., Ríos-López, E., & López-Cruz, O. (2024).
225
+ canorve/EllipSect: v3.4.3 (v3.4.3). Zenodo. https://doi.org/10.5281/zenodo.13994369
226
+
213
227
 
214
228
 
215
229
  --------------
@@ -267,12 +281,10 @@ PYTHON, 409(4), 1379–1392. doi:10.1111/j.1365-2966.2010.17426.x \__\_
267
281
  **Other Stuff**
268
282
  ---------------
269
283
 
270
- Check my others GALFIT tools
284
+ Check my other project GALFITtools
271
285
  `here <https://github.com/canorve/GALFITools>`__
272
286
 
273
287
  --------------
274
288
 
275
- .. |DOI| image:: https://zenodo.org/badge/282223217.svg
276
- :target: https://zenodo.org/badge/latestdoi/282223217
277
289
  .. |A85a| image:: img/A85.cub.png
278
290
  .. |A85b| image:: img/A85.def.png
@@ -2,12 +2,25 @@
2
2
  :depth: 3
3
3
  ..
4
4
 
5
- --------------
5
+
6
+ =============
7
+
8
+ .. image:: https://img.shields.io/pypi/v/EllipSect.svg
9
+ :alt: PyPI-Server
10
+ :target: https://pypi.org/project/EllipSect/
11
+
12
+ .. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
13
+ :alt: Project generated with PyScaffold
14
+ :target: https://pyscaffold.org/
15
+
16
+ .. image:: https://zenodo.org/badge/282223217.svg
17
+ :target: https://zenodo.org/badge/latestdoi/282223217
18
+
6
19
 
7
20
  **EllipSect**
8
21
  =============
9
22
 
10
- |DOI|
23
+
11
24
 
12
25
  EllipSect creates surface brightness profiles and extracts other
13
26
  photometric data from the GALFIT output peng et al. (2002).
@@ -173,9 +186,9 @@ The code is under the license of **GNU**
173
186
 
174
187
  If you find this code useful, please cite as:
175
188
 
176
- Añorve, Christopher, Ríos-López, Emmanuel, Reyes-Amador,
177
- Ulises, & López-Cruz, Omar. (2022). canorve/EllipSect:
178
- EllipSect v2.7.5 (v2.7.5). Zenodo. https://doi.org/10.5281/zenodo.6975592
189
+ Añorve, C., Reyes-Amador, U., Ríos-López, E., & López-Cruz, O. (2024).
190
+ canorve/EllipSect: v3.4.3 (v3.4.3). Zenodo. https://doi.org/10.5281/zenodo.13994369
191
+
179
192
 
180
193
 
181
194
  --------------
@@ -233,12 +246,10 @@ PYTHON, 409(4), 1379–1392. doi:10.1111/j.1365-2966.2010.17426.x \__\_
233
246
  **Other Stuff**
234
247
  ---------------
235
248
 
236
- Check my others GALFIT tools
249
+ Check my other project GALFITtools
237
250
  `here <https://github.com/canorve/GALFITools>`__
238
251
 
239
252
  --------------
240
253
 
241
- .. |DOI| image:: https://zenodo.org/badge/282223217.svg
242
- :target: https://zenodo.org/badge/latestdoi/282223217
243
254
  .. |A85a| image:: img/A85.cub.png
244
255
  .. |A85b| image:: img/A85.def.png
@@ -88,7 +88,7 @@ master_doc = "index"
88
88
 
89
89
  # General information about the project.
90
90
  project = "EllipSect"
91
- copyright = "2022, Christopher Añorve"
91
+ copyright = "2024, Christopher Añorve"
92
92
 
93
93
  # The version info for the project you're documenting, acts as replacement for
94
94
  # |version| and |release|, also used in various other places throughout the
Binary file
@@ -31,6 +31,7 @@ package_dir =
31
31
 
32
32
  python_requires = >=3.8
33
33
  install_requires =
34
+ importlib-metadata; python_version<"3.8"
34
35
  importlib-metadata #; python_version<"3.8"
35
36
  sphinx>=3.2.1
36
37
  numpy>=1.20.3
@@ -79,7 +80,7 @@ exclude =
79
80
  docs/conf.py
80
81
 
81
82
  [pyscaffold]
82
- version = 4.2.1
83
+ version = 4.5
83
84
  package = ellipsect
84
85
  extensions =
85
86
  no_skeleton
@@ -2,7 +2,7 @@
2
2
  Setup file for EllipSect.
3
3
  Use setup.cfg to configure your project.
4
4
 
5
- This file was generated with PyScaffold 4.2.1.
5
+ This file was generated with PyScaffold 4.5.
6
6
  PyScaffold helps you to put up the scaffold of your new Python project.
7
7
  Learn more under: https://pyscaffold.org/
8
8
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: EllipSect
3
- Version: 3.4.3
3
+ Version: 3.4.4
4
4
  Summary: A surface brightness analysis tool for GALFIT output.
5
5
  Home-page: https://github.com/canorve/EllipSect
6
6
  Author: Christopher Añorve
@@ -20,6 +20,7 @@ Classifier: Natural Language :: English
20
20
  Classifier: Topic :: Scientific/Engineering :: Astronomy
21
21
  Description-Content-Type: text/x-rst; charset=UTF-8
22
22
  License-File: LICENSE.txt
23
+ Requires-Dist: importlib-metadata; python_version < "3.8"
23
24
  Requires-Dist: importlib-metadata
24
25
  Requires-Dist: sphinx>=3.2.1
25
26
  Requires-Dist: numpy>=1.20.3
@@ -36,12 +37,25 @@ Requires-Dist: pytest-cov; extra == "testing"
36
37
  :depth: 3
37
38
  ..
38
39
 
39
- --------------
40
+
41
+ =============
42
+
43
+ .. image:: https://img.shields.io/pypi/v/EllipSect.svg
44
+ :alt: PyPI-Server
45
+ :target: https://pypi.org/project/EllipSect/
46
+
47
+ .. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
48
+ :alt: Project generated with PyScaffold
49
+ :target: https://pyscaffold.org/
50
+
51
+ .. image:: https://zenodo.org/badge/282223217.svg
52
+ :target: https://zenodo.org/badge/latestdoi/282223217
53
+
40
54
 
41
55
  **EllipSect**
42
56
  =============
43
57
 
44
- |DOI|
58
+
45
59
 
46
60
  EllipSect creates surface brightness profiles and extracts other
47
61
  photometric data from the GALFIT output peng et al. (2002).
@@ -207,9 +221,9 @@ The code is under the license of **GNU**
207
221
 
208
222
  If you find this code useful, please cite as:
209
223
 
210
- Añorve, Christopher, Ríos-López, Emmanuel, Reyes-Amador,
211
- Ulises, & López-Cruz, Omar. (2022). canorve/EllipSect:
212
- EllipSect v2.7.5 (v2.7.5). Zenodo. https://doi.org/10.5281/zenodo.6975592
224
+ Añorve, C., Reyes-Amador, U., Ríos-López, E., & López-Cruz, O. (2024).
225
+ canorve/EllipSect: v3.4.3 (v3.4.3). Zenodo. https://doi.org/10.5281/zenodo.13994369
226
+
213
227
 
214
228
 
215
229
  --------------
@@ -267,12 +281,10 @@ PYTHON, 409(4), 1379–1392. doi:10.1111/j.1365-2966.2010.17426.x \__\_
267
281
  **Other Stuff**
268
282
  ---------------
269
283
 
270
- Check my others GALFIT tools
284
+ Check my other project GALFITtools
271
285
  `here <https://github.com/canorve/GALFITools>`__
272
286
 
273
287
  --------------
274
288
 
275
- .. |DOI| image:: https://zenodo.org/badge/282223217.svg
276
- :target: https://zenodo.org/badge/latestdoi/282223217
277
289
  .. |A85a| image:: img/A85.cub.png
278
290
  .. |A85b| image:: img/A85.def.png
@@ -24,7 +24,6 @@ example/gal.fits
24
24
  example/galfit.feedme
25
25
  example/psf.fits
26
26
  img/A2029.ring.png
27
- img/A85.comp.png
28
27
  img/A85.con-cub.png
29
28
  img/A85.cub.png
30
29
  img/A85.def.png
@@ -6,6 +6,9 @@ scipy>=1.5.2
6
6
  matplotlib>=3.5.2
7
7
  mgefit>=5.0.13
8
8
 
9
+ [:python_version < "3.8"]
10
+ importlib-metadata
11
+
9
12
  [testing]
10
13
  setuptools
11
14
  pytest
@@ -1,8 +1,5 @@
1
1
  import sys
2
2
 
3
- from ellipsect.inout.read import ArgParsing
4
- from ellipsect.sectors.sect import SectorsGalfit
5
-
6
3
  if sys.version_info[:2] >= (3, 8):
7
4
  # TODO: Import directly (no need for conditional) when `python_requires = >= 3.8`
8
5
  from importlib.metadata import PackageNotFoundError, version # pragma: no cover
@@ -167,6 +167,20 @@ def ReadGALFITout(ellconf,galhead,galcomps):
167
167
 
168
168
 
169
169
  galcomps = SelectGal(galcomps,ellconf.distmax,ellconf.numcomp)
170
+
171
+ #removes blank files created by galfit
172
+ if os.path.isfile("none"):
173
+ print("Blank file none detected")
174
+ print("Removing...")
175
+ os.remove("none")
176
+ print("Removed")
177
+
178
+
179
+ if os.path.isfile("None"):
180
+ print("Blank file None detected")
181
+ print("Removing...")
182
+ os.remove("None")
183
+ print("Removed")
170
184
 
171
185
 
172
186
  errmsg="file {} does not exist".format(galhead.inputimage)
@@ -71,7 +71,7 @@ def NED(ellconf):
71
71
  #https://ned.ipac.caltech.edu/cgi-bin/nph-objsearch?extend=no&of=xml_all&objname=ngc+6166&hconst=67.8&omegam=0.308&omegav=0.692
72
72
 
73
73
 
74
- wgetcmd = 'wget -O {} "{}{}&hconst={:.1f}\&omegam={:.3f}\&omegav={:.3f}"'.format(
74
+ wgetcmd = 'wget -O {} "{}{}&hconst={:.1f}\\&omegam={:.3f}\\&omegav={:.3f}"'.format(
75
75
  filened,nedweb,objname,ellconf.hconst,ellconf.omegam,ellconf.omegav)
76
76
 
77
77
  print("Running: ",wgetcmd)
@@ -94,7 +94,7 @@ def NED(ellconf):
94
94
 
95
95
 
96
96
  print("reading ",filened)
97
- votable=parse(filened,pedantic=False)
97
+ votable=parse(filened,verify='ignore')
98
98
 
99
99
  try:
100
100
  table=votable.get_table_by_index(0)
Binary file
Binary file
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
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