math module started
This commit is contained in:
parent
8730ed0913
commit
e311b47727
0
src/math/__init__.py
Normal file
0
src/math/__init__.py
Normal file
15
src/math/slope.py
Normal file
15
src/math/slope.py
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user