How to approximate a noisy spectrum

I would try a smoothing spline. There are a number of packages for this in Julia. I tend to using SmoothingSplines.jl.

For more ideas a number of people posted here.

1 Like