size attribute from galaxies returns an integer
Bug #1323893 reported by
nefinia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ORCA |
Incomplete
|
Undecided
|
David Murphy |
Bug Description
Size attribute from galaxies returns an integer, so most probably size=0
Changed in orca: | |
assignee: | nobody → David Murphy (dnamurphy) |
To post a comment you must log in.
galaxy objects do not have a .size variable:
In [3]: g = cl.galaxies[0]
In [4]: g.size ------- ------- ------- ------- ------- ------- ------- ------- ------- ----- input-4- b41815e8ddad> in <module>()
-------
AttributeError Traceback (most recent call last)
<ipython-
----> 1 g.size
AttributeError: galaxy instance has no attribute 'size'
...clusters however do:
In [5]: cl = det.clusters[0]
In [6]: cl.size
Out[6]: 0
But size isn't really defined or used. It could be used to represent r200 for example, but it is not implemented - therefore it could be removed until needed (by updating the class definition of a cluster object).
For angular size of a cluster, use:
In [7]: cl.extent 7658163
Out[7]: 0.0008592951014
Or re-calculate it with:
In [8]: cl.max_radius() 7658163
Out[8]: 0.0008592951014