A Mark_script for all known exoplanets ?

All about writing scripts for Celestia in Lua and the .cel system
Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

A Mark_script for all known exoplanets ?

Post #1by Cham » 10.12.2004, 06:11

Is there a script somewhere which put a mark on all the exoplanets found to date ?

It could be cool to see the spatial distribution of all the exoplanets in Celestia.

I don't know how to do this without a painfull hand editing.
"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!"

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 2 months
Location: Germany

Re: A Mark_script for all known exoplanets ?

Post #2by Harry » 10.12.2004, 11:22

I've added this as a script to my Celestia-page (at the bottom). It checks every star in Celestia for "children" (which except for our Sun should always be planets), and if it found some it marks the star.

Harald

Avatar
Topic author
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #3by Cham » 10.12.2004, 22:12

Sorry Harry, but your celx script cannot work on my OS X version :(

So I created a .cel script to mark all the stars with exoplanets in my exoplanets.ssc file. I hand marked a total of 127 stars and the distribution is interesting in Celestia. Here it is (sorry, you'll have to copy-paste the code) :

{
# script to mark exoplanets systems

mark { object "HD 22049" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 41004" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "OGLE-TR-56" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 73256" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 83443" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 46375" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 179949" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 187123" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 120136" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "TYC 5503-946-1" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 75289" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 209458" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 76700" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 217014" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 9826" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 49674" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 68988" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 168746" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 217107" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 162020" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 130322" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 108147" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 38529" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 75732" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 13445" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 195019" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 6434" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 192263" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "Gliese 876" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 143761" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 74156" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 168443" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 3651" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 121504" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HIP 94075" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 16141" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 114762" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 80606" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "BD-02 5917 B" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 117176" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 216770" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 52265" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 1237" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 37124" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 219449" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 73526" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 104985" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 82943" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 169830" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 8574" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 89744" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 134987" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 40979" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 12661" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 150706" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 59686" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 17051" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 142" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 92788" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 28185" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 142415" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 177830" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 108874" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 4203" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 128311" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 27442" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 210277" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 19994" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 20367" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 114783" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 147513" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 137759" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 222582" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 65216" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 160691" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 141937" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 47536" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 23079" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 186427" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 4208" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 114386" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 222404" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 213240" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 10647" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 10697" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 95128" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 190228" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 114729" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 111232" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 2039" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 136118" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 50554" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 196050" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 216437" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 216435" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 106252" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 23596" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 145675" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 39091" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 72659" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 70642" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 33636" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 30177" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 190360" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "OGLE-TR-111" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "OGLE-TR-113" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "OGLE-TR-132" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 330075" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HIP 57087" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 117618" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 102117" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 208487" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 154857" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "OGLE-TR-10" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 37605" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 88133" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 11964" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 34445" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 196885" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 188015" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 183263" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 45350" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 50499" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 89307" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 99492" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "TrES-1" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
mark { object "HD 202206" size 14 color [ 0.5 0.0 0.5] symbol "diamond" }
}
"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!"


Return to “Scripting”