Try looking up Fast Fourier Transforms. That will convert your signal to an array of frequency magnitudes, you can attenuate the lower frequencies, and then reverse-FFT back to the filter signal.
Many sensors have a small analog signal that rides on top of a larger dc pedestal. For these circuits (Fig. 1), the signal must be ac coupled and amplified before it’s digitized. The feedback of an ...