関数write_sac_timeseq マニュアル

(The documentation of function write_sac_timeseq)

Last Update: 2025/8/8


◆機能・用途(Purpose)

等間隔サンプリングのSAC時系列データをファイルに出力する。
Output an evenly sampled SAC time series data to a file.


◆形式(Format)

#include <sac/readwrite.h>
inline void write_sac_timeseq (const char ∗filename,struct sac_timeseq data)


◆引数(Arguments)

filename 出力ファイル名。
The output file name.
data 出力するSAC時系列データ。 メンバheader.name.h085_IFTYPE (SACヘッダNo. 85: IFTYPE) の値が グローバル変数sacenum_itimeの値と一致し、 かつメンバdata.header.name.h105_LEVEN (SACヘッダNo. 105: LEVEN) の値がTRUE (1)でなければならない。
The SAC time series data to output. The value of member header.name.h085_IFTYPE (which represents a SAC header No. 85: IFTYPE) must be identical to the value of a grobal variable sacenum_itime, and the value of member data.header.name.h105_LEVEN (which represents a SAC header No. 105: LEVEL) must be TRUE (1).


◆動作(Behaviour)

引数dataで与えたSAC時系列データを引数filenameで指定したファイルに SAC時系列データ形式で出力する。
Output the SAC time series data given by argument data into a file specified by argument filename with a SAC time series data format.


◆使用例(Example)

struct sac_timeseq data;
write_sac_timeseq("data.sac",data);