Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

πŸŒ’ Planning Observations

exoatlas provides some basic tools for helping identify targets that might be observable, either for quick single visits or for extended transit observations that need to be scheduled at very specific times. To demonstrate, let’s make a few populations of exoplanets.

'1.0.0'
(✨ Transiting Exoplanets | 4738 elements ✨, ✨ Transiting Exoplanets | 38 elements ✨, ✨ GJ1214b | 1 elements ✨)

What’s up at night?ΒΆ

Let’s imagine we want to point a telescope at an exoplanet system to take an image or spectrum of it. At a particular moment on a particular night from a particular observatory location, we’ll need to know if the star is visible in our local sky. To start, let’s define the observatory location and time at which we want to observe:

<Observer: name='APO', location (lon, lat, el)=(-105.82000000000002 deg, 32.78000000000001 deg, 2798.0000000005284 m), timezone=zoneinfo.ZoneInfo(key='US/Mountain')>

Now, we can calculate the altiude and azimuth of all elements from that observatory at that time. We can also calculate the β€œairmass” (=secΒ z\sf = sec~z = how much more Earth atmosphere we look through compared to zenith), where targets with airmass > 2 start might start getting a little too low toward the horizon to be worth observing.

<Figure size 800x800 with 4 Axes>

Neat! It looks like the Kepler field (= the very dense blob) is high in the sky this time of year!

When can we observe a transit?ΒΆ

A slightly tricker question is when another transit can be observed for a transiting exoplanet system. For observing a transit, we need the star to be up, the Sun to be down, and the planet to pass in front of the star. We can calculate when all these stars align using astroplan, wrapped inside the .show_upcoming_transits method.

(Please note, as of mid-to-late 2026 the released version of astroplan has a bug with the latest version of matplotlib, so this .show_upcoming_transits method might not work. Installing the latest astroplan directly from the github repository should fix this problem.)

We can find observable transits for a single planet by specifying:

  • where as an astroplan.Observer object for the location from which you’re observing

  • when as an astropy.time.Time object for the time from which you’d like to start considering transits

  • window as an astropy.unit.Quantity object with units of time, to indicate how long of a window over which you’d like to search for transits

<Figure size 640x480 with 2 Axes>
<Figure size 640x480 with 2 Axes>

This function returns a table, indicating the transit ingress, midoint, and egress, all as astropy Time objects.

Loading...

We can also search for any observable transits for any planet in a larger population.

<Figure size 640x480 with 2 Axes>
<Figure size 640x480 with 2 Axes>
<Figure size 640x480 with 2 Axes>
<Figure size 640x480 with 2 Axes>
<Figure size 640x480 with 2 Axes>

If any planets in a population are missing the data needed to plan a transit (period, transit_midpoint, transit_duration), they’ll appear in a table indicating what needs to fixed (for example, with .update_values) in order for transits to be predicted.