Hysteresis Documentation
Hysteresis is a library of tools for non-functional curves, with a emphasis on force-deformation hysteresis curves.
Install using:
pip install hysteresis
A simple script is shown below:
# import numpy and hysteresis
import numpy as np
import hysteresis as hys
# Create a simple non-functional curve
t = np.linspace(0,4,1000)*np.pi
x = np.sin(t)
y = np.cos(t)*t
xy = np.column_stack([x,y])
# Create a hysteresis object and plot it
myHys = hys.Hysteresis(xy)
myHys.plot(plotCycles = True)
Developed by
Christian Slotboom https://github.com/cslotboom/Hysteresis.
M.A.Sc. Structural Engineering
Engineer in Training