Examples¶
Model Examples¶
These are examples of the flexibility of symfit
Models. This is because
essentially any valid sympy
code can be provided as a model. This makes
it very intuitive to define your mathematical models almost as you would on
paper.
- Example: Fourier Series
- Example: Piecewise continuous function
- Example: Polynomial Surface Fit
- Example: ODEModel for Reaction Kinetics
- Example: Multiple species Reaction Kinetics using ODEModel
- Example: Piecewise model using CallableNumericalModel
- Example: ODEModels as subproblems using CallableNumericalModel
- Example: Matrix Equations using Tikhonov Regularization
Objective Examples¶
These are examples on how to use a different objective function from the standard least-squares objective, such as likelihood fitting.
Minimizer Examples¶
These examples demonstrate the different minimizers available in symfit
.
Interactive Guess Module¶
The symfit.contrib.interactive_guess
contrib module was designed to make
the process of finding initial guesses easier, by presenting the user with an
interactive matplotlib
window in which they can play around with the
initial values.