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