From 3140e44c69ce08b4b8ea030cbee1aa0a6a7a1385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6nig?= Date: Wed, 17 May 2023 08:33:56 +0200 Subject: [PATCH] Fix example in docs and add documentation - Fix the example by adding the line for getting the parameter vector - Linking to the documentation (the small link at the top is often overlooked) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a3c8c416..25603a08 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,10 @@ petabProblem = createPEtabODEProblem(bachmannModel, After defining the parameter vector `θ`, you can compute the cost, gradient, and Hessian with the following code: +```julia +θ = petabProblem.θ_nominalT +``` + ```julia # We only support in-place Hessian and gradients ∇f = zeros(length(θ)) @@ -75,6 +79,8 @@ Using this functionality, you can perform parameter estimation using optimizatio * Handling pre-equilibration and pre-simulation conditions. * Support for models with discrete events and logical operations. +## Documentation +Documentation and tutorials are available at https://sebapersson.github.io/PEtab.jl ## Development team