C# Class TransferCavityLock.CavityScanFitHelper

Show file Open project: ColdMatter/EDMSuite Class Usage Examples

Public Methods

Method Description
FitLorenzianToMasterData ( CavityScanData data, double limitLow, double limitHigh ) : double[]
FitLorenzianToSlaveData ( CavityScanData data, double limitLow, double limitHigh ) : double[]

Private Methods

Method Description
fitFailSafe ( double coefficients, double limitLow, double limitHigh ) : double[]
getMax ( double data ) : dataPoint
getMin ( double data ) : dataPoint

Method Details

FitLorenzianToMasterData() public static method

public static FitLorenzianToMasterData ( CavityScanData data, double limitLow, double limitHigh ) : double[]
data CavityScanData
limitLow double
limitHigh double
return double[]

FitLorenzianToSlaveData() public static method

public static FitLorenzianToSlaveData ( CavityScanData data, double limitLow, double limitHigh ) : double[]
data CavityScanData
limitLow double
limitHigh double
return double[]