Skip to content

Commit

Permalink
updated unit as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
ErbB4 authored Aug 8, 2024
1 parent 4b20500 commit e123122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/python/decor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ Cable cell decoration
.. code-block:: Python
# Specialize resistivity on soma
decor.paint('"soma"', rL=100 * U.Ω·cm)
decor.paint('"soma"', rL=100 * * U.Ohm * U.cm)
# Specialize resistivity and capacitance on the axon, where
# axon is defined using a region expression.
decor.paint('(tag 2)', cm=0.05 * U.F/, rL=80 * U.Ω·cm)
decor.paint('(tag 2)', cm=0.05 * U.F/U.m2, rL=80 * U.Ohm * U.cm)
# Specialize resistivity on soma and set :math:`r_L(s) = 42.0 \cdot d(s)`
# where `s` parametrises the cable segment(s) and :math:`d(s)` is the cable
# diameter at `s`.
Expand Down

0 comments on commit e123122

Please sign in to comment.