Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continued website updates and fixes #189

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Next Next commit
Applied recent updates to exoplanets project [build:exoplanets]
  • Loading branch information
jlstevens committed Sep 24, 2021
commit 14bdf5dcf643b87ae7908deb94be61541b2c3442
12 changes: 7 additions & 5 deletions exoplanets/exoplanets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"# Exoplanets\n",
"Written by Blythe Davis<br>\n",
"Created: July 23, 2021<br>\n",
"Last updated: August 20, 2021"
"Last updated: August 28, 2021"
]
},
{
Expand All @@ -19,7 +19,7 @@
"## Exoplanet Discovery\n",
"For the past 25+ years, NASA has used ground- and space-based methods to [identify exoplanets](https://exoplanets.nasa.gov/exep/about/missions-instruments) (planets outside of our solar system). In the past ten years in particular, campaigns like Kepler, K2, and TESS have produced an explosion of results. To date, approximately 4,400 exoplanets have been identified, and over 3,000 potential exoplanet candidates have been discovered. \n",
"\n",
"In this notebook, we will use [Holoviews](https://holoviews.holoviz.org) and [Panel](https://panel.holoviz.org) to make a dashboard visualizing the discovery of confirmed and candidate exoplanets over the years.\n",
"In this notebook, we will use [Holoviews](https://holoviews.org/) and [Panel](https://panel.holoviz.org) to make a dashboard visualizing the discovery of confirmed and candidate exoplanets over the years.\n",
"\n",
"We'll also include a scatterplot in our dashboard that reveals details about the relationship between mass and radius of exoplanets, as well as controls to filter the data based on whether the planets could support life, and if so, whether chemical rockets could be used to escape the planet."
]
Expand Down Expand Up @@ -611,11 +611,13 @@
"source": [
"pn.extension(sizing_mode='stretch_width')\n",
"\n",
"explorer = pn.Row(pn.Column(widgets, overlay, bound_scatter, pn.Row(x_axis, y_axis) ))\n",
"accordion = pn.Accordion(('Background', '''For the past 25+ years, NASA has used ground- and space-based methods to [identify exoplanets](https://exoplanets.nasa.gov/exep/about/missions-instruments) (planets outside of our solar system). In the past ten years in particular, campaigns like Kepler, K2, and TESS have produced an explosion of results. To date, approximately 4,400 exoplanets have been identified, and over 3,000 potential exoplanet candidates have been discovered. \n",
"This dashboard uses [Holoviews](https://holoviews.org/) and [Panel](https://panel.holoviz.org) to visualize the discovery of confirmed and candidate exoplanets over the years. Also included is a scatterplot that reveals details about the relationship among mass, radius, and temperature of exoplanets, as well as controls to filter the data based on whether the planets could support life, and if so, whether chemical rockets could be used to escape the planet. See [examples.pyviz.org](https://examples.pyviz.org/exoplanets) for details on the data used here and how to interpret it.'''))\n",
"\n",
"dashboard = pn.template.BootstrapTemplate(title='Exoplanets Explorer')\n",
"dashboard.main.append('Filter, color, and size the displayed exoplanets using the available widgets, and explore trends in the scatterplot below.')\n",
"explorer = pn.Row(pn.Column(accordion, widgets, overlay, bound_scatter, pn.Row(x_axis, y_axis) ))\n",
"\n",
"dashboard = pn.template.BootstrapTemplate(title='Exoplanets Explorer')\n",
"dashboard.main.append(accordion)\n",
"dashboard.main.append(explorer)\n",
"dashboard.servable()\n",
"\n",
Expand Down