예제 #1
0
        public TransformManager(ITransformer transform, SignalManager sign)
        {
            transformer = transform;
            signal      = sign;
            norm        = new SignalNormalizer();

            FreqSize  = 16;
            StartFreq = 1;
            FreqStep  = 1;

            sign.AddedSignal += (values, index) =>
            {
                UpdateSpectrum();
            };

            sign.DeletedSignal += (values, index) =>
            {
                UpdateSpectrum();
            };

            spectrum = new FreqPoint[0][];
            UpdateSpectrum();
        }
예제 #2
0
 public FourierTransformer()
 {
     norm = new SignalNormalizer();
 }