NsecondBlock | 秒ブロックの個数。
関数orderWinData
に第2引数として渡して値を設定したものを渡すこと。
関数win_countSecondBlock
の戻り値をそのまま渡してはならない。 The number of second blocks. This value must be determined from the 2nd argument of function orderWinData, NOT from the return value of function win_countSecondBlock. |
winData |
関数win_eraseDifferentSamplingRateData
を用いて作成したWINデータ(秒ブロックのデータを並べた配列)。
秒ブロックが時刻順に並んでおり、欠損や重複が無く、
チャンネルの登場順も全ての秒ブロックで共通であり、
1つのチャンネルの中でサンプリングレートが途中で変わらない
という条件を満たしたデータを与える必要があるため、
別の関数で得たWINデータを与えてはならない。 A WIN data (an array composed of the data of second blocks) created by function win_eraseDifferentSamplingRateData. Never give WIN data created by other functions because this data must satisfy the following requirements: the second blocks are sorted in time order without defects nor duplication, the order of channels is common among all second blocks, and the sampling rate of each channel does not change. |
channelTable | チャンネルテーブルのデータ。
関数sortWinData
に第3引数として渡したものと同じデータを用いること。 A channel table data equivalent to what was used for the 3rd argument of function sortWinData. |
l | SAC形式に変換したいチャンネルの番号。
チャンネルコードではなく、引数channelTable(第3引数)のメンバcontentsの
配列要素番号を与える。 An index of a channel to convert to SAC format; not a channel code but an array index of member contents of argument channelTable (3rd argument). |
samplingRate | SAC形式に変換したいチャンネルの正しいサンプリングレート(Hz)。 The correct sampling rate (Hz) of the channel to convert to SAC format. |
メンバ Member |
値 Value |
header | 関数wintosac_set_header
の戻り値。 The return value of function wintosac_set_header. |
data.size | samplingRate∗NsecondBlock |
data.t0 | 0.0 |
data.dt | 1.0/samplingRate |
各nに対するdata.value[n] data.value[n] for each n |
|