NeuroML / pyNeuroML

A single package in Python unifying scripts and modules for reading, writing, simulating and analysing NeuroML2/LEMS models.
https://docs.neuroml.org/Userdocs/Software/pyNeuroML.html
GNU Lesser General Public License v3.0
36 stars 30 forks source link

Plotting: add wire diagram generator for morphologies #192

Open sanjayankur31 opened 1 year ago

sanjayankur31 commented 1 year ago

Is your feature request related to a problem? Please describe. Wire diagrams seem to be a good way of showing cell morphology, especially in conjunction with recordings. Example from Reorganization of CA1 dendritic dynamics by hippocampal sharp-wave ripples during learning - ScienceDirect, Fig 1C:

image

Describe the solution you'd like A plotter, similar to the plot2D function which generates a wire diagram would be very useful to have.

Describe alternatives you've considered NA

Additional context I'm not sure how much work this is. There may be libraries out there that could help perhaps. One needs to be able to detect branch points and so on to generate these. The plot2D implementation is rather naive---we just draw lines between points there without any additional intelligence/analysis. (May be worth a student project!)