Welcome to the Python Workbook exercises! This repository contains step-by-step instructions to guide you through various Python and data science concepts using interactive Jupyter notebooks.
This exercise introduces basic operations in Python for handling FITS files and astronomical data:
- We will import essential libraries.
- Load data from a FITS file (
hst_results_nd.fits). - Perform basic data extraction and visualization of star distributions.
- Explore concepts like extinction values, distance distributions, and color-magnitude diagrams (CMD).
File: Exercise1_workbook
PDF Instructions:Exercise1_workbook_pdf
This second exercise focuses on advanced plotting techniques and data analysis:
- We will work with external datasets.
- Perform data manipulation and visualizations.
- Explore advanced charting techniques like histograms, scatter plots, and heatmaps.
File: Exercise2_workbook
PDF Instructions:Exercise2_workbook_pdf
To run these exercises, you will need the following Python libraries:
- astropy
- matplotlib
- numpy
- pandas
- jupyter (for running the notebooks)
You can install all the dependencies using pip:
pip install astropy matplotlib numpy pandas jupyter