Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 public void AddGatedDetector(string detector, Gate gate)
 {
     _gatedDetectorList.Add(detector);
     _gateConfig.AddGate(detector, gate);
 }