Beispiel #1
0
        public void RefreshErrorParametersOnUI(string name)
        {
            double oldSD = ui.GetLaserSD(name);
            double newSD = Math.Pow(((Math.Pow(oldSD, 2) * 49 + Math.Pow(1500 * (fits[name + "Fits"][1] - fits["masterFits"][1] - SlaveLasers[name].LaserSetPoint) / config.FSRCalibrations[name], 2)) / 50), 0.5);

            ui.SetLaserSD(name, newSD);
        }