Skip to content

Commit 52a1957

Browse files
committed
Moving away from using term 'tutorial'
1 parent 8fb6440 commit 52a1957

34 files changed

+101
-70
lines changed

ion-currents-tutorial/README.md renamed to ion-currents/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
11
[↩ back to index](../README.md)
22
# Estimating parameters of ion current models from whole-cell voltage-clamp data
33

4-
In this tutorial, we look at the problem of estimating the parameters of an ion current model from whole-cell voltage-clamp data.
4+
In these notebooks, we look at the problem of estimating the parameters of an ion current model from whole-cell voltage-clamp data.
55

66
As we go along, we'll create some classes and utility functions that may be useful in general.
77
These are all stored in [library.py](./library.py).
88

99
The follow topics are covered:
1010

11-
## [Introduction](introduction.ipynb)
11+
## [Introduction](introduction.ipynb) - [nbviewer](https://nbviewer.jupyter.org/github/CardiacModelling/fitting-notebooks/blob/main/ion-currents/introduction.ipynb)
1212

13-
This tutorial provides some background on the model we'll use throughout the tutorial.
13+
This notebook provides some background on the model we'll use in all examples.
1414
It also introduces a first voltage-protocol (a simplified variant of the "staircase protocol").
1515

16-
## [Basic simulations](basic-simulations.ipynb)
16+
## [Basic simulations](basic-simulations.ipynb) - [nbviewer](https://nbviewer.jupyter.org/github/CardiacModelling/fitting-notebooks/blob/main/ion-currents/basic-fitting.ipynb)
1717

18-
This tutorial shows how Myokit can be used to simulate patch-clamp experiments.
18+
This notebook shows how Myokit can be used to simulate patch-clamp experiments.
1919
It shows you how to create a simulation from a model and protocol stored on disk, and discusses how to change model parameters.
2020
Finally, it shows how steady-states can be calculated and set as initial conditions.
2121

2222
## [Basic fitting](basic-fitting.ipynb)
2323

24-
In this tutorial we link Myokit to PINTS.
24+
In this notebook we link Myokit to PINTS.
2525
Noise models are discussed and synthetic data is generated, after which an error measure is defined and minimised.
2626
Inspecting the results, we show how tight solver tolerances are needed for fitting, and how the finite size of our experimental time series can cause a slight bias in the results.
2727

2828
## Fitting to different voltage protocols
2929

3030
The next four notebooks discuss different voltage protocols, and the simulation methods appropriate to each one.
3131

32-
- [Combining step protocols with sine waves or ramps](more-protocols-1-steps-and-ramps.ipynb)
32+
- [Combining step protocols with sine waves or ramps](more-protocols-1-steps-and-ramps.ipynb) - [nbviewer](https://nbviewer.jupyter.org/github/CardiacModelling/fitting-notebooks/blob/main/ion-currents/more-protocols-1-steps-and-ramps.ipynb)
3333
- [Simulating an AP protocol with "data clamp"](more-protocols-2-data-clamp.ipynb)
3434
- [Analytical solvers for simple step protocols](more-protocols-3-analytic-solvers.ipynb)
3535
- [Fitting to multiple simple step protocols](more-protocols-4-multiple-protocols.ipynb)
3636

3737
## [Setting boundaries on model parameters](boundaries.ipynb)
3838

39-
In this tutorial we show how some parameters can cause numerical issues during simulation, and how we can catch and report these errors.
39+
In this notebook we show how some parameters can cause numerical issues during simulation, and how we can catch and report these errors.
4040
We then inspect the model equations and use previous estimates of our parameters (or quantities related to the parameters) to define some very wide boundaries, or "prior estimates".
4141
Finally, we show how we can use this kind of reasoning to define univariate boundaries (one on each parameter), and multivariate boundaries (which restrict the maximum rate coefficients seen during a simulation).
4242

4343
## [Selecting starting points for an optimisation](starting-points.ipynb)
4444

45-
Continuing from the previous tutorial, this tutorial shows how we can sample from within the (univariate and multivariate) boundaries to select starting points for an optisiation.
46-
At the end of this tutorial we briefly discuss a "repeated-fits" strategy which allows you to test the reliability of results obtained on real data, where the "true" parameters are not known.
45+
Continuing from the previous chapters, this notebook shows how we can sample from within the (univariate and multivariate) boundaries to select starting points for an optisiation.
46+
At the end of this notebook we briefly discuss a "repeated-fits" strategy which allows you to test the reliability of results obtained on real data, where the "true" parameters are not known.
4747

4848
## [Searching in a transformed space](transformations.ipynb)
4949

50-
This tutorial shows how you can create wrappers around models and boundaries to run optimisations on a transformed parameter space.
50+
This notebook shows how you can create wrappers around models and boundaries to run optimisations on a transformed parameter space.
5151

5252
## [Running big fitting experiments](big-fitting.ipynb)
5353

54-
This tutorial focusses on the practical side of fitting.
54+
This notebook focusses on the practical side of fitting.
5555
It introduces methods to store simulation results to disk, load and analyse them, and shows a way to "reserve" filenames when multiple processes are running at once.
5656
It ends with a brief note on multiprocessing.
5757

ion-currents-tutorial/basic-fitting.ipynb renamed to ion-currents/basic-fitting.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"# First steps: a synthetic data study\n",
88
"\n",
9-
"In this part of the tutorial, we'll take a [myokit.Simulation](https://myokit.readthedocs.io/api_simulations/Simulation.html) and wrap it in a [pints.ForwardModel](https://pints.readthedocs.io/en/latest/core_classes_and_methods.html#forward-model).\n",
9+
"In this notebook, we'll take a [myokit.Simulation](https://myokit.readthedocs.io/api_simulations/Simulation.html) and wrap it in a [pints.ForwardModel](https://pints.readthedocs.io/en/latest/core_classes_and_methods.html#forward-model).\n",
1010
"We'll then use this ForwardModel to generate some data, add synthetic noise, and set up a [pints.SingleOutputProblem](https://pints.readthedocs.io/en/latest/core_classes_and_methods.html#pints.SingleOutputProblem).\n",
1111
"Finally, we'll define an [ErrorMeasure](https://pints.readthedocs.io/en/latest/error_measures.html#pints.ErrorMeasure) on this problem and use an [Optimiser](https://pints.readthedocs.io/en/latest/optimisers/index.html) to find that parameters that minimise it.\n",
1212
"\n",
@@ -141,7 +141,7 @@
141141
"cell_type": "markdown",
142142
"metadata": {},
143143
"source": [
144-
"Real voltage-clamp experiments are affected by various noise and error sources (see the \"real data\" part of the tutorial for details).\n",
144+
"Real voltage-clamp experiments are affected by various noise and error sources (see the \"Dealing with real data\" notebooks for details).\n",
145145
"In this example, we'll keep it simple and only add some Gaussian (i.e. normally distributed) noise:"
146146
]
147147
},
@@ -907,14 +907,14 @@
907907
"source": [
908908
"## Summary\n",
909909
"\n",
910-
"In this part of the tutorial we have\n",
910+
"In this notebook we have\n",
911911
"\n",
912912
"- Set up a PINTS problem and defined an error measure\n",
913913
"- Used an optimisation to find the parameters that minimise this error\n",
914914
"- Seen the benefits of using a fine tolerance when running simulations\n",
915915
"- Seen bias in our estimate of the parameters, caused by our finite sampling of noisy data\n",
916916
"\n",
917-
"In the next tutorial we'll look at some more simulation methods, selecting the appropriate types for different models and protocols."
917+
"In the next notebook we'll look at some more simulation methods, selecting the appropriate types for different models and protocols."
918918
]
919919
}
920920
],
@@ -934,7 +934,7 @@
934934
"name": "python",
935935
"nbconvert_exporter": "python",
936936
"pygments_lexer": "ipython3",
937-
"version": "3.7.7"
937+
"version": "3.9.5"
938938
}
939939
},
940940
"nbformat": 4,
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)