code: def filtered_image(self, im):
          
          q = np.fft.fftn(im)
          for k,v in self.filters:
              q[k] -= v
          return np.real(np.fft.ifftn(q))
docs: Returns a filtered image after applying the Fourier-space filters