navis.interfaces.microns.fetch_neurons¶
- navis.interfaces.microns.fetch_neurons(x, *, lod=2, with_synapses=True, datastack='cortex65', parallel=True, max_threads=4, **kwargs)[source]¶
Fetch neuron meshes.
Notes
Synapses will be attached to the closest vertex on the mesh.
- Parameters:
x (str | int | list-like) – Segment ID(s). Multiple Ids can be provided as list-like.
lod (int) – Level of detail. Higher
lod
= coarser. This parameter is ignored if the data source does not support multi-level meshes.with_synapses (bool, optional) – If True will also attach synapses as
.connectors
.datastack ("cortex65" | "cortex35" | "layer 2/3") – Which dataset to use. Internally these are mapped to the corresponding sources (e.g. “minnie65_public_v117” for “cortex65”).
parallel (bool) – If True, will use parallel threads to fetch data.
max_threads (int) – Max number of parallel threads to use.
**kwargs – Keyword arguments are passed through to the initialization of the
navis.MeshNeurons
.
- Returns:
Containing
navis.MeshNeuron
.- Return type:
navis.Neuronlist