2021年1月16日星期六

Python: How can I test for a relatively straight line in a series of cubic lines?

I have a collection of curved lines, representing the third degree polynomial line of best fit for some datasets.

I want to differentiate relatively flat lines, filtering these plots, for further analyses.

For example I want to filter subplots 20935, 21004, 21010, 18761, 21037.

How can I do this, with a list of floats as input for these lines?

(using Python 3.8, Numpy, Math, mathplotlib in an anaconda env)

https://stackoverflow.com/questions/65756178/python-how-can-i-test-for-a-relatively-straight-line-in-a-series-of-cubic-lines January 17, 2021 at 08:35AM

没有评论:

发表评论