Open ndisner opened 3 years ago
Orthogonal distance regression: https://docs.scipy.org/doc/scipy/reference/odr.html
This article on RealPython has some good info on how to use pandas to explore datasets. I think this might be a good approach for exploring the data you get from running a bunch of simulations with different parameters. Once you run a bunch, and have code to extract the frequency, you can apply your function to all of the simulations at once using pandas.
Find a way to extract the frequency based on a given mass and spring constant. Helpful tools that might want to use are least squares fit in spicy