You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
soma at point 21 (see PC .swc file and image attached) has the dendrite attached (only one) which starts from point 40
after creating the cell PCcell:
from arborize import bsb_schematic
from arborize import neuron_build
from bsb.morphologies import Morphology
from dbbs_models import PurkinjeCellmodel
morpho = Morphology.from_swc(file_morphology, tags=PurkinjeCellmodel.swc_tags)
schematic = bsb_schematic(morpho, PurkinjeCellmodel)
PCcell = neuron_build(schematic)
>>> PCcell.soma[1].children()[0].psection()['morphology']['pts3d']
[(-10.5770263671875, 7.5341033935546875, 0.0, 3.6700000762939453),
(-9.3170166015625, 12.0941162109375, 0.0, 3.6700000762939453)]
note that first row is not the parent point coordinate xyz, it starts directly from point 40 => it allows gap and this is ok when connecting soma with non-soma branches;
example with a Purkinje cell:
after creating the cell PCcell:
note that first row is not the parent point coordinate xyz, it starts directly from point 40 => it allows gap and this is ok when connecting soma with non-soma branches;
it added in the first row the parent coordinate, thus it fills the gap (which means also making the branch longer)
The text was updated successfully, but these errors were encountered: