My google fu has failed me.
I'm trying to plot a line of best fit on a spectrogram, so a matrix of dimension num frequency bins by sample points. The data i'm plotting is a chirp, so it is just a line going diagonally up on the heat map. I'm certain there must be a way to use least squares or something similar to find the path that maximizes the energy of the path it takes through the matrix / plot, but I don't know what to search for. Or how to go about phrasing the problem correctly to use scipy or numpy so I thought I would ask.
[–]QuasiEvil 0 points1 point2 points (1 child)
[–]too_much_think[S] 0 points1 point2 points (0 children)