Seismology Tools
This is a collection of notebooks for a python short course for scientists. These notebooks are designed to be useful both in class and to students outside of class. Any suggestions for making them better is helpful.
The learning goals for these notebooks are:
- Students should feel comfortable with standard data types in python (list, string, float, int, dict, etc)
- Students should be able to import data and export data using pandas
- Students should be able to make maps in python that include data such as points and heat maps
- Students should be able to make plots in python that have horizontal and vertical axes of different datas
- Students should be able to manipulate histograms in python and create visualizations of histograms
- Students should be comfortable with jupyter notebooks
- Students should be able to perform "exploratory data analysis" and generate a hypothesis from it
Getting started
To get started we recommend using Anaconda: https://www.anaconda.com/download/
The environment.yml file is provided to install all of the dependencies required for these notebooks.
Steps to getting started
- Download Anaconda (we recommend python 3.X version, 64-bit): https://www.continuum.io/downloads
- Follow installation instructions for anaconda
- create your new environment
conda env create -f environment.yml
: http://conda.pydata.org/docs/using/envs.html#create-a-separate-environment - activate the environment
- download the notebooks or clone the repository and get started!
Note: if you have trouble installing shapely please try this
Please cite our article about this collection of notebooks if you use them in your teaching or research
John M. Aiken, Chastity Aiken, Fabrice Cotton; A Python Library for Teaching Computation to Seismology Students. Seismological Research Letters ; 89 (3): 1165–1171. doi: https://doi.org/10.1785/0220170246