Package ips.dsp

Class FIRFilterSimple

  • All Implemented Interfaces:
    FloatStream

    public class FIRFilterSimple
    extends java.lang.Object
    implements FloatStream
    Author:
    klausj
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      int read​(double[] buf, int offset, int len)  
      long skip​(long skip)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FIRFilterSimple

        public FIRFilterSimple​(FloatStream srcStream,
                               double[] coeff)
    • Method Detail

      • read

        public int read​(double[] buf,
                        int offset,
                        int len)
                 throws java.io.IOException
        Specified by:
        read in interface FloatStream
        Throws:
        java.io.IOException
      • skip

        public long skip​(long skip)
        Specified by:
        skip in interface FloatStream
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface FloatStream
        Throws:
        java.io.IOException