Skip to content

Commit

Permalink
correct length centered electrode- need to add dimensions and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
psharm5 committed Jul 11, 2024
1 parent 27895c6 commit bb59e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ossdbs/electrodes/neuronexus_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def __body(self) -> netgen.libngpy._NgOCC.TopoDS_Shape:
radius_lead = self._parameters.lead_diameter * 0.5
center = tuple(np.array(self._direction) * self._parameters.tip_length)
height_lead = self._parameters.total_length - self._parameters.tip_length
lead=occ.Box((0,-radius/2, 10),(radius_lead,radius/2, 60))
lead=occ.Box((0,-radius/2, 1),(radius_lead,radius/2, 120))
lead.bc(self._boundaries["Body"])
return lead

Expand Down

0 comments on commit bb59e2c

Please sign in to comment.