EllipSect 3.4.2__tar.gz → 3.4.3__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.2 → ellipsect-3.4.3}/PKG-INFO +1 -1
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/EllipSect.egg-info/PKG-INFO +1 -1
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/inout/plots.py +5 -5
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/sectors/comp.py +5 -5
- {ellipsect-3.4.2 → ellipsect-3.4.3}/AUTHORS.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/CHANGELOG.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/CONTRIBUTING.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/LICENSE.txt +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/README.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/Makefile +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/_static/.gitignore +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/api.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/authors.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/changelog.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/conf.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/contributing.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/howto.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/index.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/license.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/readme.rst +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/docs/requirements.txt +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/example/README +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/example/gal.fits +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/example/galfit.feedme +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/example/psf.fits +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A2029.ring.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.comp.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.con-cub.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.cub.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.def.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.ell-cub.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.grid.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.log.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.pix.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.ranx1.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.ranx2.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/img/A85.rany1.png +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/pyproject.toml +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/setup.cfg +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/setup.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/EllipSect.egg-info/SOURCES.txt +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/EllipSect.egg-info/dependency_links.txt +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/EllipSect.egg-info/entry_points.txt +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/EllipSect.egg-info/not-zip-safe +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/EllipSect.egg-info/requires.txt +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/EllipSect.egg-info/top_level.txt +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/__init__.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/ellipsectors.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/inout/__init__.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/inout/galfit.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/inout/gfits.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/inout/prt.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/inout/read.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/lib/__init__.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/lib/clas.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/lib/libs.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/phot/__init__.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/phot/ned.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/phot/phot.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/phot/tidal.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/sectors/__init__.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/sectors/ellip.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/sectors/num.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/sectors/sect.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/sky/__init__.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/src/ellipsect/sky/sky.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/tests/conftest.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/tests/gal.fits +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/tests/galfit.01 +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/tests/imgblock.fits +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/tests/psf.fits +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/tests/test_ellipsect.py +0 -0
- {ellipsect-3.4.2 → ellipsect-3.4.3}/tox.ini +0 -0
|
@@ -287,12 +287,13 @@ def Comp2Ellip(galhead, galcomps, N, lw=1):
|
|
|
287
287
|
ellipses = []
|
|
288
288
|
|
|
289
289
|
#color value
|
|
290
|
-
values =
|
|
290
|
+
values = np.arange(N)
|
|
291
291
|
jet = cm = plt.get_cmap('jet')
|
|
292
292
|
cNorm = colors.Normalize(vmin=0, vmax=values[-1])
|
|
293
293
|
scalarMap = cmx.ScalarMappable(norm=cNorm, cmap=jet)
|
|
294
294
|
|
|
295
|
-
|
|
295
|
+
|
|
296
|
+
idxcol=0
|
|
296
297
|
for idx, item in enumerate(galcomps.N):
|
|
297
298
|
|
|
298
299
|
if galcomps.Active[idx] == True:
|
|
@@ -306,8 +307,7 @@ def Comp2Ellip(galhead, galcomps, N, lw=1):
|
|
|
306
307
|
w = galcomps.Rad[idx]
|
|
307
308
|
h = galcomps.Rad[idx]*galcomps.AxRat[idx]
|
|
308
309
|
|
|
309
|
-
|
|
310
|
-
colorVal = scalarMap.to_rgba(values[idx])
|
|
310
|
+
colorVal = scalarMap.to_rgba(values[idxcol])
|
|
311
311
|
|
|
312
312
|
|
|
313
313
|
ell=Ellipse((xc, yc), width = w, height = h, angle = pa,
|
|
@@ -316,7 +316,7 @@ def Comp2Ellip(galhead, galcomps, N, lw=1):
|
|
|
316
316
|
linewidth = lw)
|
|
317
317
|
|
|
318
318
|
ellipses.append(ell)
|
|
319
|
-
|
|
319
|
+
idxcol+=1
|
|
320
320
|
|
|
321
321
|
return ellipses
|
|
322
322
|
|
|
@@ -28,7 +28,7 @@ def SubComp(ellconf, galhead, galcomps, sectcomps, axsec, n_sectors=19):
|
|
|
28
28
|
N=len(galcomps.N)
|
|
29
29
|
|
|
30
30
|
#color value
|
|
31
|
-
values =
|
|
31
|
+
values = np.arange(N)
|
|
32
32
|
jet = cm = plt.get_cmap('jet')
|
|
33
33
|
cNorm = colors.Normalize(vmin=0, vmax=values[-1])
|
|
34
34
|
scalarMap = cmx.ScalarMappable(norm=cNorm, cmap=jet)
|
|
@@ -37,21 +37,21 @@ def SubComp(ellconf, galhead, galcomps, sectcomps, axsec, n_sectors=19):
|
|
|
37
37
|
ab=ellconf.qarg
|
|
38
38
|
n=0
|
|
39
39
|
|
|
40
|
+
idxcol=0
|
|
40
41
|
maskcomp = galcomps.Active == True
|
|
41
42
|
while(n<N):
|
|
42
43
|
|
|
43
|
-
|
|
44
44
|
if galcomps.Active[n] == True:
|
|
45
45
|
namec = galcomps.NameComp[n] #check if name coincide, it must be
|
|
46
46
|
|
|
47
|
-
scmp = sectcomps[
|
|
47
|
+
scmp = sectcomps[idxcol]
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
###################################################
|
|
51
51
|
|
|
52
52
|
xradq, ysbq, ysberrq = ellip.sect2xy(scmp, ellconf, galhead, n_sectors)
|
|
53
53
|
|
|
54
|
-
colorVal = scalarMap.to_rgba(values[
|
|
54
|
+
colorVal = scalarMap.to_rgba(values[idxcol])
|
|
55
55
|
|
|
56
56
|
PlotSub(xradq, ysbq, n, axsec, namec, colorVal)
|
|
57
57
|
|
|
@@ -62,7 +62,7 @@ def SubComp(ellconf, galhead, galcomps, sectcomps, axsec, n_sectors=19):
|
|
|
62
62
|
|
|
63
63
|
PrintEllFilesComps(ellconf, galhead, namec, ncomp, xradq, ysbq, ysberrq)
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
idxcol+=1
|
|
66
66
|
n=n+1
|
|
67
67
|
|
|
68
68
|
|
|
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
|
|
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
|