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
34 stars 30 forks source link

Add a SWC loader #375

Open sanjayankur31 opened 1 month ago

sanjayankur31 commented 1 month ago

A loader for SWC files that then allows us to query the various fields would be useful as a first step.

https://github.com/pgleeson/Cvapp-NeuroMorpho.org?tab=readme-ov-file is the reference implementation used on neuromorpho.org, so the first task would be to:

Then, adding a module that will:

The data structure can evolve as we go, so just a simple class for the moment will do.

References:

Also worth having a look at to see how they do it:

AdityaBITMESRA commented 1 month ago

Thankyou for this

sanjayankur31 commented 1 month ago

I forgot this one:

The tests we need to run on SWC morphologies to see if they are appropriate for modelling are here: https://docs.neuroml.org/Userdocs/ImportingMorphologyFiles.html

You should go through them so that you have an idea of what operations/functions/transformations/queries we need to run on the SWC data.

AdityaBITMESRA commented 1 month ago

Sure