Skip to content

joewgraham/mnTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mnTools

This is a toolbox for dealing with neuronal morphology. It allows the importation of '.swc' and BBP '.h5' morphology files, the individual and population analysis (and figure generation) of the morphologies; the extraction of parameter/local measure relationships, and the algorithmic generation ("synthesis") of virtual neurons.

The code is currently in MATLAB, but I am slowly working to port it to Python.

Feel free to contact me with any questions: [email protected]

Using mnTools

You will need to clone this repository, start MATLAB, change directories to mnTools/mnHelp, and execute mnaddpaths:

git clone https://github.com/joewgraham/mnTools.git
[start MATLAB]
cd mnTools/mnHelp; mnaddpaths;

This will add the necessary mnTools paths to MATLAB and put you back in the main mnTools directory.

Now we will import and analyze a few populations of morphologies.

mnimport('real', 'mnInput/mns_real_virtual/real_burke/')
mnimport('virtual_a', 'mnInput/mns_real_virtual/virtual_a/')
mnimport('virtual_b', 'mnInput/mns_real_virtual/virtual_b/')
mnimport('virtual_g', 'mnInput/mns_real_virtual/virtual_g/')

Now we will explore a real population and compare real and virtual populations.

mnfigures(real_analysis)
mnfigures(real_analysis, virtual_a_analysis)
mnfigures(real_analysis, virtual_b_analysis)
mnfigures(real_analysis, virtual_g_analysis)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages