public static GatedDemodulationConfig MakeLiveAnalysisGateConfig()
        {
            GatedDemodulationConfig gateConfig = new GatedDemodulationConfig();

            gateConfig.Name = "Live analysis gate set";
            gateConfig.AddGate("asymmetry", new Gate(gateConfig.LiveAnalysisGateTimeStartScaled, gateConfig.LiveAnalysisGateTimeEndScaled, false));
            gateConfig.AddGate("bottomProbeScaled", new Gate(gateConfig.LiveAnalysisGateTimeStartScaled, gateConfig.LiveAnalysisGateTimeEndScaled, true));
            gateConfig.AddGate("topProbeNoBackground", new Gate(gateConfig.LiveAnalysisGateTimeStartScaled, gateConfig.LiveAnalysisGateTimeEndScaled, true));
            gateConfig.AddGate("magnetometer", new Gate(1000, 1800, false));
            gateConfig.AddGate("gnd", Gate.WideGate());
            gateConfig.AddGate("battery", Gate.WideGate());
            gateConfig.AddGate("rfCurrent", Gate.WideGate());
            gateConfig.AddGate("reflectedrf1Amplitude", Gate.WideGate());
            gateConfig.AddGate("reflectedrf2Amplitude", Gate.WideGate());
            gateConfig.AddGate("bottomProbeNoBackground", new Gate(2390, 2490, true));
            gateConfig.AddGate("bottomProbe", new Gate(2390, 2490, true));
            gateConfig.AddGate("topProbe", new Gate(gateConfig.LiveAnalysisGateTimeStartScaled, gateConfig.LiveAnalysisGateTimeEndScaled, true));

            return(gateConfig);
        }
        public static GatedDemodulationConfig MakeStandardWideGateConfig()
        {
            GatedDemodulationConfig gateConfig = new GatedDemodulationConfig();

            gateConfig.Name = "Standard gate set";
            gateConfig.AddGate("asymmetry", Gate.WideGate());
            gateConfig.AddGate("bottomProbeScaled", Gate.WideGate());
            gateConfig.AddGate("topProbeNoBackground", Gate.WideGate());
            gateConfig.AddGate("magnetometer", new Gate(1000, 1800, false));
            gateConfig.AddGate("gnd", Gate.WideGate());
            gateConfig.AddGate("battery", Gate.WideGate());
            gateConfig.AddGate("rfCurrent", Gate.WideGate());
            gateConfig.AddGate("reflectedrf1Amplitude", Gate.WideGate());
            gateConfig.AddGate("reflectedrf2Amplitude", Gate.WideGate());
            gateConfig.AddGate("bottomProbeNoBackground", Gate.WideGate());
            gateConfig.AddGate("bottomProbe", Gate.WideGate());
            gateConfig.AddGate("topProbe", Gate.WideGate());

            return(gateConfig);
        }
 public void AddGatedDemodulationConfig(GatedDemodulationConfig gateConfig)
 {
     gatedDemodulationConfigs.Add(gateConfig);
 }