Giter Club home page Giter Club logo

outreach's Introduction

Resources for Public Engagement in Astronomy

By: Erin Hayes, PhD Candidate at the Institute of Astronomy (IoA), University of Cambridge

Welcome! In this Github repository, you will find a series of tutorials that guide students through questions in different areas of astronomy and introduce them to coding. The tutorials span several fields of astronomy from exoplanets to the expanding universe. For some topics, multiple levels of the tutorial have been developed to suit learners of different ages and experiences. All tutorials should take approximately 45 minutes to complete.

These resources are available in the form of jupyter notebooks. Jupyter notebooks are virtual "notebook" environments in which astronomers code. One way of using jupyter notebooks is through Google's coding platform "Google Colab." All the information you need about how to use a notebook in Google Colab is contained within the tutorials. To access the notebook via Google Colab, click the link listed under the tutorial of interest below!

Additional authors are listed by project. Please credit all contributers on a project if you use the resources! If any issues or confusion arise while trying to access or use any of the below resources, feel free to contact me at [email protected]. I'm also happy to hear your feedback to improve the resources! Thanks for joining me in a voyage through the universe!

Contents

Discovering Exoplanets Through Coding

Kepler

We developed a series of coding tutorials that introduce students to exoplanet detection using real Kepler Space Telescope data. Two levels of the tutorial have been developed to accomodate 1) students with little to no physics/coding experience, and 2) students with experience in physics and little to no coding experience. Students will be guided through how to identify the presence of exoplanets around stars via the transit method, and explore the diversity of exoplanets orbiting around other stars.

Year 8-9 / Ages 13-15

The discovering_exoplanets_IWD.ipynb notebook (accessible below) was developed for students in Year 9 (age 13-14). The exercises are friendly to students who have no prior coding experience. Thanks to Erik Rosenberg, Steve Young, Jessica Rigley, and Katherine Kauma for their help in preparing this material!

Clicking on the following link will take you directly to a Google Colab page where you can start learning:

https://githubtocolab.com/erinhay/outreach/blob/main/Discovering-Exoplanets/discovering_exoplanets_IWD.ipynb

Introductory slides for the notebook can be found here!

If you would prefer to git clone the repository and run it locally on your device, replace this block of code:

!git clone https://github.com/erinhay/outreach.git
!pip install ipympl
!pip install astropy
!pip install lightkurve > /dev/null 2>&1 

import os
os.chdir('/content/outreach/Discovering-Exoplanets/py')
from helpers import *
import lightkurve as lk

from google.colab import output
output.enable_custom_widget_manager()
%matplotlib widget

os.chdir('/content/outreach/Discovering-Exoplanets')
plt.style.use('./style/style.mplstyle')

with the following:

!pip install lightkurve > /dev/null 2>&1 
import lightkurve as lk
from py.helpers import *
%matplotlib notebook

plt.style.use('./style/style.mplstyle')

Year 12 / Ages 17-18

The discovering_exoplanets_SuttonTrust.ipynb notebook (accessible below) was developed for students in Year 12 (age 17-18) and the exercises are best suited to students with GCSE/high-school level background in physics and some exposure to coding in python (1-2 previous classes), but are friendly to students who have no prior coding experience. Thanks to Frances Rigby and Richard Anslow for their help in preparing the materials and presenting it at the summer school!

Clicking on the following link will take you directly to a Google Colab page where you can start learning:

https://githubtocolab.com/erinhay/outreach/blob/main/Discovering-Exoplanets/discovering_exoplanets_SuttonTrust.ipynb

Solutions for the activities can be found here:

https://githubtocolab.com/erinhay/outreach/blob/main/Discovering-Exoplanets/discovering_exoplanets_SuttonTrust_solutions.ipynb

If you would prefer to git clone the repository and run it locally on your device, replace this block of code:

!git clone https://github.com/erinhay/outreach.git
!pip install ipympl
!pip install astropy
!pip install lightkurve > /dev/null 2>&1 

import numpy as np
import matplotlib.pyplot as plt
from ipywidgets import interact
import astropy.units as au
import astropy.constants as ac
import lightkurve as lk

from google.colab import output
output.enable_custom_widget_manager()
%matplotlib widget

plt.style.use('./style/style.mplstyle')

with the following:

!pip install lightkurve > /dev/null 2>&1

import numpy as np
import matplotlib.pyplot as plt
from ipywidgets import interact
import astropy.units as au
import astropy.constants as ac
import lightkurve as lk

%matplotlib notebook
plt.style.use('./style/style.mplstyle')

Exploring the Expanding Universe

Tutorials coming soon!

outreach's People

Contributors

erinhay avatar

Stargazers

Yasir avatar S M Rafee Adnan avatar Ben Boyd avatar Drew Langford avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.