The deformation_models package is a tool for learning about phenomenological
models of transient deformation (so called spring-dashpot models). It is meant
to be used alongside a forthcoming Jupyter book tutorial, but at present there
are a couple of notebooks in this repository (see below).
To install from the pypi repository with dependencies required for the
examples:
pip install "deformation-models[examples]"A number of deformation models are available at present:
from deformation_models import SLS, AndradeModel, Burgers, MaxwellModelEach of the models represents a phenomenological model (SLS above is standard linear solid). To use them, you generally supply values for the unrelaxed compliance and maxwell time scales for the various components making up each model, check the help for each for what is required.
In addition to the forthcoming jupyter book, this repository has a few examples: