{"id":19647450,"url":"https://github.com/mohazamani/neuron-models","last_synced_at":"2026-06-10T18:31:16.758Z","repository":{"id":241069761,"uuid":"804200290","full_name":"MohaZamani/Neuron-Models","owner":"MohaZamani","description":"Implementation and Simulations of LIF, ELIF, and AELIF neuron models with various input currents","archived":false,"fork":false,"pushed_at":"2024-10-17T07:55:16.000Z","size":11754,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T00:24:04.137Z","etag":null,"topics":["computational-biology","computational-neuroscience","euler-method","lif-ne","neuron-models","neuroscience","spiking-neural-networks"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MohaZamani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-22T06:30:00.000Z","updated_at":"2024-10-17T14:32:31.000Z","dependencies_parsed_at":"2024-11-11T14:54:24.709Z","dependency_job_id":null,"html_url":"https://github.com/MohaZamani/Neuron-Models","commit_stats":null,"previous_names":["mzamani18/neuron-models"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MohaZamani/Neuron-Models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohaZamani%2FNeuron-Models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohaZamani%2FNeuron-Models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohaZamani%2FNeuron-Models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohaZamani%2FNeuron-Models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MohaZamani","download_url":"https://codeload.github.com/MohaZamani/Neuron-Models/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MohaZamani%2FNeuron-Models/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34165482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computational-biology","computational-neuroscience","euler-method","lif-ne","neuron-models","neuroscience","spiking-neural-networks"],"created_at":"2024-11-11T14:44:12.984Z","updated_at":"2026-06-10T18:31:16.729Z","avatar_url":"https://github.com/MohaZamani.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neural Computation Models\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://gitpoint.co/\"\u003e\n    \u003cimg alt=\"GitPoint\" title=\"GitPoint\" src=\"https://i.postimg.cc/FsqTSYmF/An-LIF-neuron-a-a-schematic-connection-between-three-pre-neurons-to-one-post-neuron.jpg\" width=\"800\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nThis 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.\n\n## Table of Contents\n- [Project Overview](#project-overview)\n- [Implemented Models](#implemented-models)\n- [Simulation Inputs](#simulation-inputs)\n- [How to Run](#how-to-run)\n- [Results](#results)\n- [References](#references)\n\n## Project Overview\nThis 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.\n\n## Implemented Models\n1. **LIF (Leaky Integrate-and-Fire) Model:**  \n   This model simulates a basic leaky neuron and captures how its membrane potential evolves over time with different input currents.\n   \n2. **ELIF (Exponential Leaky Integrate-and-Fire) Model:**  \n   An extended version of the LIF model that introduces exponential terms to capture the more complex spiking behavior of neurons.\n\n3. **AELIF (Adaptive Exponential Leaky Integrate-and-Fire) Model:**  \n   Adds an adaptation mechanism, modeling how neurons gradually adapt to constant inputs over time.\n\n## Simulation Inputs\nThe project explores the response of neurons to several types of input currents:\n- **Constant Input**\n- **Step Input**\n- **Sinusoidal Input**\n- **Noisy Input**\n\nFor each type of input, we simulate the neuron's membrane potential changes and firing rates (frequency-current plots).\n\n## How to Run\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/MohaZamani/Neuron-Models.git\n2. Install necessary dependencies:\n   ```bash\n   pip3 install -r requirements.txt\n4. To run the simulations, open the respective Jupyter notebooks for each neuron model:\n   - For the AELIF model, open `AELIF_SIM.ipynb`.\n   - For the ELIF model, open `ELIF_SIM.ipynb`.\n   - For the LIF model, open `LIF_SIM.ipynb`.\n\n   You can run these notebooks using Jupyter by executing:\n   ```bash\n   jupyter notebook\n\n## Results\nResults of the simulations and detailed analysis of the results, refer to the [report](./Report/Report.pdf).\n\n## References\n- [PymoNNtorch Framework](https://github.com/cnrl/PymoNNtorch)\n- Neural Dynamics online course resources:\n   - [Leaky Integrate-and-Fire Neuron](https://neuronaldynamics.epfl.ch/online/Ch1.S3.html)\n   - [Exponential Integrate-and-Fire Neuron](https://neuronaldynamics.epfl.ch/online/Ch5.S2.html)\n   - [Adaptive Exponential Integrate-and-Fire Neuron](https://neuronaldynamics.epfl.ch/online/Ch6.S1.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohazamani%2Fneuron-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohazamani%2Fneuron-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohazamani%2Fneuron-models/lists"}