sac_dataサブパッケージ マニュアル

(The documentation of sac_data sub package)

Last Update: 2023/11/30


sac_dataサブパッケージには Seismic Analysis Code (SAC)のデータファイルに対して様々な処理を行うプログラム が格納されている このサブパッケージ内のプログラムを以下に示す。 各プログラム(コマンド)の詳細はリンクをクリックして参照のこと。
Programs to perform various operations for data files of Seismic Analysis Code (SAC) are included in sac_data sub package. Programs in this sub package are listed below. For details of individual programs (commands), click the links.

プログラム(コマンド)名
Program (command) name
機能・用途
Purpose
sac_timeseq2sequence 等間隔サンプリングのSAC時系列データファイルを ymaeda_opentools独自の時系列データファイル形式 に変換する。
Convert an evenly sampled SAC time series data file to a special file format of ymaeda_opentools for time series data.
sequence2sac_timeseq ymaeda_opentools独自のファイル形式 で書かれた時系列データをSAC形式に変換する。
Convert a time series data written in a special file format of ymaeda_opentools to SAC format.
sacfile_1bit SAC時系列データファイルを読み込んで 非負の値を\(+1.0\)に、負の値を\(-1.0\)に置き換える(1bit化)。
Read a SAC time series data file and replace non-negative and negative values with \(+1.0\) and \(-1.0\), respectively (1-bit normalization).
sacfile_3values SAC時系列データファイルを読み込んで 正の値を\(+1.0\)に、0に非常に近い値を\(0.0\)に、 負の値を\(-1.0\)に置き換える(3値化)。
Read a SAC time series data file and replace positive and negative values with \(+1.0\) and \(-1.0\), respectively, while values proximal to 0.0 are replaced by 0.0 (normalization to 3 values).
sacfile_normalize_by_moving_ave SAC時系列データファイルを読み込み、移動平均を用いて振幅を規格化する。
Read a SAC time series data file and normalize the amplitudes by moving averages.
sacfile_whiten SAC時系列データファイルを読み込んで 周波数成分を白色化する。
Read a SAC time series data file and whiten the frequency contents.
sacfile_findpeak SAC時系列データファイルを読み込んで 極大値、極小値をリストアップする。
Read a SAC time series data file and list local maxima and minima.
sacfile_finddefect SAC時系列データファイルに含まれる欠損(を埋めたダミーデータ)を検出する。
Detect the defects (filled with dammy data) in a SAC time series data file.
sacfile_integral SAC時系列データを読み込んで積分する。
Read a SAC time series data file and integrate the time series data.
sacfile_differentiate SAC時系列データを読み込んで微分する。
Read a SAC time series data file and differentiate the time series data.
sacfile_make_particle_motion 同じ観測点の2つの異なる成分のSAC時系列データファイルを読み込んで 粒子軌跡(パーティクルモーション)用に合体したデータを作成する。
Read SAC time series data files from two different components at the same station, and create a merged data for particle motion.
sacfile_decimate SAC時系列データのサンプル間隔を間引く。
Resample the samples of a SAC time series data.
sacfile_interpolate SAC時系列データの補間を行う。
Interpolate a SAC time series data.
sacrotate SAC時系列データの水平2成分を用いて 方位を回転させた時系列データを作成する。
Create time series data by rotating the directions from two horizontal components of original time series data.
sacfile_correlation 2つのSAC時系列データの相互相関関数を計算する。
Compute the cross correlation function (CCF) between two SAC time series data.
sacfile_correlation_noshift 2つのSAC時系列データの相関係数(ラグタイム0)を計算する。
Compute the correlation coefficient (zero lag time) between two SAC time series data.
sacfile_best_correlation 2つのSAC時系列データの相互相関関数の値を最大にするラグタイムを計算する。
Compute the lag time at which the cross correlation function (CCF) between two SAC time series data takes the maximum value.
sacfile_remove_mean SAC時系列データから平均値を差し引く。 一部の区間のみの平均値を差し引くこともできる。
Subtract the mean (either in the entire or partial time windows) from a SAC time series data.
sacfile_remove_trend SAC時系列データから線形トレンドを差し引く。 一部の区間のみの線形トレンドを差し引くこともできる。
Subtract the linear trend (either in the entire or partial time windows) from a SAC time series data.
sacfile_remove_median SAC時系列データから中間値を差し引く。
Subtract the median from a SAC time series data.
sacfile_getValue_givenTime SAC時系列データから指定した1つの時刻における値を取り出す。
Extract the value of a SAC time series data at a given time.
check_polezero poleとzeroのファイルをチェックする。
Check a file of poles and zeros.
sacfiles_filter_continuous 複数ファイルに分割されたSAC時系列データを 1つの連続する時系列データと見なしてフィルターを掛ける。
Apply a filter to a continuous SAC time series data that is separated into multiple files.
sacfiles_integral_continuous 複数ファイルに分割されたSAC時系列データを 1つの連続する時系列データと見なして積分する。
Apply a temporal integration to a continuous SAC time series data that is separated into multiple files.