Skip to content

Instantly share code, notes, and snippets.

@jamm1985
jamm1985 / wave_plots.py
Last active July 25, 2020 04:50
Simple waveforms (from various earthquakes) plot with trace differentiation, normalization.
"""
File: wave_plots.py
Author: Andrey Stepnov
Email: [email protected], [email protected]
Github: https://github.com/jamm1985
Description: puts waveforms from different earthquakes in single plot using obspy and matplotlib
"""
from obspy import read
from obspy import UTCDateTime
@jamm1985
jamm1985 / .vimrc
Last active July 29, 2024 11:35
Vim configuration as Python IDE (and also C, tex/latex and Julia)
" -- global section --
set encoding=utf-8
" colors
syntax enable
" colorscheme vimbrains "~/.vim/colors/vimbrains.vim (fallback colors)
" modern vim
set nocompatible
@jamm1985
jamm1985 / catalog.py
Last active July 24, 2020 06:27
Aggregate (count) catalog data by year/month and plot it
"""
File: catalog.py
Author: Andrey Stepnov
Email: [email protected], [email protected]
Github: https://github.com/jamm1985
Description: Aggregate (count) catalog data by year/month and plot it
Catalog sources: https://earthquake.usgs.gov, https://eqalert.ru
"""