Skip to main content

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


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)

Uploaded Source

Built Distribution

nrn_diff-0.0.3-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page