This project is a simulation of Spike-Timing-Dependent Plasticity (STDP) in neural networks. The simulation models the behavior of neurons and synapses, illustrating how synaptic strengths are adjusted based on the timing of spikes between neurons. This project is particularly useful for understanding the mechanisms behind learning and memory in the brain.
- Simulation of leaky integrate-and-fire neurons
- Implementation of STDP rules for synaptic plasticity
- Visualization of neuronal spikes and synaptic changes
- Customizable parameters for neuron and synapse properties
- Comprehensive documentation and example configurations
To get started with the STDP Simulation project, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/STDP_simulation.git
- Navigate to the project directory:
cd STDP_simulation
- Install the required dependencies:
pip install -r requirements.txt
To run the simulation, use the following command:
python main.py
You can customize the simulation parameters by editing the config.json
file.
main.py
: The main script to run the simulation.neuron.py
: Contains the Neuron class, which models the behavior of a single neuron.synapse.py
: Contains the Synapse class, which models the connections between neurons.config.json
: Configuration file for setting simulation parameters.README.md
: Project documentation.
For any questions or inquiries, please contact Jonah Chang at jonahpchang@gmail.com.