Spaces:
Sleeping
Sleeping
added data visualization's
Browse files
app.py
CHANGED
|
@@ -299,5 +299,58 @@ with gr.Blocks(title="Exoplanet Detection System", theme=gr.themes.Soft()) as de
|
|
| 299 |
"""
|
| 300 |
)
|
| 301 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 302 |
if __name__ == "__main__":
|
| 303 |
demo.launch(share=True)
|
|
|
|
| 299 |
"""
|
| 300 |
)
|
| 301 |
|
| 302 |
+
gr.Markdown("### Data Visualization of Kepler Dataset")
|
| 303 |
+
# with gr.Row():
|
| 304 |
+
|
| 305 |
+
gr.Image(value="planet_radius.png", show_label=False)
|
| 306 |
+
gr.Markdown("""
|
| 307 |
+
**Explanation:**
|
| 308 |
+
|
| 309 |
+
The visualization above shows the **distribution of planet sizes** found by the *Kepler mission*, measured in Earth's radii.
|
| 310 |
+
It reveals that most candidate planets are **quite small, close in size to Earth**, while there are **very few extremely large planets detected**, creating a sharp drop-off on the right side of the graph.
|
| 311 |
+
""")
|
| 312 |
+
|
| 313 |
+
gr.Image(value="orbital_period.png", show_label=False)
|
| 314 |
+
gr.Markdown("""
|
| 315 |
+
This graph displays data from the Kepler mission, showing the relationship between a planet's size (radius in Earth radii) and its orbital period (the time it takes to complete one orbit around its star, in days). It indicates there is a wide range of planet sizes found at various orbital periods, with many small planets orbiting both quickly and slowly, while larger planets are also found across different orbital durations. The plot uses logarithmic scales to show this broad distribution clearly.
|
| 316 |
+
""")
|
| 317 |
+
gr.Image(value="pie_chart.png", show_label=False)
|
| 318 |
+
gr.Markdown("""
|
| 319 |
+
This pie chart shows the average distribution of different false positive scenarios in the Kepler dataset for candidate planets.
|
| 320 |
+
|
| 321 |
+
Explanation of the terms:
|
| 322 |
+
|
| 323 |
+
fpp_prob_ueb (37.8%): Probability the signal comes from an Unblended Eclipsing Binary, where two stars orbit each other without blending.
|
| 324 |
+
|
| 325 |
+
fpp_prob_beb (16.6%): Probability of a Blended Eclipsing Binary, where light from two stars blends and mimics a planetary signal.
|
| 326 |
+
|
| 327 |
+
fpp_prob_beb_dbl (23.7%): Similar to beb but with double orbital periods involved.
|
| 328 |
+
|
| 329 |
+
fpp_prob_heb (9.2%): Probability of a Hierarchical Eclipsing Binary, a star orbiting another star in the same system.
|
| 330 |
+
|
| 331 |
+
fpp_prob_ueb_dbl (10.9%): Double period case for Unblended Eclipsing Binary.
|
| 332 |
+
|
| 333 |
+
fpp_prob_heb_dbl (1.7%): Double period case for Hierarchical Eclipsing Binary.
|
| 334 |
+
|
| 335 |
+
These categories represent different ways that signals mimicking planets can actually be caused by binary star systems or their complex interactions, helping scientists distinguish real planets from false alarms in the Kepler data.
|
| 336 |
+
|
| 337 |
+
|
| 338 |
+
""")
|
| 339 |
+
gr.Image(value="stellar_radius.png", show_label=False)
|
| 340 |
+
gr.Markdown("""
|
| 341 |
+
Most stars are small, with sizes close to the Sun's. However, the chart highlights that as stars get heavier (more massive), their sizes can become dramatically larger, showing a significant scatter for the heaviest stars. This data comes from the Kepler telescope observations.
|
| 342 |
+
""")
|
| 343 |
+
|
| 344 |
+
gr.Image(value="likelihood.png", show_label=False)
|
| 345 |
+
gr.Markdown("""
|
| 346 |
+
It shows that most "planet candidates" (the big yellow/green dots) are large and have a high chance of being a false alarm (high false positive probability). The smaller, darker dots are less likely to be false alarms. The plot shows that planet size and how long they take to orbit their star are highly variable.
|
| 347 |
+
""")
|
| 348 |
+
|
| 349 |
+
gr.Image(value="stellar_temp.png", show_label=False)
|
| 350 |
+
gr.Markdown("""
|
| 351 |
+
|
| 352 |
+
The vast majority of the observed stars have a temperature around 5,700 to 6,000 Kelvin, which is very similar to the temperature of our own Sun. The count quickly drops off for stars that are either much cooler or much hotter than this average.
|
| 353 |
+
""")
|
| 354 |
+
|
| 355 |
if __name__ == "__main__":
|
| 356 |
demo.launch(share=True)
|