C# Class TransferCavityLock2012.CavityScanFitHelper

Afficher le fichier Open project: ColdMatter/EDMSuite Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

CreatePointsFromFit() public static méthode

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
Résultat double[]

FitLorenzianToData() public static méthode

public static FitLorenzianToData ( double voltages, double signal ) : double[]
voltages double
signal double
Résultat double[]