Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.7 KB

README.md

File metadata and controls

55 lines (35 loc) · 1.7 KB

ParameterEstimation.jl

Tests Documentation

GitHub release GitHub stars

Symbolic-Numeric package for parameter estimation in ODEs

Installation

Currently is installable via

using Pkg
Pkg.add(url="https://github.com/orebas/ParameterEstimation.jl")

The production version of this fork is installable via

using Pkg
Pkg.add("ParameterEstimation.jl")

Toy Example

using ParameterEstimation
using ModelingToolkit

# Input:
# -- Differential model
@parameters mu
@variables t x(t) y(t)
D = Differential(t)
@named Sigma = ODESystem([D(x) ~ -mu * x],
                         t, [x], [mu])
outs = [y ~ x^2 + x]

# -- Data
data = Dict(
  "t"     => [0.000, 0.333, 0.666, 1.000],
  x^2 + x => [2.000, 1.563, 1.229, 0.974])

# Run
res = estimate(Sigma, outs, data);