NEURON object differ. Recursively finds differences between objects in NEURON.
Project description
nrn-diff
Usage
>>> from nrndiff import nrn_diff
>>> from neuron import h
>>> s1 = h.Section()
>>> s2 = h.Section()
>>> nrn_diff(s1, s2)
[]
>>> s2.L = s1.L * 2
>>> nrn_diff(s1, s2)
[
<nrndiff._differences.SectionLengthDifference object at 0x7f52eb4d3310>,
<nrndiff._differences.SegmentAreaDifference object at 0x7f52eb47de80>,
<nrndiff._differences.SegmentVolumeDifference object at 0x7f52eb47d7c0>,
<nrndiff._differences.SegmentInputResistanceDifference object at 0x7f52eb47df40>
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nrn_diff-0.0.3.tar.gz
(4.1 kB
view hashes)