関数TF_add_stfun マニュアル

(The documentation of function TF_add_stfun)

Last Update: 2024/12/27


◆機能・用途(Purpose)

震源時間関数を波形に加算する。
Add a source time function to a waveform.


◆形式(Format)

#include "WIHM_sub/timefunc.h"
inline void TF_add_stfun
(struct sequence seq,const struct sequence stfun,
 const double t0,const double amp)


◆引数(Arguments)

seq 時間関数を加算したい時系列データ。関数内で値が置き換わる。
The time series data to which the time function is to be added. The values of this time series data are replaced within the function.
stfun 震源時間関数\(f(t)\)の波形。
The waveform of a source time function \(f(t)\).
t0 走時\(t_0\)。
A travel time.
amp 振幅係数\(A\)。
The coefficient of amplitude \(A\).


◆動作(Behaviour)

引数seqに\(Af(t-t_0)\)を加算する。
Add \(Af(t-t_0)\) to argument seq.