0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

for てごし

Last updated at Posted at 2021-02-17
seis.py
import obspy
from obspy import read
from matplotlib import pylab as plt
import numpy as np
import function

samplerate = 100 #サンプリング周波数

st = read('1912011200_N.MMOH_U.s', debug_headers=True)#このファイルはメールで送るます
data = st[0].data

# tは時間方向での離散値.stの長さをサンプルレートで切っているので,サンプル数分の配列になってます.
t = np.arange(0, len(data))/samplerate

plt.plot(t,data)
plt.show()
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?