C# Class TransferCavityLock2012.CavityScanFitHelper

Mostrar archivo Open project: ColdMatter/EDMSuite Class Usage Examples

Public Methods

Method Description
CreatePointsFromFit ( double cavityVoltages, double fitCoefficients ) : double[]

A helper function. generates a bunch of points from a some fit coefficients.

FitLorenzianToData ( double voltages, double signal ) : double[]

Private Methods

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

Method Details

CreatePointsFromFit() public static method

A helper function. generates a bunch of points from a some fit coefficients.
public static CreatePointsFromFit ( double cavityVoltages, double fitCoefficients ) : double[]
cavityVoltages double
fitCoefficients double
return double[]

FitLorenzianToData() public static method

public static FitLorenzianToData ( double voltages, double signal ) : double[]
voltages double
signal double
return double[]