From e123122b19575467d87d8c2873adb8952f37a745 Mon Sep 17 00:00:00 2001 From: Han Lu <11597940+ErbB4@users.noreply.github.com> Date: Thu, 8 Aug 2024 09:33:57 +0200 Subject: [PATCH] updated unit as requested --- doc/python/decor.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/python/decor.rst b/doc/python/decor.rst index 4f2ffba01..1e30f9b03 100644 --- a/doc/python/decor.rst +++ b/doc/python/decor.rst @@ -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/m², 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`.