python4astronomy

Introduction to Jupyter Notebooks

In this project you will get beginner’s introduction to using JupyterLab and Jupyter Notebooks. For this course we created a JupyterHub virtual environment on Google Cloud where you will login to access course materials. These include inital version of Jupyter Notebooks, images, video, CSV files and other media which you will modify to create your own versions and publish them.

JupyterHub 🧪

JupyterHub is a virtual environment on Google Cloud where you will login to access course materials and the server where your Jupyter Notebooks are hosted. This server is tuned for availability during daytime hours at each time zone that our participants access this course.

JupyterLab 🧪

JupyterLab is a next-generation web-based user interface for Project Jupyter. It enables you to work with documents and activities such as Jupyter notebooks, text editors, terminals, and custom components in a flexible, integrated, and extensible manner. It is the interface that you’re looking at right now. If you like a tour, you can click Getting started with JupyterLab Interface. Instead, you can also jump straight in below and learn by doing it! If you are confused, come back to the above link.

For a more complete discussion about JupyterLab I would recommnd No Complexity page on Mastering JupyterLab

Jupyter Notebooks 📓

Jupyter Notebooks are a community standard for communicating and performing interactive computing. They are a document that blends computations, outputs, explanatory text, mathematics, images, and rich media representations of objects.

JupyterLab is one interface used to create and interact with Jupyter Notebooks. Right-Click and open a new window for instructions to follow along in this Jupyter Notebook.

You will be completing these notebooks below in sequence. You can return to this project and others for the Python for Astronomy Workshop from the top-level table of contents linked here

STOP!! Have you read the Course Landing Page completely at least once?. If not please do so before attempting to do the notebooks below.

Please try and complete Notebooks 1 & 2 below ahead of the workshop start date. If you cannot log in, please contact me at drunarayan@gmail.com.

Notebooks Topic Description
1 Getting started with JupyterLab Interface
2 Overview of Jupyter Notebooks & Markdown Syntax
3 Introduction to Plotting using Numpy & Matplotlib
  1. Right-Click links above to Open in New Window on this link and Log in to JupyterHub with your assigned username.
  2. Read instructions and execute each cell by pressing Shift-Enter on your keyboard