/PythonForAstronomy

Repository for Python Tutorial in Astronomy

Primary LanguageJupyter Notebook

PythonForAstronomy

Repository for Python Tutorial in Astronomy. We are launching this series which will help you guys do Astronomy from home. Starting with a basic introduction to Python, we will be using some Python modules to understand and analyse publically available astronomical data like from SDSS, Hubble legacy archive and NASA's Kepler data.

cdsc

Session 1: Python Basics part1

YouTube video link

Python Basics Part 1 notebook

Session 2: Python Basics part2: Plotting and Visualization

YouTube video link

Python Basics Part 2 notebook

Installing Astropy

image

Astropy link: https://www.astropy.org/

To install astropy from source into a existing Python installation without using Anaconda, use the following: <pip install astropy>

The Anaconda Python Distribution includes astropy and is the recommended way to install both Python and the astropy package. Once you have Anaconda installed use the following to update to the latest version of astropy:

<conda update astropy>

Session 3: Manipulating FITS files using Astropy

YouTube video link

FITS Handling notebook

Session 4: Color-Magnitude Diagram

CMD Jupyter Notebook