diff --git a/src/math/__init__.py b/src/math/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/math/slope.py b/src/math/slope.py new file mode 100644 index 0000000..3cc4c28 --- /dev/null +++ b/src/math/slope.py @@ -0,0 +1,15 @@ +''' +Created on Dec 20, 2016 + +@author: klaehn +''' + +import numpy as np + +def calc_slope(x, y, x_dist): + """ + Calculate the slope of a curve given by x and y arrays. The x_distance + gives the start and end point for the slope. + Returns x and y arrays of the slope + """ + return