sequence/statistics.h マニュアル

(The documentation of sequence/statistics.h)

Last Update: 2025/8/1


sequence/statistics.hでは 時系列データやフーリエスペクトルに関する統計量を計算する関数が定義されている。 このヘッダファイル内で定義されている関数を以下に示す。 各関数の詳細は関数名をクリックしてリンク先を参照のこと。
Functions to compute statistical quantities for a time series data or a Fourier spectrum are defined in sequence/statistics.h. Functions defined in this header file are listed below. For details of individual functions, click the links.

関数名
Function name
対象とする型
Supported structure type
機能・用途
Purpose
sequence_summation struct sequence サンプルの値の和を計算する。
Calculate the summation of the sample values.
imsequence_summation struct imsequence
imsequence2_summation struct imsequence2
sequence_average struct sequence サンプルの値の平均値を計算する。
Calculate the average of the sample values.
imsequence_average struct imsequence
imsequence2_average struct imsequence2
sequence_average_limittime struct sequence 指定した時刻範囲におけるサンプルの値の平均値を計算する。
Calculate the average of the sample values in a specified time window.
sequence_power2_summation struct sequence サンプルの値の絶対値2乗和を計算する。
Calculate the square summation of the absolute values of the sample values.
imsequence_power2_summation struct imsequence
imsequence2_power2_summation struct imsequence2
sequence_power2_summation_smallData struct sequence 指定した個数のサンプル(絶対値が小さい順)のみを用いて サンプルの値の絶対値2乗和を計算する。
Calculate the square summation of the absolute values of the sample values using the specified number of smallest absolute values.
sequence_power2_average struct sequence サンプルの値の絶対値2乗平均を計算する。
Calculate the square average of the absolute values of the sample values.
imsequence_power2_average struct imsequence
imsequence2_power2_average struct imsequence2
sequence_power2_average_limittime struct sequence 指定した時刻範囲におけるサンプルの値の絶対値2乗平均を計算する。
Calculate the square average of the absolute values of the sample values in a specified time window.
sequence_dispersion struct sequence サンプルの値の分散を計算する。
Calculate the dispersion of the sample values.
imsequence_dispersion struct imsequence
imsequence2_dispersion struct imsequence2
sequence_dispersion_limittime struct sequence 指定した時刻範囲におけるサンプルの値の分散を計算する。
Calculate the dispersion of the sample values in a specified time window.
sequence_standard_deviation struct sequence サンプルの値の標準偏差を計算する。
Calculate the standard deviation of the sample values.
imsequence_standard_deviation struct imsequence
imsequence2_standard_deviation struct imsequence2
sequence_standard_deviation_limittime struct sequence 指定した時刻範囲におけるサンプルの値の標準偏差を計算する。
Calculate the standard deviation of the sample values in a specified time window.
sequence_residual struct sequence 2つの時系列データのRMS残差を計算する。
Calculate the root mean square residual of two time series data.
sequence_minindex struct sequence 最小値を探し、対応するサンプル番号を返す。
Search the minimum value, and return the index of the corresponding sample.
sequence_minindex_limittime struct sequence 指定したタイムウインドウ内での最小値を探し、 対応するサンプル番号を返す。
Search the minimum value of a time series data in a specified time window, and return the index of the corresponding sample.
sequence_maxindex struct sequence 最大値を探し、対応するサンプル番号を返す。
Search the maximum value, and return the index of the corresponding sample.
sequence_maxindex_limittime struct sequence 指定したタイムウインドウ内での最大値を探し、 対応するサンプル番号を返す。
Search the maximum value of a time series data in a specified time window, and return the index of the corresponding sample.
sequence_absmaxindex struct sequence 絶対値最大値を探し、対応するサンプル番号を返す。
Search the absolute maximum value, and return the index of the corresponding sample.
imsequence2_absmaxindex struct imsequence2
sequence_absmaxindex_limittime struct sequence 指定した時刻・周波数範囲における絶対値最大値を探し、 対応するサンプル番号を返す。
Search the absolute maximum value in a specified time or spectral window, and return the index of the corresponding sample.
imsequence2_absmaxindex_limitfreq struct imsequence2
sequence_median_limittime struct sequence 指定した時刻範囲におけるサンプルの値の中間値を計算する。
Calculate the median of the sample values in a specified time window.
sequence_trend struct sequence 時系列データを直線でフィットしたときの傾きと切片を求める。
Calculate the slope and intercept of the straight line that best fits a time series data.
sequence_trend_limittime struct sequence 指定した時刻範囲における 時系列データを直線でフィットしたときの傾きと切片を求める。
Calculate the slope and intercept of the straight line that best fits a time series data in a specified time window.
sequence_trend_moving_window struct sequence 時系列データを直線でフィットしたときの傾きと切片を 時間窓を移動させながら計算する。
Calculate the slope and intercept of the straight line that best fits a time series data in a moving time window.
sequence_fit_by_bending_line struct sequence 時系列データを折れ線でフィットしたときの折れ曲がり点での値を求める。
Calculate the values at the bending points of a bending line that best fits a time series data.
sequence_cumul_probability_diff_Gaussian struct sequence 実際の時系列データの絶対値振幅の累積確率分布と、 時系列データが正規分布に従うランダムノイズである場合に理論的に期待される 絶対値振幅の累積確率分布 とのRMS残差を計算する。
Compute the root mean square residual between an actual cumulative frequency distribution of the absolute amplitudes of an observed time series data and a theoretical cumulative probability distribution of the absolute amplitudes of a time series data that obeys a normal distribution.