Kepler Planet Candidates (revised 2012/05/14)

The home for finished/released addons.
Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Kepler Planet Candidates (revised 2012/05/14)

Post #1by ajtribick » 04.03.2012, 17:18

Almost all the Kepler planets candidates in Celestia!

Description of the files and how they were generated is in the header of the ssc and stc files. I've also added the Perl scripts I used to generate them.

Note this add-on includes Kepler-27 as KOI-841. This system is currently not included in the standard Celestia extrasolar planets files due to oddities in the stellar properties.

Best used in conjunction with the extrasolar.ssc and extrasolar.stc files from SVN revision 5206/5207, obtain them from here.

Result of generation script:

Code: Select all

Output 1723 stars.
Output 2210 planets.

The script I used to generate the files is also included. Note that running it will download the Kepler Input Catalog and the candidates list files. The Kepler Input Catalog is a huge file (761 MB) so be warned.

Change log:

v1.1 (2012/05/14)
  • Removed KOI-13 and KOI-872 (these are now included in standard extrasolar planets files)
  • Added marker script
  • Added J to 2MASS designations
  • Fixed Epoch bug
  • Changed significant figures in output files
  • Added download capability to createcatalogs.pl

v1.0 (2012/03/04)
  • Initial version
Last edited by ajtribick on 15.05.2012, 07:17, edited 4 times in total.

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

Re: Kepler Planet Candidates

Post #2by Cham » 04.03.2012, 18:45

Andrew,

you should make a celx script to mark all the stars in your addon. It's very difficult to locate them without opening the stc file and select the stars one by one. Without a script, this addon is almost useless.
"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 author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Kepler Planet Candidates

Post #3by ajtribick » 04.03.2012, 19:08

I personally don't use scripts, and generally find markers annoying. The built-in exoplanetary systems get on fine without markers, can't say I've missed the functionality.

Locating the systems is pretty easy anyway, hit enter and type "KOI"...

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

Re: Kepler Planet Candidates

Post #4by Cham » 04.03.2012, 19:13

You don't use scripts ? You're missing A LOT of things !

Here's a picture made from a CELX script I just wrote in 1 minute :
"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!"

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

Re: Kepler Planet Candidates

Post #5by Cham » 04.03.2012, 19:37

Another view. The script also gives the number of exoplanets candidates around each star, if n > 1,
and a message gives the total number of stars with candidates in your database (1725 stars).

candidates.jpg


EDIT : A view from our solar system. We can see a "cross" pattern on the sky covered by the Kepler mission :

cross.jpg


There are lots of stars with 4 and 5 exoplanets candidates in there... If all of them get confirmed, that would be awesome ! :o
"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!"

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Kepler Planet Candidates

Post #6by t00fri » 04.03.2012, 21:20

Andrew,
I personally don't use scripts,
I just tried to run your above Perl scripts (which are not CELX scripts, yet they are scripts ;-) ).

More seriously, the perl scripts produce errors since
kicdata.csv and
appendixTable_2012Feb26.txt
did not exist in your above zip archive.

I suppose these files serve as storage for the KOI data that one has to first download?

Here is a little suggestion from my long Perl experience: How about using
the WEB user agent class: LWP::UserAgent from CPAN?

It easily allows a real time download from the KOI archive, such that you are always updated as to new exoplanets, whenever the Perl script is run.

I use this module (together with the Zlib compression module) in most of my entirely rewritten
Perl scripts for Celestia.Sci (binaries, globulars, galaxies...)

Fridger
Last edited by t00fri on 04.03.2012, 21:21, edited 1 time in total.
Image

Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Kepler Planet Candidates

Post #7by ajtribick » 04.03.2012, 21:21

Well this just illustrates the pointlessness of providing scripts. Maybe the user wants to highlight only a specific kind of system, or colour the markers by spectral type, or whatever. This isn't a behavioural add-on where there is an obvious need for scripting.

I'm not here to tell the users what to do with the add-on or the data. That's up to them.
Last edited by ajtribick on 04.03.2012, 23:24, edited 1 time in total.

Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Kepler Planet Candidates

Post #8by ajtribick » 04.03.2012, 21:24

t00fri wrote:I just tried to run your above Perl scripts (which are not CELX scripts, yet they are scripts ;-) ).

More seriously, the perl scripts produce errors since
kicdata.csv and
appendixTable_2012Feb26.txt
did not exist in your above zip archive.

I suppose these files serve as storage for the KOI data that one has to first download?
Yes, I put the details of how to get these in the header comments of the scripts. Unfortunately it doesn't look like the Kepler Input Catalog is available online except through a query form, which makes writing an automated download somewhat trickier.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Kepler Planet Candidates

Post #9by t00fri » 04.03.2012, 22:08

Andrew,

you probably know all these URL's, yet...

The Kepler Input Catalog is also to be found at CDS Strasbourg, unfortunately dated 2009:

http://vizier.u-strasbg.fr/viz-bin/Vizi ... ce=V%2F133

Of course there is also a direct ftp access to these data:

ftp://cdsarc.u-strasbg.fr/pub/cats/V%2F133/

that could be automatically downloaded. But it's presumably somewhat outdated.

More Kepler related data are found in further CDS Strasbourg catalogs. They are listed here:
http://cdsarc.u-strasbg.fr/viz-bin/Cat? ... ler&find=+

Fridger
Image

Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Kepler Planet Candidates

Post #10by ajtribick » 04.03.2012, 22:15

Ah ha I've now managed to find http://archive.stsci.edu/pub/kepler/catalogs/

I guess if I put this in the script I'd have to put some kind of notice in there, I suspect people wouldn't be too amused to have a 761 MB download sprung on them without warning...

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Kepler Planet Candidates

Post #11by t00fri » 04.03.2012, 22:36

ajtribick wrote:Ah ha I've now managed to find http://archive.stsci.edu/pub/kepler/catalogs/

I guess if I put this in the script I'd have to put some kind of notice in there, I suspect people wouldn't be too amused to have a 761 MB download sprung on them without warning...

;-)

Another more actual KOI table I found here:
http://184.72.55.19/kepler/table

Unfortunately, it doesn't have all the entries that you requested.
There is also an export option on the top right.

Fridger
Image

Avatar
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years 2 months
Location: Indiana, United States

Re: Kepler Planet Candidates

Post #12by Hungry4info » 08.03.2012, 01:03

Thanks for this add-on. It's quite spectacular!
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics

Avatar
Marco Klunder
Posts: 181
Joined: 20.02.2008
Age: 62
With us: 16 years 9 months
Location: The Netherlands

Re: Kepler Planet Candidates

Post #13by Marco Klunder » 08.03.2012, 20:11

Excelent Add-on :D

And for those who are interested in using a CELX script for this Add-on: :wink:

Example in Multiview mode

Code: Select all

celestia:unmarkall()
celestia:setrenderflags{markers = true}

earth=celestia:find("Sol/Earth")
earth:mark("cyan", "disk", 10, 1, "Earth" )

for star in celestia:stars() do
   first, last = string.find(star:name(), "KOI-", 1, true)
   if first == 1 then
      star_children = star:getchildren()
      i=0
      for k, child in pairs(star_children) do
         i=i+1
     end
      if i == 1 then
         star:mark("purple", "square", 4)
      else
         star:mark("white", "square", 8, 1, "(" .. i .. ")" )
      end
   end
end

obs=celestia:getobserver()
obs:splitview("V", 0.5)
observers = celestia:getobservers()
observers[1]:splitview("H", 0.5)
observers[2]:splitview("H", 0.5)
observers = celestia:getobservers()
celestia:seturl("cel://Follow/Sol:Earth/2012-03-08T12:44:18.67144?x=PgyupAqpFQ&y=cMQJiwtH1v7//////////w&z=wNgQS9OZmv///////////w&ow=-0.201857&ox=0.341878&oy=0.747505&oz=-0.532549&fov=35&ts=1&ltd=0&p=0&rf=2219927&lm=128&tsrc=0&ver=3", observers[1])
celestia:seturl("cel://Follow/Sol:Earth/2012-03-08T12:44:58.12015?x=AAAAAAB4oOzgBxJl&y=AAAAAADQ8hlr+rtn/////w&z=AAAAAAC8YG3v5fmt/////w&ow=0.517599&ox=-0.716377&oy=-0.430236&oz=0.183829&fov=35&ts=1&ltd=0&p=0&rf=2219927&lm=128&tsrc=0&ver=3", observers[4])
celestia:seturl("cel://Follow/Sol:Earth/2012-03-08T12:49:07.20848?x=AAAAAAAA9cdQ99HPEA&y=AAAAAACAv5mnnMN/9v///w&z=AAAAAAAAN7uOCPMYBg&ow=0.712447&ox=-0.461999&oy=-0.491966&oz=-0.192214&fov=35&ts=1&ltd=0&p=0&rf=2219927&lm=128&tsrc=0&ver=3", observers[3])
celestia:seturl("cel://Follow/Sol:Earth/2012-03-08T12:51:57.80176?x=AAAAAACWOGdwO40R&y=AAAAAAASBZTgCTw9&z=AAAAAAD48XL6jZ4V&ow=0.254111&ox=0.0111172&oy=-0.593132&oz=-0.763871&fov=35&ts=1&ltd=0&p=0&rf=2219927&lm=128&tsrc=0&ver=3", observers[2])

waittime = 30
wait(waittime)

celestia:unmarkall()
celestia:setrenderflags{markers = false}
observers[1]:singleview()
obs=celestia:getobserver()


Example in Singleview mode

Code: Select all

celestia:unmarkall()
celestia:setrenderflags{markers = true}

for star in celestia:stars() do
   first, last = string.find(star:name(), "KOI-", 1, true)
   if first == 1 then
      star_children = star:getchildren()
      i=0
      for k, child in pairs(star_children) do
         i=i+1
     end
      if i == 1 then
         star:mark("purple", "square", 4)
      else
         star:mark("white", "square", 8, 1, "(" .. i .. ")" )
      end
   end
end

obs=celestia:getobserver()
celestia:seturl("cel://Follow/Sol:Earth/2012-03-08T16:15:43.70161?x=K2rGO3XxCQ&y=AO5jLe9mD/7//////////w&z=4Jpq2MahSf///////////w&ow=0.103124&ox=-0.345093&oy=-0.746957&oz=0.558866&select=Sol:Earth&fov=34.7121&ts=1&ltd=0&p=0&rf=2228127&lm=136&tsrc=0&ver=3", obs)
wait(0)


It's even future proof when new Kepler candidates are added to the Add-on.

Actual NASA Kepler Planet Count (8-3-2012)
http://www.nasa.gov/mission_pages/kepler/main/index.html
Confirmed Planets: 61
Planet Candidates: 2,321
Marco Klunder
email: marco.klunder@xs4all.nl
Windows10 PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9, Celestia160-ED and Celestia1621

Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Kepler Planet Candidates

Post #14by ajtribick » 10.03.2012, 09:32

One thing to think about with that script is what happens if you add the KOI designations for the circumbinary planet systems Kepler-16 (KOI-1611), Kepler-34 (KOI-2459) and Kepler-35 (KOI-2937).

Interestingly neither Kepler-34 nor Kepler-35 are in the released list of planet candidates. The planet Kepler-16 (AB) b is the candidate KOI-1611.02, presumably KOI-1611.01 is the secondary star.

Deepwatcher
Posts: 27
Joined: 21.08.2011
Age: 33
With us: 13 years 3 months
Location: Turin (Italy)

Re: Kepler Planet Candidates

Post #15by Deepwatcher » 10.03.2012, 14:43

Yep, KOI-1611.01 can only be the red dwarf

This add-on is amazing, my compliments!

I've just finished my own add-on about the Kepler confirmed planets, but this already includes everything :mrgreen:
You beated me of one week :lol:

How did you write it? I mean, it's a 2000 planets add-on, surely you can't have written and checked them all one-by-one as I did with my 91 add-on :mrgreen:

Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Kepler Planet Candidates

Post #16by ajtribick » 13.03.2012, 19:34

Deepwatcher wrote:I mean, it's a 2000 planets add-on, surely you can't have written and checked them all one-by-one as I did with my 91 add-on
The trick is to find the data online in a form that can easily be read by the computer, then processing that. It's then a case of filtering out objects which don't have all the required data: several of the stars do not have g-band magnitudes or g-r colour indices available which means I cannot get an estimate of the distances. You also need to remove obvious error cases, e.g. negative orbital periods, or planets with distances inside the star (this caused the orbital inclination calculation to produce complex numbers for the orbital elements, which Celestia didn't like very much!).

I will probably release further versions of this add-on to keep up with additions to the extrasolar planets catalogue files (the latest versions of which are available on the Celestia Subversion repository). As a further enhancement it might be interesting to take the transit durations into account to estimate the orbital eccentricities, as has been done for example in this paper, though the nature of the observation method means that the full orientation of the orbit cannot be determined.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Kepler Planet Candidates

Post #17by t00fri » 13.03.2012, 22:33

ajtribick wrote:
t00fri wrote:I just tried to run your above Perl scripts (which are not CELX scripts, yet they are scripts ;-) ).

More seriously, the perl scripts produce errors since
kicdata.csv and
appendixTable_2012Feb26.txt
did not exist in your above zip archive.

I suppose these files serve as storage for the KOI data that one has to first download?
Yes, I put the details of how to get these in the header comments of the scripts. Unfortunately it doesn't look like the Kepler Input Catalog is available online except through a query form, which makes writing an automated download somewhat trickier.

Andrew,

when looking under http://kepler.nasa.gov/Mission/discoveries/candidates/, there are several routes to take from there, yet a (reasonably sized) downloadable file containing the candidates is missing. One route is to go via MAST. Another one to the interactive NASA Exoplanet archive. Another one to download the complete file of 761 MB ;-).

How about specifying a little bit more concise how to proceed and for which of the listings you devised your Perl script after all...

Fridger
Image

Deepwatcher
Posts: 27
Joined: 21.08.2011
Age: 33
With us: 13 years 3 months
Location: Turin (Italy)

Re: Kepler Planet Candidates

Post #18by Deepwatcher » 14.03.2012, 13:15

I thought you did it with an automatized program, just giving the input files :D
Things in which i'm really bad at, i don't know anything of programming :roll: The first thing I've ever coded is right Celestia, which has a very simple and intuitive syntax...
The scripts are still out of my reach, i'll fix this as soon as university gives me the time :mrgreen:

I wanted to realize the kepler catalog as most accurate as possible, that's why I checked them one-by-one, to make every planet as most scientifically accurate as possible, I don't know if a program could have done this operation of judging and integrating... That's why I'm really interested in your work, that I've downloaded and right know I'm studying :mrgreen:

Anyway, I didn't physically wrote them one by one. I realized an Excel file with all the data available and calculated ones, and then used a Word function that in italian is called "Stampa unione", and it's translation is probably "Merge letters". So I obtained a rough file which I had to check.
I could do the same for the KIC catalog, i have an excel table with all of it, but the work of polishing and checking the final file would be enormous... :)

Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Kepler Planet Candidates (revised 2012/05/14)

Post #19by ajtribick » 14.05.2012, 22:55

Updated to reflect addition of KOI-13 and KOI-872 into the latest versions of extrasolar.ssc/extrasolar.stc.

Updated download and full details are now available in the first post of the thread.

Changes:

v1.1 (2012/05/14)
  • Removed KOI-13 and KOI-872 (these are now included in standard extrasolar planets files)
  • Added marker script
  • Added J to 2MASS designations
  • Fixed Epoch bug
  • Changed significant figures in output files
  • Added download capability to createcatalogs.pl
Last edited by ajtribick on 15.05.2012, 07:18, edited 1 time in total.

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Kepler Planet Candidates (revised 2012/05/14)

Post #20by PlutonianEmpire » 15.05.2012, 07:01

ajtribick wrote:Updated to reflect addition of KOI-13 and KOI-872 into the latest versions of extrasolar.ssc/extrasolar.stc.

Updated download and full details are now available in the first post of the thread.

Changes:

v1.1 (2012/05/14)
  • Removed KOI-13 and KOI-872
  • Added marker script
  • Added J to 2MASS designations
  • Fixed Epoch bug
  • Changed significant figures in output files
  • Added download capability to createcatalogs.pl
You say "addition", but the changelog says "removed". Mistake, perhaps?
Terraformed Pluto: Now with New Horizons maps! :D


Return to “Add-on releases”