C# 클래스 GSF.NumericalAnalysis.WaveFit

Linear regression algorithm for sine waves.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
SineFit ( double yValues, double tValues, double frequency ) : SineWave

Uses least squares linear regression to calculate the best fit sine wave for the given data.

메소드 상세

SineFit() 공개 정적인 메소드

Uses least squares linear regression to calculate the best fit sine wave for the given data.
public static SineFit ( double yValues, double tValues, double frequency ) : SineWave
yValues double The y values of the data points.
tValues double The time values of the data points, in seconds.
frequency double The frequency of the sine wave, in Hz.
리턴 SineWave