Skip to content
Snippets Groups Projects
Unverified Commit e1818006 authored by Dilawar Singh's avatar Dilawar Singh Committed by GitHub
Browse files

Merge pull request #233 from Dhruva-Storz/master

Documentation update 2
parents 9615a75b 75c7b51f
No related branches found
No related tags found
No related merge requests found
Showing
with 272 additions and 5 deletions
...@@ -2,6 +2,35 @@ ...@@ -2,6 +2,35 @@
Load - Run - Save models Load - Run - Save models
************************ ************************
.. hidden-code-block:: reStructuredText
:label: How to run these examples
Each of the following examples can be run by clicking on the green source button
on the right side of each example, and running from within a ``.py`` python file
on a computer where moose is installed.
Alternatively, all the files mentioned on this page can be found in the main
moose directory. They can be found under
(...)/moose/moose-examples/snippets
They can be run by typing
$ python filename.py
in your command line, where filename.py is the python file you want to run.
All of the following examples show one or more methods within each python file.
For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
methods.
The filename is the bit that comes before the ``.`` in the blue boxes, with
``.py`` added at the end of it. In this case, the file name would be
``cubeMeshSigNeur.py``.
|
Load a Kinetic Model Load a Kinetic Model
-------------------- --------------------
......
*************** ***************
Simple Examples Simple Examples
*************** ***************
.. hidden-code-block:: reStructuredText
:label: How to run these examples
Each of the following examples can be run by clicking on the green source button
on the right side of each example, and running from within a ``.py`` python file
on a computer where moose is installed.
Alternatively, all the files mentioned on this page can be found in the main
moose directory. They can be found under
(...)/moose/moose-examples/snippets
They can be run by typing
$ python filename.py
in your command line, where filename.py is the python file you want to run.
All of the following examples show one or more methods within each python file.
For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
methods.
The filename is the bit that comes before the ``.`` in the blue boxes, with
``.py`` added at the end of it. In this case, the file name would be
``cubeMeshSigNeur.py``.
|
Set-up a kinetic solver and model Set-up a kinetic solver and model
--------------------------------- ---------------------------------
......
...@@ -2,6 +2,34 @@ ...@@ -2,6 +2,34 @@
Tutorials Tutorials
********* *********
.. hidden-code-block:: reStructuredText
:label: How to run these examples
Each of the following examples can be run by clicking on the green source button
on the right side of each example, and running from within a ``.py`` python file
on a computer where moose is installed.
Alternatively, all the files mentioned on this page can be found in the main
moose directory. They can be found under
(...)/moose/moose-examples/snippets
They can be run by typing
$ python filename.py
in your command line, where filename.py is the python file you want to run.
All of the following examples show one or more methods within each python file.
For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
methods.
The filename is the bit that comes before the ``.`` in the blue boxes, with
``.py`` added at the end of it. In this case, the file name would be
``cubeMeshSigNeur.py``.
|
Finding Steady State (CSpace) Finding Steady State (CSpace)
----------------------------- -----------------------------
......
...@@ -2,6 +2,34 @@ ...@@ -2,6 +2,34 @@
Load and Run simple models Load and Run simple models
************************** **************************
.. hidden-code-block:: reStructuredText
:label: How to run these examples
Each of the following examples can be run by clicking on the green source button
on the right side of each example, and running from within a ``.py`` python file
on a computer where moose is installed.
Alternatively, all the files mentioned on this page can be found in the main
moose directory. They can be found under
(...)/moose/moose-examples/snippets
They can be run by typing
$ python filename.py
in your command line, where filename.py is the python file you want to run.
All of the following examples show one or more methods within each python file.
For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
methods.
The filename is the bit that comes before the ``.`` in the blue boxes, with
``.py`` added at the end of it. In this case, the file name would be
``cubeMeshSigNeur.py``.
|
Single Cubicle Compartmental Neuron Single Cubicle Compartmental Neuron
----------------------------------- -----------------------------------
......
...@@ -2,6 +2,34 @@ ...@@ -2,6 +2,34 @@
Simple Examples Simple Examples
*************** ***************
.. hidden-code-block:: reStructuredText
:label: How to run these examples
Each of the following examples can be run by clicking on the green source button
on the right side of each example, and running from within a ``.py`` python file
on a computer where moose is installed.
Alternatively, all the files mentioned on this page can be found in the main
moose directory. They can be found under
(...)/moose/moose-examples/snippets
They can be run by typing
$ python filename.py
in your command line, where filename.py is the python file you want to run.
All of the following examples show one or more methods within each python file.
For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
methods.
The filename is the bit that comes before the ``.`` in the blue boxes, with
``.py`` added at the end of it. In this case, the file name would be
``cubeMeshSigNeur.py``.
|
Create a Leaky Neuron Create a Leaky Neuron
--------------------- ---------------------
......
...@@ -2,6 +2,34 @@ ...@@ -2,6 +2,34 @@
More Rdesigneur Examples More Rdesigneur Examples
************************ ************************
.. hidden-code-block:: reStructuredText
:label: How to run these examples
Each of the following examples can be run by clicking on the green source button
on the right side of each example, and running from within a ``.py`` python file
on a computer where moose is installed.
Alternatively, all the files mentioned on this page can be found in the main
moose directory. They can be found under
(...)/moose/moose-examples/snippets
They can be run by typing
$ python filename.py
in your command line, where filename.py is the python file you want to run.
All of the following examples show one or more methods within each python file.
For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
methods.
The filename is the bit that comes before the ``.`` in the blue boxes, with
``.py`` added at the end of it. In this case, the file name would be
``cubeMeshSigNeur.py``.
|
Building Chemical-Electrical Signalling Models Building Chemical-Electrical Signalling Models
---------------------------------------------- ----------------------------------------------
......
...@@ -2,6 +2,34 @@ ...@@ -2,6 +2,34 @@
Simple Examples Simple Examples
*************** ***************
.. hidden-code-block:: reStructuredText
:label: How to run these examples
Each of the following examples can be run by clicking on the green source button
on the right side of each example, and running from within a ``.py`` python file
on a computer where moose is installed.
Alternatively, all the files mentioned on this page can be found in the main
moose directory. They can be found under
(...)/moose/moose-examples/snippets
They can be run by typing
$ python filename.py
in your command line, where filename.py is the python file you want to run.
All of the following examples show one or more methods within each python file.
For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
methods.
The filename is the bit that comes before the ``.`` in the blue boxes, with
``.py`` added at the end of it. In this case, the file name would be
``cubeMeshSigNeur.py``.
|
Single-compartment multiscale model Single-compartment multiscale model
----------------------------------- -----------------------------------
......
...@@ -2,6 +2,34 @@ ...@@ -2,6 +2,34 @@
Simple Examples Simple Examples
*************** ***************
.. hidden-code-block:: reStructuredText
:label: How to run these examples
Each of the following examples can be run by clicking on the green source button
on the right side of each example, and running from within a ``.py`` python file
on a computer where moose is installed.
Alternatively, all the files mentioned on this page can be found in the main
moose directory. They can be found under
(...)/moose/moose-examples/snippets
They can be run by typing
$ python filename.py
in your command line, where filename.py is the python file you want to run.
All of the following examples show one or more methods within each python file.
For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
methods.
The filename is the bit that comes before the ``.`` in the blue boxes, with
``.py`` added at the end of it. In this case, the file name would be
``cubeMeshSigNeur.py``.
|
Connecting two cells via a synapse Connecting two cells via a synapse
---------------------------------- ----------------------------------
......
...@@ -2,6 +2,34 @@ ...@@ -2,6 +2,34 @@
Tutorials Tutorials
********* *********
.. hidden-code-block:: reStructuredText
:label: How to run these examples
Each of the following examples can be run by clicking on the green source button
on the right side of each example, and running from within a ``.py`` python file
on a computer where moose is installed.
Alternatively, all the files mentioned on this page can be found in the main
moose directory. They can be found under
(...)/moose/moose-examples/snippets
They can be run by typing
$ python filename.py
in your command line, where filename.py is the python file you want to run.
All of the following examples show one or more methods within each python file.
For example, in the ``cubeMeshSigNeur`` section, there are two blue tabs
describing the ``cubeMeshSigNeur.createSquid()`` and ``cubeMeshSigNeur.main()``
methods.
The filename is the bit that comes before the ``.`` in the blue boxes, with
``.py`` added at the end of it. In this case, the file name would be
``cubeMeshSigNeur.py``.
|
Network with Ca-based plasticity Network with Ca-based plasticity
-------------------------------- --------------------------------
......
...@@ -21,9 +21,18 @@ In chemical bistable models that use solvers, there are optional arguments that ...@@ -21,9 +21,18 @@ In chemical bistable models that use solvers, there are optional arguments that
python filename.py [gsl | gssa | ee] python filename.py [gsl | gssa | ee]
Where ``gsl`` is Gnu Scientific Library's deterministic solver, ``gssa`` stands for Gillespie stochastic simulation algorithm, and ``ee`` is the exponential euler algorithm. Where:
All the following examples can be run with either of the three solvers, which in some cases produces a different outcome. However, simply running the file without the optional argument will by default use the ``gsl`` solver. These ``gsl`` outputs are the ones shown below. - gsl: This is the Runge-Kutta-Fehlberg implementation from the GNU Scientific Library (GSL). It is a fifth order variable timestep explicit method. Works well for most reaction systems except if they have very stiff reactions.
- gssl: Optimized Gillespie stochastic systems algorithm, custom implementation. This uses variable timesteps internally. Note that it slows down with increasing numbers of molecules in each pool. It also slows down, but not so badly, if the number of reactions goes up.
- Exponential Euler:This methods computes the solution of partial and ordinary differential equations.
All the following examples can be run with either of the three solvers, each of which has different advantages and disadvantages and each of which might produce a slightly different outcome.
Simply running the file without the optional argument will by default use the ``gsl`` solver. These ``gsl`` outputs are the ones shown below.
|
|
Simple Bistables Simple Bistables
================ ================
......
...@@ -23,9 +23,15 @@ In chemical models that use solvers, there are optional arguments that allow you ...@@ -23,9 +23,15 @@ In chemical models that use solvers, there are optional arguments that allow you
python filename.py [gsl | gssa | ee] python filename.py [gsl | gssa | ee]
Where ``gsl`` is Gnu Scientific Library's deterministic solver, ``gssa`` stands for Gillespie stochastic simulation algorithm, and ``ee`` is the exponential euler algorithm. Where:
All the following examples can be run with either of the three solvers, which in some cases produces a different outcome. However, simply running the file without the optional argument will by default use the ``gsl`` solver. These ``gsl`` outputs are the ones shown below. - gsl: This is the Runge-Kutta-Fehlberg implementation from the GNU Scientific Library (GSL). It is a fifth order variable timestep explicit method. Works well for most reaction systems except if they have very stiff reactions.
- gssl: Optimized Gillespie stochastic systems algorithm, custom implementation. This uses variable timesteps internally. Note that it slows down with increasing numbers of molecules in each pool. It also slows down, but not so badly, if the number of reactions goes up.
- Exponential Euler:This methods computes the solution of partial and ordinary differential equations.
All the following examples can be run with either of the three solvers, each of which has different advantages and disadvantages and each of which might produce a slightly different outcome.
Simply running the file without the optional argument will by default use the ``gsl`` solver. These ``gsl`` outputs are the ones shown below.
| |
| |
......
...@@ -5,7 +5,7 @@ Squid giant axon ...@@ -5,7 +5,7 @@ Squid giant axon
This tutorial is an interactive graphical simulation of a squid giant axon, This tutorial is an interactive graphical simulation of a squid giant axon,
closely based on the 'Squid' demo by Mark Nelson which ran in GENESIS. closely based on the 'Squid' demo by Mark Nelson which ran in GENESIS.
The `squid giant axon <https://en.wikipedia.org/wiksi/Squid_giant_axon>`_ is a very large axon that plays a role in the water jet propulsion systems of squid. The `squid giant axon <https://en.wikipedia.org/wiki/Squid_giant_axon>`_ is a very large axon that plays a role in the water jet propulsion systems of squid.
Alan Hodgkin, Andrew Huxley, and John Eccles won the nobel prize in physiology or medicine for their pioneering work on the squid axon. Hodgin and Huxley were the first to qualitatively describe action potentials within neurons. The large diameter of the squid giant axon (0.5 mm to 1 mm) allowed them to affix electrodes and voltage clamps to precisely measure the action potential as it travelled through the axon. They later went on to mathematically describe this in an equation that paved the road for mathematical and computational biology's development. Alan Hodgkin, Andrew Huxley, and John Eccles won the nobel prize in physiology or medicine for their pioneering work on the squid axon. Hodgin and Huxley were the first to qualitatively describe action potentials within neurons. The large diameter of the squid giant axon (0.5 mm to 1 mm) allowed them to affix electrodes and voltage clamps to precisely measure the action potential as it travelled through the axon. They later went on to mathematically describe this in an equation that paved the road for mathematical and computational biology's development.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment