The following explanation has been generated automatically by AI and may contain errors.
# Biological Basis of the Computational Model The provided code models a 2D competitive network of neurons with both excitatory and inhibitory populations using rate-based dynamics. The model is inspired by the organization and function of neural circuits in the brain, where excitatory and inhibitory interactions play crucial roles in information processing and neural computation. Here, the code simulates a network on a 2D grid, considering biological principles of neural connectivity and synaptic interactions. ## Key Biological Components ### Neuronal Connectivity - **Excitatory and Inhibitory Populations**: The model represents excitatory and inhibitory neurons, distinguished by their different synaptic efficacies and spatial scales. Excitatory neurons typically promote activity in their targets, while inhibitory neurons suppress activity. This balance is crucial for circuit function and is a fundamental aspect of real neural networks. - **Spatial Interactions**: The model employs Gaussian functions to describe the spatial influence of excitatory (Ae, ke) and inhibitory (Ai, ki) interactions. These Gaussian kernels mimic the distance-dependent synaptic connectivity observed in cortical circuits, where nearby neurons tend to have stronger connections than those that are further apart. ### Dynamics and Interactions - **State Variables**: The variables `x` and `z` represent the neural activity (or firing rates) of excitatory and inhibitory populations over time. The equations governing their dynamics take into account the effects of synaptic inputs, both excitatory (We) and inhibitory (Wi), as well as decay and scaling factors (ra, zinh). - **Input and Response**: The network receives external input (Inp) that may represent sensory stimuli or other environmental factors affecting neuronal activity. The modification and evolution of the input over time can explore different network response dynamics, showing how neurons might respond under various conditions. ### Computational Aspects - **Non-linear Gating**: The `inh(x)` function, defined as the non-negative thresholding operation (rectification), models the non-linear response of biological neurons, where only positive firing rates are considered biologically meaningful. - **Network Competition**: The competitive interactions between neurons, driven by the opposing effects of excitation and inhibition, allow for pattern formation and the emergence of complex dynamics, such as winner-takes-all behavior frequently observed in neural systems. This model illustrates core principles of neural circuit operation, emphasizing the importance of spatially-structured synaptic interactions and the dynamic balance between excitatory and inhibitory influences. Such models serve as a foundation for understanding more complex behaviors in neural systems, including sensory processing, feature detection, and the stabilization of neural activity patterns.