Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cslotboom committed Oct 30, 2022
1 parent 377b440 commit 5346574
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
17 changes: 7 additions & 10 deletions doc/readthedocs/hysteresis/baseFuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ def concatenateHys(curves):
Parameters
----------
argv : SimpleCycle objects, or XY data
A number of monotonic cycle objects to be combined into a hysteresis.
These curves should be
curves : a list of SimpleCycle objects, or XY data
A number of curve objects to be combined into a hysteresis.
These curves either be 2D list/arrays, or objects with a xy attribute.
Returns
-------
Expand Down Expand Up @@ -140,23 +140,20 @@ def _RemoveNeg(x, y, direction):

def removeNegative(Curve):
"""
Removed values where the curve moves
Removed values where the curve moves "backwards".
Parameters
----------
Curve : TYPE
DESCRIPTION.
Curve : Hystersis Curve or array
The input curve to remove negative values for.
Returns
-------
Output : TYPE
DESCRIPTION.
"""

"""
Removes intermitent negative values in a simple curve.
"""



# Get sample parameters, then pass those to the new curve.
Expand Down
17 changes: 7 additions & 10 deletions src/baseFuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ def concatenateHys(curves):
Parameters
----------
argv : SimpleCycle objects, or XY data
A number of monotonic cycle objects to be combined into a hysteresis.
These curves should be
curves : a list of SimpleCycle objects, or XY data
A number of curve objects to be combined into a hysteresis.
These curves either be 2D list/arrays, or objects with a xy attribute.
Returns
-------
Expand Down Expand Up @@ -140,23 +140,20 @@ def _RemoveNeg(x, y, direction):

def removeNegative(Curve):
"""
Removed values where the curve moves
Removed values where the curve moves "backwards".
Parameters
----------
Curve : TYPE
DESCRIPTION.
Curve : Hystersis Curve or array
The input curve to remove negative values for.
Returns
-------
Output : TYPE
DESCRIPTION.
"""

"""
Removes intermitent negative values in a simple curve.
"""



# Get sample parameters, then pass those to the new curve.
Expand Down

0 comments on commit 5346574

Please sign in to comment.