When Python is the interpreter, what is a good
design for the interface to the basic NEURON
What is the best way to find the area of an entire section? I know you can use
and figure out what values of x you need to avoid double-counting and iterate over all the x values, summing the areas of each segment, but I was wondering if there was some more elegant way to do this, something along the lines of
Thanks in advance.
- Site Admin
- Posts: 5620
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
No "total section area" method is built in. Nothing says you can't cobble up a function that takes a section as an argument and returns its total area.
OK just thought I'd check, thanks!