Skip to content

Instantly share code, notes, and snippets.

View yasuit21's full-sized avatar

Yasunori Sawaki yasuit21

View GitHub Profile
@yasuit21
yasuit21 / respaz.py
Last active July 11, 2021 06:58
Manipulate seismometer response and PAZ (poles and zeros) file
### respaz.py
### Manipulate seismometer response or PAZ (poles and zeros) file
###
### July 09, 2021 Yasu Sawaki
### July 11, 2021 `load_resp` can retrieve the total seosor sensitivity
from pathlib import Path
@yasuit21
yasuit21 / spectrogram.py
Created July 6, 2021 14:13
Spectrogram for seismology based on obspy.imaging.spectrogram
### spectrogram.py
### Plot detailed spectrogram for seismology
### based on `obspy.imaging.spectrogram`.
###
### Last editted: Aug 09, 2020
import matplotlib.pyplot as plt
from matplotlib.gridspec import GridSpec
from matplotlib.ticker import ScalarFormatter