title: Is there an equivalent of the matlab 'idealfilter' for Python in Scipy (or other libraries)?
body: <p>I am looking for an equivalent of the time series <a href="http://www.mathworks.com/help/matlab/ref/timeseries.idealfilter.html">idealfilter</a> that is implemented in Matlab, for Python. </p>
  
  <p>My goal is to implement an ideal filter using Discrete Cosine Transform as is used in the <a href="http://people.csail.mit.edu/mrub/vidmag/">Eulerian Video Magnification paper</a> in Python in order to obtain the heartbeat of a human being from standard video. I am using their video as my input and I have implemented the bandpass filter method, but I have not been able to find an idealfilter method to use in my script.</p>
  
  <p>They state that they implement an ideal filter using DCT from 0.83 - 1.0Hz.</p>
  
  <p>My problem is that the idealfilter in Matlab takes in as input the cutoff frequencies, but I don't think it is implemented with dct.</p>
  
  <p>In contrast, the DCT filter found in scipy.fftpack does not take in as input the frequency cutoffs. </p>
  
  <p>If I have to use these in some type of succession please let me know.</p>
  
  <p>If such a function equivalent exists I would like to attempt to use it in order to see if it yields similar results to what they have obtained.</p>