Welcome to Patch’s documentation!¶
Syntactic sugar & quality of life¶
This wrapper aims to make NEURON more robust and user-friendly, by patching common gotcha’s and introducing sugar and quality of life improvements. For a detailed overview of niceties that will keep you sane instead of hunting down obscure bugs, check out the Candy Guide.
Known unpatched holes¶
When creating point processes the returned object is unwrapped. This can be resolved using Glia, or by using this syntax:
# In neuron
process = h.MyMechanismName(my_section(0.5), *args, **kwargs)
# In patch
point_process = p.PointProcess(p.MyMechanismName, my_section(0.5), *args, **kwargs)