EllipSect 3.4.4__tar.gz → 3.4.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.
Files changed (74) hide show
  1. ellipsect-3.4.5/CITATION.cff +67 -0
  2. {ellipsect-3.4.4 → ellipsect-3.4.5}/PKG-INFO +5 -5
  3. {ellipsect-3.4.4 → ellipsect-3.4.5}/README.rst +2 -3
  4. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/EllipSect.egg-info/PKG-INFO +5 -5
  5. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/EllipSect.egg-info/SOURCES.txt +1 -0
  6. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/inout/plots.py +11 -6
  7. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/sectors/ellip.py +11 -1
  8. {ellipsect-3.4.4 → ellipsect-3.4.5}/AUTHORS.rst +0 -0
  9. {ellipsect-3.4.4 → ellipsect-3.4.5}/CHANGELOG.rst +0 -0
  10. {ellipsect-3.4.4 → ellipsect-3.4.5}/CONTRIBUTING.rst +0 -0
  11. {ellipsect-3.4.4 → ellipsect-3.4.5}/LICENSE.txt +0 -0
  12. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/Makefile +0 -0
  13. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/_static/.gitignore +0 -0
  14. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/api.rst +0 -0
  15. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/authors.rst +0 -0
  16. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/changelog.rst +0 -0
  17. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/conf.py +0 -0
  18. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/contributing.rst +0 -0
  19. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/howto.rst +0 -0
  20. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/index.rst +0 -0
  21. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/license.rst +0 -0
  22. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/readme.rst +0 -0
  23. {ellipsect-3.4.4 → ellipsect-3.4.5}/docs/requirements.txt +0 -0
  24. {ellipsect-3.4.4 → ellipsect-3.4.5}/example/README +0 -0
  25. {ellipsect-3.4.4 → ellipsect-3.4.5}/example/gal.fits +0 -0
  26. {ellipsect-3.4.4 → ellipsect-3.4.5}/example/galfit.feedme +0 -0
  27. {ellipsect-3.4.4 → ellipsect-3.4.5}/example/psf.fits +0 -0
  28. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A2029.ring.png +0 -0
  29. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.con-cub.png +0 -0
  30. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.cub.png +0 -0
  31. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.def.png +0 -0
  32. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.ell-cub.png +0 -0
  33. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.grid.png +0 -0
  34. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.log.png +0 -0
  35. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.pix.png +0 -0
  36. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.png +0 -0
  37. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.ranx1.png +0 -0
  38. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.ranx2.png +0 -0
  39. {ellipsect-3.4.4 → ellipsect-3.4.5}/img/A85.rany1.png +0 -0
  40. {ellipsect-3.4.4 → ellipsect-3.4.5}/pyproject.toml +0 -0
  41. {ellipsect-3.4.4 → ellipsect-3.4.5}/setup.cfg +0 -0
  42. {ellipsect-3.4.4 → ellipsect-3.4.5}/setup.py +0 -0
  43. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/EllipSect.egg-info/dependency_links.txt +0 -0
  44. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/EllipSect.egg-info/entry_points.txt +0 -0
  45. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/EllipSect.egg-info/not-zip-safe +0 -0
  46. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/EllipSect.egg-info/requires.txt +0 -0
  47. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/EllipSect.egg-info/top_level.txt +0 -0
  48. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/__init__.py +0 -0
  49. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/ellipsectors.py +0 -0
  50. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/inout/__init__.py +0 -0
  51. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/inout/galfit.py +0 -0
  52. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/inout/gfits.py +0 -0
  53. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/inout/prt.py +0 -0
  54. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/inout/read.py +0 -0
  55. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/lib/__init__.py +0 -0
  56. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/lib/clas.py +0 -0
  57. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/lib/libs.py +0 -0
  58. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/phot/__init__.py +0 -0
  59. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/phot/ned.py +0 -0
  60. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/phot/phot.py +0 -0
  61. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/phot/tidal.py +0 -0
  62. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/sectors/__init__.py +0 -0
  63. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/sectors/comp.py +0 -0
  64. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/sectors/num.py +0 -0
  65. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/sectors/sect.py +0 -0
  66. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/sky/__init__.py +0 -0
  67. {ellipsect-3.4.4 → ellipsect-3.4.5}/src/ellipsect/sky/sky.py +0 -0
  68. {ellipsect-3.4.4 → ellipsect-3.4.5}/tests/conftest.py +0 -0
  69. {ellipsect-3.4.4 → ellipsect-3.4.5}/tests/gal.fits +0 -0
  70. {ellipsect-3.4.4 → ellipsect-3.4.5}/tests/galfit.01 +0 -0
  71. {ellipsect-3.4.4 → ellipsect-3.4.5}/tests/imgblock.fits +0 -0
  72. {ellipsect-3.4.4 → ellipsect-3.4.5}/tests/psf.fits +0 -0
  73. {ellipsect-3.4.4 → ellipsect-3.4.5}/tests/test_ellipsect.py +0 -0
  74. {ellipsect-3.4.4 → ellipsect-3.4.5}/tox.ini +0 -0
@@ -0,0 +1,67 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use this software, please cite the associated paper in the preferred-citation section."
3
+ title: "EllipSect: A surface brightness analysis tool for GALFIT output"
4
+ type: software
5
+ version: "v3.4.4"
6
+ date-released: "2025-01-04"
7
+ license: "GPL-3.0-only"
8
+ doi: "10.5281/zenodo.14597845"
9
+ url: "https://doi.org/10.5281/zenodo.14597845"
10
+ repository-code: "https://github.com/canorve/EllipSect"
11
+ abstract: "A surface brightness analysis and measurement tool for GALFIT output."
12
+ keywords:
13
+ - astronomy
14
+ - astrophysics
15
+ - photometry
16
+ - galaxies
17
+ - surface brightness
18
+ - GALFIT
19
+
20
+ authors:
21
+ - given-names: "Christopher"
22
+ family-names: "Añorve"
23
+ orcid: "https://orcid.org/0000-0002-3721-8869"
24
+ affiliation: "FACITE"
25
+ - given-names: "Ulises"
26
+ family-names: "Reyes-Amador"
27
+ orcid: "https://orcid.org/0000-0001-7707-7389"
28
+ affiliation: "IRyA-UNAM"
29
+ - given-names: "Diego"
30
+ family-names: "de Ramon Toledo"
31
+ affiliation: "FCC-BUAP"
32
+ - given-names: "Emmanuel"
33
+ family-names: "Ríos-López"
34
+ orcid: "https://orcid.org/0000-0002-4436-221X"
35
+ affiliation: "National Institute of Astrophysics, Optics and Electronics"
36
+ - given-names: "Omar"
37
+ family-names: "López-Cruz"
38
+ orcid: "https://orcid.org/0000-0002-1381-7437"
39
+ affiliation: "National Institute of Astrophysics, Optics and Electronics"
40
+
41
+ preferred-citation:
42
+ type: article
43
+ title: "EllipSect: A Surface Brightness Analysis Tool for GALFIT 3"
44
+ doi: "10.22201/ia.30618649e.2026.62.01.7524"
45
+ url: "https://astronomia.unam.mx/journals/rmxaa/article/view/10.22201.ia.30618649e.2026.62.01.7524"
46
+ journal: "Revista Mexicana de Astronomía y Astrofísica"
47
+ year: 2026
48
+ volume: 62
49
+ issue: 1
50
+ pages: "76-86"
51
+ month: 3
52
+ authors:
53
+ - given-names: "Christopher"
54
+ family-names: "Añorve"
55
+ orcid: "https://orcid.org/0000-0002-3721-8869"
56
+ - given-names: "Ulises"
57
+ family-names: "Reyes-Amador"
58
+ orcid: "https://orcid.org/0000-0001-7707-7389"
59
+ - given-names: "Diego"
60
+ family-names: "de Ramon Toledo"
61
+ - given-names: "Emmanuel"
62
+ family-names: "Ríos-López"
63
+ orcid: "https://orcid.org/0000-0002-4436-221X"
64
+ - given-names: "Omar"
65
+ family-names: "López-Cruz"
66
+ orcid: "https://orcid.org/0000-0002-1381-7437"
67
+
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: EllipSect
3
- Version: 3.4.4
3
+ Version: 3.4.5
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
@@ -32,6 +32,7 @@ Provides-Extra: testing
32
32
  Requires-Dist: setuptools; extra == "testing"
33
33
  Requires-Dist: pytest; extra == "testing"
34
34
  Requires-Dist: pytest-cov; extra == "testing"
35
+ Dynamic: license-file
35
36
 
36
37
  .. contents::
37
38
  :depth: 3
@@ -221,10 +222,9 @@ The code is under the license of **GNU**
221
222
 
222
223
  If you find this code useful, please cite as:
223
224
 
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
-
225
+ Añorve, C., Reyes-Amador, U., de Ramon Toledo, D., Ríos-López, E., & López-Cruz, O. (2026). EllipSect: A Surface Brightness Analysis Tool for GALFIT 3. Revista Mexicana de Astronomía y Astrofísica, 62(1). https://doi.org/10.22201/ia.30618649e.2026.62.01.7524
227
226
 
227
+ Zenodo repository: https://doi.org/10.5281/zenodo.14597845
228
228
 
229
229
  --------------
230
230
 
@@ -186,10 +186,9 @@ The code is under the license of **GNU**
186
186
 
187
187
  If you find this code useful, please cite as:
188
188
 
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
-
189
+ Añorve, C., Reyes-Amador, U., de Ramon Toledo, D., Ríos-López, E., & López-Cruz, O. (2026). EllipSect: A Surface Brightness Analysis Tool for GALFIT 3. Revista Mexicana de Astronomía y Astrofísica, 62(1). https://doi.org/10.22201/ia.30618649e.2026.62.01.7524
192
190
 
191
+ Zenodo repository: https://doi.org/10.5281/zenodo.14597845
193
192
 
194
193
  --------------
195
194
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: EllipSect
3
- Version: 3.4.4
3
+ Version: 3.4.5
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
@@ -32,6 +32,7 @@ Provides-Extra: testing
32
32
  Requires-Dist: setuptools; extra == "testing"
33
33
  Requires-Dist: pytest; extra == "testing"
34
34
  Requires-Dist: pytest-cov; extra == "testing"
35
+ Dynamic: license-file
35
36
 
36
37
  .. contents::
37
38
  :depth: 3
@@ -221,10 +222,9 @@ The code is under the license of **GNU**
221
222
 
222
223
  If you find this code useful, please cite as:
223
224
 
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
-
225
+ Añorve, C., Reyes-Amador, U., de Ramon Toledo, D., Ríos-López, E., & López-Cruz, O. (2026). EllipSect: A Surface Brightness Analysis Tool for GALFIT 3. Revista Mexicana de Astronomía y Astrofísica, 62(1). https://doi.org/10.22201/ia.30618649e.2026.62.01.7524
227
226
 
227
+ Zenodo repository: https://doi.org/10.5281/zenodo.14597845
228
228
 
229
229
  --------------
230
230
 
@@ -1,5 +1,6 @@
1
1
  AUTHORS.rst
2
2
  CHANGELOG.rst
3
+ CITATION.cff
3
4
  CONTRIBUTING.rst
4
5
  LICENSE.txt
5
6
  README.rst
@@ -33,13 +33,14 @@ def PlotSB(xradq, ysbq, ysberrq, xradm, ysbm, ysberrm, ellconf, scale):
33
33
  plt.close('all')
34
34
 
35
35
 
36
-
36
+ fig = plt.figure() # optionally: figsize=(6.4, 4.8)
37
37
  #ULISES begin
38
38
  #fig, (axsec, axred) = plt.subplots(2, sharex=True, sharey=False)
39
- gs = gridspec.GridSpec(2, 1,height_ratios=[3,1])
39
+ gs = gridspec.GridSpec(2, 1,height_ratios=[3,1],hspace=0.07)
40
40
  gs.update(hspace=0.07)
41
41
  #ULISES end
42
42
 
43
+ fig.subplots_adjust(bottom=0.16, left=0.20, top=0.85) # try 0.14–0.22
43
44
 
44
45
  if ellconf.flagranx == True:
45
46
  (xmin,xmax)=ellconf.ranx[0], ellconf.ranx[1]
@@ -58,9 +59,9 @@ def PlotSB(xradq, ysbq, ysberrq, xradm, ysbm, ysberrm, ellconf, scale):
58
59
 
59
60
 
60
61
  # ULISES begin
61
- axsec = plt.subplot(gs[0])
62
-
63
- axsec.set_ylabel(r"Surface Brightness $(mag\; arcsec^{-2})$")
62
+ #axsec = plt.subplot(gs[0])
63
+ axsec = fig.add_subplot(gs[0])
64
+ axsec.set_ylabel("Surface Brightness\n(mag arcsec$^{-2})$",labelpad=12)
64
65
  # ULISES end
65
66
 
66
67
  axsec.errorbar(xradq, ysbq, yerr=ysberrq,fmt='o-',capsize=2,color='red',markersize=0.7,label="galaxy",linewidth=2)
@@ -148,7 +149,9 @@ def PlotSB(xradq, ysbq, ysberrq, xradm, ysbm, ysberrm, ellconf, scale):
148
149
  err = ((ysbm/ysbq**2)**2) * ysberrq**2 + ((1/ysbq)**2) * ysberrm**2
149
150
  err = np.sqrt(err)*100
150
151
 
151
- axred = plt.subplot(gs[1])
152
+ #axred = plt.subplot(gs[1])
153
+ axred = fig.add_subplot(gs[1], sharex=axsec)
154
+
152
155
 
153
156
  if len(xradq) != len(residual):
154
157
  axred.errorbar(xradm, residual, yerr=err,fmt='.',capsize=2,color='k')
@@ -492,6 +495,8 @@ def PlotMul(ellconf, galhead, galcomps, mgegal, mgemod, mgecom):
492
495
 
493
496
  fig, axsec = plt.subplots(nrows, 2, sharex=True, sharey='col', num=fignum)
494
497
  fig.subplots_adjust(hspace=0.01)
498
+ fig.subplots_adjust(left=0.16)
499
+ fig.subplots_adjust(bottom=0.15)
495
500
 
496
501
 
497
502
 
@@ -63,7 +63,17 @@ def EllipSectors(ellconf, galhead, galcomps, sectgalax, sectmodel, sectcomps, n_
63
63
  xradq, ysbq, n = SubComp(ellconf, galhead, galcomps, sectcomps, axsec, n_sectors = n_sectors)
64
64
 
65
65
 
66
- axsec.legend(loc=1)
66
+ #axsec.legend(loc=1)
67
+
68
+ axsec.legend(
69
+ loc="upper right",
70
+ fontsize=8.5,
71
+ framealpha=0.8, # semi-transparent
72
+ borderpad=0.3,
73
+ labelspacing=0.28,
74
+ handlelength=1.8,
75
+ )
76
+
67
77
 
68
78
  return limx,limy
69
79
 
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
File without changes
File without changes
File without changes
File without changes