There was an error while loading. Please reload this page.
Generated with Grok Build: Grok 4.5 · xAI Imagine (/imagine)
/imagine
Module: src/engine.rs
src/engine.rs
The engine integrates LIF + Izhikevich banks only; other neuron models are standalone types (see Neuron Models).
SpikingNetwork::new() // 16 LIF, 5 Izh, NUM_INPUT_CHANNELS (16) SpikingNetwork::with_dimensions(num_lif, num_izh, num_channels)
pub fn step( &mut self, stimuli: &[f32], modulators: &NeuroModulators, ) -> Result<Vec<usize>, StepError>
| Success | Ok(indices) of neurons that spiked this step | | Error | StepError::InputLenMismatch { expected, got } |
Ok(indices)
StepError::InputLenMismatch { expected, got }
get_membrane_potentials()
get_thresholds()
reset()
NUM_INPUT_CHANNELS = 16
WEIGHT_BUDGET
Public re-exports: SpikingNetwork, StepError from neuromod::engine via crate root.
SpikingNetwork
StepError
neuromod::engine
Last updated: August 12, 2026 Updated by: Grok Build: Grok 4.5 (high) Package tip reference: 328ea9c (main @ 0.5.2 + #97/#98; tag v0.5.2 = ef9fba8) Cubic: page-intro Devin DeepWiki: neuromod @ 328ea9c
328ea9c
ef9fba8