How the model works
Wave-type weakly electric fish, including Eigenmannia, sense the amplitude modulation created when nearby electric organ discharges have slightly different frequencies. In species that show a jamming avoidance response, the fish shifts its own discharge frequency away from the interfering signal.
BEAT FREQUENCYfbeat = |fneighbour − fself|
INTERFERENCE ENVELOPEE²(t) = 1 + a² + 2a cos(2π Δf t)
SHIFT DYNAMICSẋ = v
τ v̇ = vtarget(Δf) − v
The target velocity points away from the neighbour and is gated by a smooth, illustrative sensory band. Field strength scales sensory confidence; latency filters the motor command. The state is integrated with fixed-step RK4 at 1/120 s.
What is simplified
- One focal fish responds to a neighbour whose discharge frequency is held fixed.
- The sensory window, gain, field-strength scaling and latency are illustrative control parameters, not species-specific measurements.
- Real electrosensory processing includes spatial receptor patterns, body geometry and neural circuitry not represented here.
- Canvas distances and field contours are schematic and scaled, not measured anatomy or field maps.
Illustrative educational model, not affiliated with any real institution or manufacturer.