I am currently working with a signal, and I am interested in plotting its spectra. I have used python, I have computed the signal values, and I have an array that has the time-series values of the signal.
Using the periodogram function from the signal library I am able to compute the power spectra, but when plotting the spectrum against the frequencies, the graph is not smooth.
I would like to have a smooth graph, and from some of the research I've been doing I think applying a filter is needed, however I am not sure what filter I should be using and I would like some information.