Skip to content

nialldeacon/exoplanetgifmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

exoplanetgifmaker

Makes a gif video of the number of exoplanets discovered over time by different methods Example of the output here https://twitter.com/nialldeacon/status/1207270762945667072

This code requires PIL, astropy and numpy. You can generate an input file from https://exoplanetarchive.ipac.caltech.edu/cgi-bin/TblView/nph-tblView?app=ExoTbls&config=PS note you need to add the "Discovery Publication" column, filter so that "Default Parameter Set"==1 and download as a VOTable.

Planets are classified by radius and where that is not available by some rough cuts on mass, feel free to change those

The cutout images for the planets are in the image subfolder of this repository, please add the following credits to any mention of them on social media etc. earth NASA EPIC/DISCOVR super earth artist's impression of Kepler 62e NASA Ames/JPL-Caltech/T. Pyle neptune voyager 2 NASA/JPL jupiter NASA, ESA, A. Simon (Goddard Space Flight Center) and M.H. Wong (University of California, Berkeley)

I used the HindVadodara-Bold font, you can download this font or change it to something you prefer by editing the font_loc string. If you do change the font you will need to move the positions of the 'E' subscripts by hand

I converted from the animated GIF to MPEG using ffmpeg -i test.gif -r 20 -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4

About

Makes a gif video of the number of exoplanets discovered over time by different methods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages