navis-org / navis

Python library for analysis of neuroanatomical data.
https://navis-org.github.io/navis/
GNU General Public License v3.0
83 stars 33 forks source link

Improve subset neurons #155

Closed schlegelp closed 3 months ago

schlegelp commented 3 months ago

This PR improves the subset_neuron function:

  1. Now works with multiple neurons at a time (previously accepted only single neurons)
  2. subset can now be a callable
  3. Re-implements the submesh function to reduce memory footprint when subsetting meshes (addresses #154)