Skip to content

mnky9800n/Python-course-materials-for-seismology-students

Repository files navigation

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:

  1. Students should feel comfortable with standard data types in python (list, string, float, int, dict, etc)
  2. Students should be able to import data and export data using pandas
  3. Students should be able to make maps in python that include data such as points and heat maps
  4. Students should be able to make plots in python that have horizontal and vertical axes of different datas
  5. Students should be able to manipulate histograms in python and create visualizations of histograms
  6. Students should be comfortable with jupyter notebooks
  7. 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

  1. Download Anaconda (we recommend python 3.X version, 64-bit): https://www.continuum.io/downloads
  2. Follow installation instructions for anaconda
  3. create your new environment conda env create -f environment.yml : http://conda.pydata.org/docs/using/envs.html#create-a-separate-environment
  4. activate the environment
  5. 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

About

a library of various tools and notebooks for catalog analysis

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published