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 details)
Built Distribution
File details
Details for the file nrn_diff-0.0.3.tar.gz
.
File metadata
- Download URL: nrn_diff-0.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d934e8ade6abcf1a2248830dc3f410c11dcb6c62a75d29300037ed4bf94da26c |
|
MD5 | 8f65634f6dfcc256b5fb03b76eebe154 |
|
BLAKE2b-256 | 4c2d9ede1849d1e286c1811376ae5ef92548f526bd75803ff975d4aaf137f2c1 |
File details
Details for the file nrn_diff-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: nrn_diff-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88c1fe6452f2f2876dd77ce7a81ded712629046e7d85098339ff976d81145715 |
|
MD5 | fd87146052fb424adeecfed954ab2a32 |
|
BLAKE2b-256 | 8b060f1e2eeea52dfac9cb61e34bcc2f37b4d4e5169938e046c9735fa8258c77 |