README.md 1.4 KB
Newer Older
Mijian Xu's avatar
Mijian Xu 已提交
1
# seispy
Mijian Xu's avatar
Mijian Xu 已提交
2
3

[![pipeline status](https://git.nju.edu.cn/geophy/seispy/badges/master/pipeline.svg)](https://git.nju.edu.cn/geophy/seispy/commits/master)
Mijian Xu's avatar
Mijian Xu 已提交
4
[![LGPLv3](https://www.gnu.org/graphics/lgplv3-88x31.png)](https://www.gnu.org/licenses/lgpl.html)
Mijian Xu's avatar
Mijian Xu 已提交
5

Mijian Xu's avatar
Mijian Xu 已提交
6
7
Python module of seismology and  receiver functions

Mijian Xu's avatar
Mijian Xu 已提交
8
9
# Installation
## Dependencies
Mijian Xu's avatar
Mijian Xu 已提交
10
11
12
13
14
15
  * [Python]() >= 3.6
  * [ObsPy](http://docs.obspy.org) >= 1.1.0
  * [NumPy](http://www.numpy.org/) >= 1.14
  * [SciPy](http://www.scipy.org/) >= 1.2.0
  * [matplotlib](https://matplotlib.org/) >= 3.0.0
  * [PyQt5](https://www.riverbankcomputing.com/software/pyqt/)
Mijian Xu's avatar
Mijian Xu 已提交
16
  
Mijian Xu's avatar
Mijian Xu 已提交
17
## Installation
Mijian Xu's avatar
Mijian Xu 已提交
18
```Python
Mijian Xu's avatar
Mijian Xu 已提交
19
python setup.py install
Mijian Xu's avatar
Mijian Xu 已提交
20
```
Mijian Xu's avatar
Mijian Xu 已提交
21

Mijian Xu's avatar
Mijian Xu 已提交
22
# Inclusion
Mijian Xu's avatar
Mijian Xu 已提交
23
--------------
Mijian Xu's avatar
Mijian Xu 已提交
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## Libraries
  * `seispy.distaz`: Calculate distance and azimuth (by [the lithospheric seismology program at USC](http://www.seis.sc.edu/software/distaz/)).<br />
  * `seispy.geo`: Tiny codes of geophysics.
  * `seispy.bootstrap`: Bootstrap confidence interval estimation (by [scikits-bootstrap](https://github.com/cgevans/scikits-bootstrap))
  * `seispy.decov`: Iterative time domain deconv using Ligorria and Ammon's 1999 BSSA method

## Commands
 * `pickrf`: Pick PRFs after the calculation.
 * `plotrt`: Plot PRFs in R and T components order by back-azimuth.
 * `plotr`: Plot PRFs in R component order by back-azimuth.
 * `hk`: H-Kappa stacking.
 * `rf2depth`: Convert PRFs to depth axis.
 * `ccp_profile`: CCP stack PRFs along a profile.