public DisplayMasterData ( double cavityData, double masterData ) : void | ||
cavityData | double | |
masterData | double | |
return | void |
private void updateGUIForMasterLaser(MasterLaser laser, double[] rampData) { double[] laserScanData = laser.LatestScanData; if (laser.Fit != null) { double[] fitPoints = CavityScanFitHelper.CreatePointsFromFit(rampData, laser.Fit); ui.DisplayMasterData(laser.ParentCavity.Name, rampData, laserScanData, fitPoints); if (laser.IsLocked) { double summedVoltage = laser.CurrentVoltage; ui.SetSummedVoltageTextBox(laser.ParentCavity.Name, summedVoltage); ui.SetVoltageIntoCavityTextBox(laser.ParentCavity.Name, summedVoltage + laser.Fit.Centre); } } else { ui.DisplayMasterData(laser.ParentCavity.Name, rampData, laserScanData); } }
private void plotMaster(CavityScanData data, double[] MasterFit) { double[] cavity = data.GetCavityData(); double[] master = data.GetMasterData(); ui.DisplayMasterData(cavity, master, CavityScanFitHelper.CreatePointsFromFit(cavity, MasterFit)); }