パラメータ名 Parameter name |
意味 Meaning |
可能なパラメータ値 Allowed parameter values |
デフォルト値 Default value |
inputfiles | 入力として用いる生波形データファイル名。
ファイルはSAC形式の時系列データファイルとする。
通常、複数のファイルであるが、
それらを列挙するのではなく、
日時をパターンとして含む形で命名規則で与える。 The name of the raw waveform data files used as the inputs. Each file must be a time series data file of SAC format. Although multiple files are usually used, do not list them but instead give the naming rule of the file names that includes the patterns corresponding to the date and time. |
ファイル名を表す文字列。ディレクトリパスを含んでいても良い。
以下のパターン文字列を含めることができる。 A string that represents a file name, possibly including the directory path. The patterns listed below can be used.
|
省略不可 Cannot be omitted |
outputfiles | フィルタ後の波形データ(SAC形式)の出力先ファイル名。
入力ファイルと同じ時間区切りが用いられるので通常は複数のファイルになるが、
それらを列挙するのではなく、
日時をパターンとして含む形で命名規則で与える。 The name of the output files for the filtered waveform data (SAC format). Although multiple files are usually created, with the same time sections as the input files, do not list them but instead give the naming rule of the file names that includes the patterns corresponding to the date and time. |
ファイル名を表す文字列。ディレクトリパスを含んでいても良い。
パラメータinputfilesと同様のパターン文字列を含めることができる。 A string that represents a file name, possibly including the directory path. The patterns same as those for parameter inputfiles can be used. |
省略不可 Cannot be omitted |
start | 解析期間の先頭日時。 The beginning date and time of the analysis period. |
「YYYY-MM-DD.hh-mm-ss」の形式の文字列。ここで
A string of “YYYY-MM-DD.hh-mm-ss” format, where
|
省略不可 Cannot be omitted |
end | 解析期間の末尾日時。 The end date and time of the analysis period. |
「YYYY-MM-DD.hh-mm-ss」の形式の文字列。ここで
A string of “YYYY-MM-DD.hh-mm-ss” format, where
|
省略不可 Cannot be omitted |
file_interval | 入力ファイルの時間区切りの長さ(s)。
例えば1時間毎に分割されたファイルを用いる場合は3600となる。 The time length (s) of individual input files. For example, the value is 3600 if the files are divided every 1 hour. |
正の整数。 A positive integer. |
パラメータinputfileに登場するパターン文字列の最小時間単位。
例えばパラメータinputfileに%hhまで登場するなら1時間刻み(3600)、
%mmまで登場するなら1分刻み(60)となる。 The minimum time unit of the pattern strings that appear in parameter inputfile. For example, if the parameter inputfile includes down to %hh then the interval is 1 hour (3600); if %mm is included then 1 min (60). |
lpc | 適用するローパスフィルターのコーナー周波数(Hz)。
(1) The corner frequency (Hz) of the low-pass filter applied. (1) |
正の実数。 A positive real number. |
省略時はローパスフィルター無しとなる。 Omitting this parameter results in no low-pass filter. |
lpn | 適用するローパスフィルターの極の数。 The number of poles of the low-pass filter applied. |
正の整数。 A positive integer. |
2 |
hpc | 適用するハイパスフィルターのコーナー周波数(Hz)。
(1) The corner frequency (Hz) of the high-pass filter applied. (1) |
lpcよりも小さな正の実数。 A positive real number less than lpc. |
省略時はハイパスフィルター無しとなる。 Omitting this parameter results in no high-pass filter. |
hpn | 適用するハイパスフィルターの極の数。 The number of poles of the high-pass filter applied. |
正の整数。 A positive integer. |
2 |
ファイル File |
中身 Content |
data_raw/2023-10-01.sac | 2023年10月1日の24時間の生波形データ。 A 24-hour raw waveform data on October 1, 2023. |
data_raw/2023-10-02.sac | 2023年10月2日の24時間の生波形データ。 A 24-hour raw waveform data on October 2, 2023. |
data_raw/2023-10-03.sac | 2023年10月3日の24時間の生波形データ。 A 24-hour raw waveform data on October 3, 2023. |
… | |
data_raw/2023-11-15.sac | 2023年11月15日の24時間の生波形データ。 A 24-hour raw waveform data on November 15, 2023. |
ファイル File |
中身 Content |
data_filtered/2023-10-01.sac | 2023年10月1日の24時間の波形データ(フィルターを掛けた波形)。 A 24-hour filtered waveform data on October 1, 2023. |
data_filtered/2023-10-02.sac | 2023年10月2日の24時間の波形データ(フィルターを掛けた波形)。 A 24-hour filtered waveform data on October 2, 2023. |
data_filtered/2023-10-03.sac | 2023年10月3日の24時間の波形データ(フィルターを掛けた波形)。 A 24-hour filtered waveform data on October 3, 2023. |
… | |
data_filtered/2023-11-15.sac | 2023年11月15日の24時間の波形データ(フィルターを掛けた波形)。 A 24-hour filtered waveform data on November 15, 2023. |
図1. プログラムのテスト結果。 (a)使用した生波形。 (b)SACを用いてバンドパスフィルターを掛けた波形。 灰色:波形全体が1つのファイルに格納されている場合。 色:波形が5分刻みで別々のファイルに格納されている場合。 (c)灰色は図1bと同じ。 色は5分刻みで別々のファイルに格納されている波形データに対して sacfiles_filter_continuousコマンドを用いてフィルターを掛けた結果。 色の区切りはファイルの区切りを示す。 Fig. 1. The result of checking the program. (a) The raw waveform used for the test. (b) Band-pass filtered waveforms from SAC. Gray is the result from the entire waveform in a single file. Color shows the result from individual 5-min waveforms in separate files. (c) Gray is same as Fig. 1b. Color shows the output of sacfiles_filter_continuous command applied to the 5-min separated waveforms. Different colors represent different files. |