Cham,
I had asked Vincent to look over my celx scripts in the light of recent changes that he had implemented into CVS. So indeed there were some modifications in the scripts that may be the cause of your problems.
Since Chris wanted to have a deadline for 1.5.0pre3 input by last Sunday, I did not yet commit my scripts. If it is wanted to commit them nevertheless now, let me know. With Vincent's mods, both galaxy marking scripts work fine for me.
Perhaps you were unaware that the globular cluster M54 is known to be part of Sagittarius dSph. See e.g. here:
http://seds.org/messier/more/sagdeg.html
The boundary of who belongs to the local group is not entirely sharp. I took a scientific listing by an expert on the local group as a guide. In some cases there are also uncertain candidates. See further below.
Here are the updated scripts for download:
http://www.celestiaproject.net/~t00fri/images/z-dist.celx.zip
http://www.celestiaproject.net/~t00fri/images/mark-lg.celx.zip
Bye Fridger
Towards my final Galaxy Upgrade for 1.5.0 (-> CVS commit)
But then what are the scripts which are supposed to work ? Send me the latest one so I could test them. I need both the z-dist and lg celx scripts.
By the way, I'm comparing the LG members with the members listed here :
http://seds.lpl.arizona.edu/~spider/spider/LG/lg.html
They are giving about 5 more members to the LG.
And what do you think about IC 3658 ?
And what about M54 and Sagittarius dSph ? The same object ?
By the way, I'm comparing the LG members with the members listed here :
http://seds.lpl.arizona.edu/~spider/spider/LG/lg.html
They are giving about 5 more members to the LG.
And what do you think about IC 3658 ?
And what about M54 and Sagittarius dSph ? The same object ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authort00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Find below the reference pages by Mike Irwin,
http://www.ast.cam.ac.uk/~mike/
who is a renowned researcher on the LG. Indeed Ic3568 seems not be part of his list. It must have been on an early other list.
http://www.astro.uu.se/~ns/local_group.html
Bye Fridger
http://www.ast.cam.ac.uk/~mike/
who is a renowned researcher on the LG. Indeed Ic3568 seems not be part of his list. It must have been on an early other list.
http://www.astro.uu.se/~ns/local_group.html
Bye Fridger
There's another very usefull script which is nolonger working. The script below (from Vincent) was marking all galaxies, with colors according to the galactic type (spirals, elliptical, etc). What should be the new version ?
Code: Select all
function mark_galaxy_types()
for dso in celestia:dso() do
if dso:getinfo().type == "galaxy" then
hubbleType = dso:getinfo().hubbleType
if string.find(hubbleType, "E") then
dso:mark( "red", "disk", 1, 0.7 )
elseif string.find(hubbleType, "Irr") then
dso:mark( "yellow", "disk", 1, 0.7 )
elseif string.find(hubbleType, "SB") then
dso:mark( "green", "disk", 1, 0.7 )
elseif string.find(hubbleType, "S") then
dso:mark( "blue", "disk", 1, 0.7 )
end
end
end
end
celestia:setrenderflags { markers = true }
mark_galaxy_types()
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
Cham wrote:There's another very usefull script which is nolonger working. The script below (from Vincent) was marking all galaxies, with colors according to the galactic type (spirals, elliptical, etc). What should be the new version ?Code: Select all
function mark_galaxy_types()
for dso in celestia:dso() do
if dso:getinfo().type == "galaxy" then
hubbleType = dso:getinfo().hubbleType
if string.find(hubbleType, "E") then
dso:mark( "red", "disk", 1, 0.7 )
elseif string.find(hubbleType, "Irr") then
dso:mark( "yellow", "disk", 1, 0.7 )
elseif string.find(hubbleType, "SB") then
dso:mark( "green", "disk", 1, 0.7 )
elseif string.find(hubbleType, "S") then
dso:mark( "blue", "disk", 1, 0.7 )
end
end
end
end
celestia:setrenderflags { markers = true }
mark_galaxy_types()
Change the second line. The function celestia:dso was renamed to celestia:dsos . . .
Code: Select all
function mark_galaxy_types()
for dso in celestia:dsos() do
if dso:getinfo().type == "galaxy" then
hubbleType = dso:getinfo().hubbleType
if string.find(hubbleType, "E") then
dso:mark( "red", "disk", 1, 0.7 )
elseif string.find(hubbleType, "Irr") then
dso:mark( "yellow", "disk", 1, 0.7 )
elseif string.find(hubbleType, "SB") then
dso:mark( "green", "disk", 1, 0.7 )
elseif string.find(hubbleType, "S") then
dso:mark( "blue", "disk", 1, 0.7 )
end
end
end
end
celestia:setrenderflags { markers = true }
mark_galaxy_types()
--Chris
-
Topic authort00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Cham wrote:There's another very usefull script which is nolonger working. The script below (from Vincent) was marking all galaxies, with colors according to the galactic type (spirals, elliptical, etc). What should be the new version ?Code: Select all
function mark_galaxy_types()
for dso in celestia:dso() do
if dso:getinfo().type == "galaxy" then
hubbleType = dso:getinfo().hubbleType
if string.find(hubbleType, "E") then
dso:mark( "red", "disk", 1, 0.7 )
elseif string.find(hubbleType, "Irr") then
dso:mark( "yellow", "disk", 1, 0.7 )
elseif string.find(hubbleType, "SB") then
dso:mark( "green", "disk", 1, 0.7 )
elseif string.find(hubbleType, "S") then
dso:mark( "blue", "disk", 1, 0.7 )
end
end
end
end
celestia:setrenderflags { markers = true }
mark_galaxy_types()
I guess just replacing
celestia:dso() -> celestia:dsos()
should do the trick for now.
Bye Fridger
Cham,
We took the decision to change the name of the DSO iterator from celestia:dso() into celestia:dsos() to make it coherent with the name of the star iterator which is the plural celestia:stars(). See:
http://celestia.cvs.sourceforge.net/cel ... ortby=date
I made this change very recently, so I haven't had the time yet to edit the scripts I wrote a few weeks ago about galaxies, and to post a message about this change on the corresponding thread. That will be done very soon, though.
We took the decision to change the name of the DSO iterator from celestia:dso() into celestia:dsos() to make it coherent with the name of the star iterator which is the plural celestia:stars(). See:
http://celestia.cvs.sourceforge.net/cel ... ortby=date
I made this change very recently, so I haven't had the time yet to edit the scripts I wrote a few weeks ago about galaxies, and to post a message about this change on the corresponding thread. That will be done very soon, though.
@+
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3
Vincent
Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3