In-Class Assignment 21#

Exploring the demographics of all confirmed exoplanets#

Learning Objectives#

  • Identify key classes of exoplanets in the a-M plane

  • Identify limits of different observational methods and observatories in this plane.

  • Explore the impact of the Stellar insolation flux on the radius of the exoplanet

import numpy as np
import matplotlib.pyplot as plt
import pandas as pd

The data for today’s example will include the composite data for all confirmed via the NASA Exoplanet Archive.

I have already done the query and downloaded the data for this example. Please download this table below:

a - Load the data and browse the available columns#

  1. Similar to our past exercises, use pandas to load the data CSV table and look at some of the available columns. use header=30 to skip header info.

  2. You can view some details about the available columns by calling the table after loading or opening the CSV file and looking at the header.

  3. Once loaded, plot the semi-major axis (x-axis) vs. planet mass (Mearth) (y-axis).

    • Set the x-scale and y-scale to log base 10.

    • Use the same axis limits as in the review paper below.

  4. Label the x-axis and y-axis appropriately.

Over the next few problems, we will work to annotate this plot to identify different subclasses of exoplanets, observation methods and more. Our goal is to recreate Figure 1 from this Review.

# a results here

b - Hot Jupiters and Cold/Temperate Giants#

Use the PCA reading and/or the above linked Review to help guide our labeling throughout the next sections:

At each sub question we will add more text/annotation along the way.

  1. Reproduce the plot from (a) here - copy/paste.

  2. Label / annotate the approximate locations of “Hot Jupiters” and “Cold Temperate Giants”

Which observational method is only effective at detecting Hot Jupiters - ground (transit) / lensing / space-based observations?

# b results here

c - Super-Earths, Observation Methods, and Limits#

  1. Reproduce the plot from (a) here - copy/paste.

  2. Plot the approximate limits - by eye if needed - for ground based (transit) methdods, direct imaging, and RV (you can use approximate boundaries that do not depend on P for this)

  3. Label the approximate location where the bulk of Kepler observations are located.

  4. Lastly, label/annotate/shade the approximate bounds for “Super-Earths”/”Sub-Neptunes” - Figure 9 in the Review.

What does our plot suggest are the most common sub-class of planets to have been observed by Kepler? Note our data include all sources not just Kepler.

# c results here 

d - Effect of Stellar insolation flux on planet radius#

  1. Plot the Insolation Flux (x-axis) vs. planet radius (y-axis) this time in terms of Rjup on a log-linear scale. Note, you will need to multiply by the solar flux at the surface of Earth.

  2. Plot the approximate radius boundaries for super-Earths, sub-neptunes, saturns, jupiters on the same plot. These can be approximated using axhline.

Comment briefly on which subclass appear to be affected by the flux of the host star and over what approximate range of flux values.

# d result here