PlotAveragePMTOff() public méthode

public PlotAveragePMTOff ( double x, double y ) : void
x double
y double
Résultat void
Exemple #1
0
        private void UpdatePMTAveragePlots()
        {
            Scan averageScan = Controller.GetController().DataStore.AverageScan;

            if (averageScan.Points.Count == 0)
            {
                return;
            }
            window.SpectrumAxes = new NationalInstruments.UI.Range(averageScan.MinimumScanParameter,
                                                                   averageScan.MaximumScanParameter);
            window.PlotAveragePMTOn(averageScan.ScanParameterArray,
                                    averageScan.GetTOFOnIntegralArray(0,
                                                                      startTOFGate, endTOFGate));
            Profile p = Controller.GetController().ProfileManager.CurrentProfile;

            if (p != null && (bool)p.AcquisitorConfig.switchPlugin.Settings["switchActive"])
            {
                window.PlotAveragePMTOff(averageScan.ScanParameterArray,
                                         averageScan.GetTOFOffIntegralArray(0,
                                                                            startTOFGate, endTOFGate));
                window.PlotAverageDifference(averageScan.ScanParameterArray,
                                             averageScan.GetDifferenceIntegralArray(0,
                                                                                    startTOFGate, endTOFGate));
            }
        }