# Are there any filters that look (vaguely) like this?

I'm trying to determine the effect of a particular non-linear process on my data. From simulations, I can measure the power spectra of "ideal" and "processed" images and take their ratio, which (I think) should correspond to some sort of filter or filtering process.

So, are there any filters, or filtering processes, that look (vaguely) like the attached plots? The two plots are the same data in linear-linear (left) and log-log (right) space.

More detail: I have a pipeline that takes timestream data where each point on the timestream is associated with a point in an image. Some "cleaning" (PCA subtraction) is performed on the timestreams before creating the images. My goal is to determine the effect the timestream processing has on the resulting image, with the end goal being to replicate the effect on images for which no comparable timestream data is available. The data is coming from bolometer arrays and these are images of the sky at millimeter wavelengths.

Here are the simulated images. Left is before, right is after processing. The spiky points around the edges are where there is no timestream data.

I would approximate the filter using an finite impulse design where the wrights of the FIR filter are computed based on the spectrum that the filter passes. You can do this by choosing samples of the desired frequency response (from the graphs above) and taking the inverse discrete Fourier transform of the samples. The result will be the impulse response of the desired filter. The filter is then realized as a weighted sum using the impulse response sample values as the weights. So your filter will be $A_0 + A_1Z^{-1} + A_2Z^{-2}...$ Where $A_0$ is the first value of the impulse response, $A_1$ is the second and so on. $Z^{-n}$ represents a sample delay of n (coming from a Z domain representation of the filter structure). This approach is sometimes referred to as the "frequency sampling" approach to FIR filter design. I have used this approach to create time sequences that contain specific spectral content. Google FIR filter design, frequency sampling.