public override List <SignalSample> GetSamples()
        {
            SquareGenerator square  = new SquareGenerator(0.2d, 3d, 0d, 0.2d);
            SignalSampler   sampler = new SignalSampler(square);

            return(sampler.GetSamples(20d, 0.1d));
        }
示例#2
0
        public override List <SignalSample> GetSamples()
        {
            TriangleGenerator triangle = new TriangleGenerator(0.1d, 1d, 1d);
            SignalSampler     sampler  = new SignalSampler(triangle);

            return(sampler.GetSamples(20d, 0.1d));
        }
        public override List <SignalSample> GetSamples()
        {
            SawGenerator  saw     = new SawGenerator(0.1d, 5d, -1d);
            SignalSampler sampler = new SignalSampler(saw);

            return(sampler.GetSamples(20d, 0.1d));
        }
示例#4
0
        public override List <SignalSample> GetSamples()
        {
            SineGenerator sine    = new SineGenerator(0.2d, 2d, 1d, 90d);
            SignalSampler sampler = new SignalSampler(sine);

            return(sampler.GetSamples(20d, 0.1d));
        }
        public override List <SignalSample> GetSamples()
        {
            StepsGenerator steps    = new StepsGenerator(new double[] { 3d, 10d, 14d }, new double[] { 1d, 4d, -2d });
            SignalSampler  samplers = new SignalSampler(steps);

            return(samplers.GetSamples(20d, 0.1d));
        }