ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Difference-of-Gaussians connectivity kernel

A narrow positive Gaussian models local excitation and a broader negative Gaussian models inhibition. The body places 2σ² in both exponential denominators, while the comment displays σ², so the code uses the usual Gaussian width convention. The sign and reach of the…

Implementation mathematicsSource recovered; runtime not executed
Learn with the Atlas

Learn to read this model

Start with the symbols, follow the operations, and check what the result means.

Open guided lesson
gh-eq-64cbdb7f52f31181source-comment-equation
Mexicanhatconnectivity:w(x)=A∗exp(−x2/σe2)−B∗exp(−x2/σi2)Mexican hat connectivity: w(x) = A*exp(-x²/σ_e²) - B*exp(-x²/σ_i²)

Read the equation

A narrow positive Gaussian models local excitation and a broader negative Gaussian models inhibition. The body places 2σ² in both exponential denominators, while the comment displays σ², so the code uses the usual Gaussian width convention. The sign and reach of the net kernel depend on both amplitudes and widths.

Terms & definitions

TermMeaning in this source
A

Excitatory amplitude

B

Inhibitory amplitude

sigma_e

Excitatory width

sigma_i

Inhibitory width

x

Separation

How it works

Read the definition from its right-hand expression to the quantity on the left. Its surrounding source records the intended input, state, or parameter context. Where the source leaves an operation unspecified, this page preserves that gap.

Assumptions & limits

Source recovery establishes that the expression appears in this record. Its mathematical validity, implementation behavior, and interpretation must be assessed separately. See the linked source and research notes for the checks available for this version.

Original context

Read the surrounding source passage
// where f is the firing rate function and w is the connectivity kernel
template<size_t N>
struct NeuralField {
    float tau = 10.0f;
    float threshold = 0.0f;
    float steepness = 1.0f;

    // Mexican hat connectivity: w(x) = A*exp(-x²/σ_e²) - B*exp(-x²/σ_i²)
    float A = 1.5f;      // Excitation amplitude
    float B = 0.75f;     // Inhibition amplitude
    float sigma_e = 1.0f;// Excitation width
    float sigma_i = 2.0f;// Inhibition width

    std::array<float, N> u;      // Activity field
    std::array<float, N> input;  // External input

    void initialize() {
        u.fill(0.0f);
Exact original notation
Mexican hat connectivity: w(x) = A*exp(-x²/σ_e²) - B*exp(-x²/σ_i²)

Related builds

Sources & provenance

01
C++ neural model components
Lines 353–353 · 33aa84f2aa61
02
C++ neural model components
Lines 353–353 · 33aa84f2aa61

Search equations, builds, manuscript text, and recovered sources.