Rdesigneur Examples

How to run these examples

Building Chemical-Electrical Signalling Models

Building a compartment

testRdesigneur.main()[source]

This illustrates the use of rdesigneur to build a simple dendrite with spines, and to confirm that the chemical contents of the spines align with the electrical. Just a single molecule Ca is involved. It diffuses and we plot the distribution. It causes 'inject' of the relevant compartment to rise.

Inserting Spines and viewing

insertSpines.main()[source]

This example illustrates loading a model from an SWC file, inserting spines, and viewing it.

Proceeding with Spines

testWigglySpines.main()[source]

This illustrates the use of rdesigneur to build a simple dendrite with spines, and then to resize them using spine fields. These are the fields that would be changed dynamically in a simulation with reactions that affect spine geometry.

testWigglySpines.p2(x)[source]

Print to 2 sig fig