EllipSect 3.4.3__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.
- ellipsect-3.4.5/CITATION.cff +67 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/PKG-INFO +22 -10
- {ellipsect-3.4.3 → ellipsect-3.4.5}/README.rst +18 -8
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/conf.py +1 -1
- ellipsect-3.4.5/img/A85.def.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/setup.cfg +2 -1
- {ellipsect-3.4.3 → ellipsect-3.4.5}/setup.py +1 -1
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/EllipSect.egg-info/PKG-INFO +22 -10
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/EllipSect.egg-info/SOURCES.txt +1 -1
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/EllipSect.egg-info/requires.txt +3 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/__init__.py +0 -3
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/inout/plots.py +11 -6
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/inout/read.py +14 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/phot/ned.py +2 -2
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/sectors/ellip.py +11 -1
- ellipsect-3.4.3/img/A85.comp.png +0 -0
- ellipsect-3.4.3/img/A85.def.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/AUTHORS.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/CHANGELOG.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/CONTRIBUTING.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/LICENSE.txt +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/Makefile +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/_static/.gitignore +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/api.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/authors.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/changelog.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/contributing.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/howto.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/index.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/license.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/readme.rst +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/docs/requirements.txt +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/example/README +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/example/gal.fits +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/example/galfit.feedme +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/example/psf.fits +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A2029.ring.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.con-cub.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.cub.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.ell-cub.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.grid.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.log.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.pix.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.ranx1.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.ranx2.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/img/A85.rany1.png +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/pyproject.toml +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/EllipSect.egg-info/dependency_links.txt +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/EllipSect.egg-info/entry_points.txt +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/EllipSect.egg-info/not-zip-safe +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/EllipSect.egg-info/top_level.txt +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/ellipsectors.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/inout/__init__.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/inout/galfit.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/inout/gfits.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/inout/prt.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/lib/__init__.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/lib/clas.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/lib/libs.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/phot/__init__.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/phot/phot.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/phot/tidal.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/sectors/__init__.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/sectors/comp.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/sectors/num.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/sectors/sect.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/sky/__init__.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/src/ellipsect/sky/sky.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/tests/conftest.py +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/tests/gal.fits +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/tests/galfit.01 +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/tests/imgblock.fits +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/tests/psf.fits +0 -0
- {ellipsect-3.4.3 → ellipsect-3.4.5}/tests/test_ellipsect.py +0 -0
- {ellipsect-3.4.3 → 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
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: EllipSect
|
|
3
|
-
Version: 3.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
|
|
@@ -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
|
|
@@ -31,17 +32,31 @@ Provides-Extra: testing
|
|
|
31
32
|
Requires-Dist: setuptools; extra == "testing"
|
|
32
33
|
Requires-Dist: pytest; extra == "testing"
|
|
33
34
|
Requires-Dist: pytest-cov; extra == "testing"
|
|
35
|
+
Dynamic: license-file
|
|
34
36
|
|
|
35
37
|
.. contents::
|
|
36
38
|
:depth: 3
|
|
37
39
|
..
|
|
38
40
|
|
|
39
|
-
|
|
41
|
+
|
|
42
|
+
=============
|
|
43
|
+
|
|
44
|
+
.. image:: https://img.shields.io/pypi/v/EllipSect.svg
|
|
45
|
+
:alt: PyPI-Server
|
|
46
|
+
:target: https://pypi.org/project/EllipSect/
|
|
47
|
+
|
|
48
|
+
.. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
|
|
49
|
+
:alt: Project generated with PyScaffold
|
|
50
|
+
:target: https://pyscaffold.org/
|
|
51
|
+
|
|
52
|
+
.. image:: https://zenodo.org/badge/282223217.svg
|
|
53
|
+
:target: https://zenodo.org/badge/latestdoi/282223217
|
|
54
|
+
|
|
40
55
|
|
|
41
56
|
**EllipSect**
|
|
42
57
|
=============
|
|
43
58
|
|
|
44
|
-
|
|
59
|
+
|
|
45
60
|
|
|
46
61
|
EllipSect creates surface brightness profiles and extracts other
|
|
47
62
|
photometric data from the GALFIT output peng et al. (2002).
|
|
@@ -207,10 +222,9 @@ The code is under the license of **GNU**
|
|
|
207
222
|
|
|
208
223
|
If you find this code useful, please cite as:
|
|
209
224
|
|
|
210
|
-
Añorve,
|
|
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
|
|
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
|
|
213
226
|
|
|
227
|
+
Zenodo repository: https://doi.org/10.5281/zenodo.14597845
|
|
214
228
|
|
|
215
229
|
--------------
|
|
216
230
|
|
|
@@ -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
|
|
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
|
-
|
|
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,10 +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,
|
|
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., 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
|
|
179
190
|
|
|
191
|
+
Zenodo repository: https://doi.org/10.5281/zenodo.14597845
|
|
180
192
|
|
|
181
193
|
--------------
|
|
182
194
|
|
|
@@ -233,12 +245,10 @@ PYTHON, 409(4), 1379–1392. doi:10.1111/j.1365-2966.2010.17426.x \__\_
|
|
|
233
245
|
**Other Stuff**
|
|
234
246
|
---------------
|
|
235
247
|
|
|
236
|
-
Check my
|
|
248
|
+
Check my other project GALFITtools
|
|
237
249
|
`here <https://github.com/canorve/GALFITools>`__
|
|
238
250
|
|
|
239
251
|
--------------
|
|
240
252
|
|
|
241
|
-
.. |DOI| image:: https://zenodo.org/badge/282223217.svg
|
|
242
|
-
:target: https://zenodo.org/badge/latestdoi/282223217
|
|
243
253
|
.. |A85a| image:: img/A85.cub.png
|
|
244
254
|
.. |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 = "
|
|
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.
|
|
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.
|
|
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
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: EllipSect
|
|
3
|
-
Version: 3.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
|
|
@@ -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
|
|
@@ -31,17 +32,31 @@ Provides-Extra: testing
|
|
|
31
32
|
Requires-Dist: setuptools; extra == "testing"
|
|
32
33
|
Requires-Dist: pytest; extra == "testing"
|
|
33
34
|
Requires-Dist: pytest-cov; extra == "testing"
|
|
35
|
+
Dynamic: license-file
|
|
34
36
|
|
|
35
37
|
.. contents::
|
|
36
38
|
:depth: 3
|
|
37
39
|
..
|
|
38
40
|
|
|
39
|
-
|
|
41
|
+
|
|
42
|
+
=============
|
|
43
|
+
|
|
44
|
+
.. image:: https://img.shields.io/pypi/v/EllipSect.svg
|
|
45
|
+
:alt: PyPI-Server
|
|
46
|
+
:target: https://pypi.org/project/EllipSect/
|
|
47
|
+
|
|
48
|
+
.. image:: https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold
|
|
49
|
+
:alt: Project generated with PyScaffold
|
|
50
|
+
:target: https://pyscaffold.org/
|
|
51
|
+
|
|
52
|
+
.. image:: https://zenodo.org/badge/282223217.svg
|
|
53
|
+
:target: https://zenodo.org/badge/latestdoi/282223217
|
|
54
|
+
|
|
40
55
|
|
|
41
56
|
**EllipSect**
|
|
42
57
|
=============
|
|
43
58
|
|
|
44
|
-
|
|
59
|
+
|
|
45
60
|
|
|
46
61
|
EllipSect creates surface brightness profiles and extracts other
|
|
47
62
|
photometric data from the GALFIT output peng et al. (2002).
|
|
@@ -207,10 +222,9 @@ The code is under the license of **GNU**
|
|
|
207
222
|
|
|
208
223
|
If you find this code useful, please cite as:
|
|
209
224
|
|
|
210
|
-
Añorve,
|
|
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
|
|
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
|
|
213
226
|
|
|
227
|
+
Zenodo repository: https://doi.org/10.5281/zenodo.14597845
|
|
214
228
|
|
|
215
229
|
--------------
|
|
216
230
|
|
|
@@ -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
|
|
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
|
|
@@ -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
|
|
@@ -24,7 +25,6 @@ example/gal.fits
|
|
|
24
25
|
example/galfit.feedme
|
|
25
26
|
example/psf.fits
|
|
26
27
|
img/A2029.ring.png
|
|
27
|
-
img/A85.comp.png
|
|
28
28
|
img/A85.con-cub.png
|
|
29
29
|
img/A85.cub.png
|
|
30
30
|
img/A85.def.png
|
|
@@ -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
|
|
@@ -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(
|
|
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
|
|
|
@@ -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}
|
|
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,
|
|
97
|
+
votable=parse(filened,verify='ignore')
|
|
98
98
|
|
|
99
99
|
try:
|
|
100
100
|
table=votable.get_table_by_index(0)
|
|
@@ -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
|
|
ellipsect-3.4.3/img/A85.comp.png
DELETED
|
Binary file
|
ellipsect-3.4.3/img/A85.def.png
DELETED
|
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
|
|
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
|