Make a 2D occurrence map

Anne Dattilo, August 2023

Code to re-create Figure 4 from Dattilo et. al (2023)

Download the data to recreate the figure at https://zenodo.org/records/8206797

First, we set up the parameter space we are plotting in. These are larger than what we plot to match the region computed in our specific completeness contour.

FGK

Load in the completeness contour.

This was calculated via KeplerPORTs

In order to remove empty cells we have to load in the planet sample and make a 2D histogram

Next we load in the observed KDE and bin down to the pre-set bins