executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
modelingBuild and validate Brian2 2.9.0 neuron populations, equations, thresholds, resets, refractoriness, events, state initialization, subgroups, and shared or linked variables.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this route when a task defines neuron state or neuron-local behavior in
Brian2 2.9.0: NeuronGroup, model equations, parameters and subexpressions,
threshold/reset/refractory behavior, custom events, initialization, subgroups,
run_regularly, shared variables, or linked variables. Start with the smallest
explicit Network and a NumPy run before adding connectivity, monitors, or a
device target.
python scripts/model_smoke.py --help, then
python scripts/model_smoke.py --target numpy.tau : second,
drive : 1, etc.). A Python value outside the model is a scalar namespace
value, not a per-neuron parameter. Assign state immediately after creating
the group, with units unless the raw underscore view is intentional.Network(group, ...) for validation and run it for 0*ms before a tiny
positive duration. Constructor success alone does not prove that namespace,
units, parser, event, or code-generation checks will pass.G[:k]
changes the parent. Their i is subgroup-relative; use parent state or an
explicit parameter when an absolute identity is required.(shared) means one scalar value for the complete group. (linked) means
live reference storage and must be bound with linked_var; check dimensions,
source/target sizes, and any integer mapping before running.namespace={...} or an
explicit Network.run(..., namespace={...}). Do not rely on a coincidental
caller local or leave competing definitions across namespaces.Route synaptic connectivity, pre/post code, delays, inputs, and plasticity to synapses-and-inputs; monitor selection and monitor data to recording; and detailed unit/parser, state-updater, or unit-aware function questions to units-and-equations. Route network lifecycle, cross-object scheduling, and multiple-run behavior to simulation-and-recording; route devices, compiler setup, and code-generation target selection to code-generation. Keep only the neuron-local construction contract here and follow the linked route rather than duplicating those APIs.