Skip to content

Implementation and Simulations of LIF, ELIF, and AELIF neuron models with various input currents

Notifications You must be signed in to change notification settings

MohaZamani/Neuron-Models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural Computation Models

GitPoint

This project implements three neuron models: LIF (Leaky Integrate-and-Fire), ELIF (Exponential Leaky Integrate-and-Fire), and AELIF (Adaptive Exponential Leaky Integrate-and-Fire). These models simulate neuron behavior and analyze their responses to different input currents using the Forward Euler method.

Table of Contents

Project Overview

This project is part of the computational neuroscience course. The goal is to understand and simulate the dynamic behavior of neurons using different computational models. The project includes the implementation of various input current types and analysis of neuron responses.

Implemented Models

  1. LIF (Leaky Integrate-and-Fire) Model:
    This model simulates a basic leaky neuron and captures how its membrane potential evolves over time with different input currents.

  2. ELIF (Exponential Leaky Integrate-and-Fire) Model:
    An extended version of the LIF model that introduces exponential terms to capture the more complex spiking behavior of neurons.

  3. AELIF (Adaptive Exponential Leaky Integrate-and-Fire) Model:
    Adds an adaptation mechanism, modeling how neurons gradually adapt to constant inputs over time.

Simulation Inputs

The project explores the response of neurons to several types of input currents:

  • Constant Input
  • Step Input
  • Sinusoidal Input
  • Noisy Input

For each type of input, we simulate the neuron's membrane potential changes and firing rates (frequency-current plots).

How to Run

  1. Clone the repository:

    git clone https://github.com/MohaZamani/Neuron-Models.git
  2. Install necessary dependencies:

    pip3 install -r requirements.txt
  3. To run the simulations, open the respective Jupyter notebooks for each neuron model:

    • For the AELIF model, open AELIF_SIM.ipynb.
    • For the ELIF model, open ELIF_SIM.ipynb.
    • For the LIF model, open LIF_SIM.ipynb.

    You can run these notebooks using Jupyter by executing:

    jupyter notebook
    

Results

Results of the simulations and detailed analysis of the results, refer to the report.

References

Releases

No releases published

Packages

No packages published

Languages