Skip to content

DSPsleeporg/an_spindle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Averaged Neuron (AN) model

Overview

AN model is a conductance-based (Hodgkin-Huxley type) neuron model using the mean-field approximation of groups of neurons. The model can recapitulate the slow-wave sleep (SWS) firing pattern and the sleep spindle (SS) firing pattern.

Dependencies

The following packages need to be installed to use AN model:

  • Python >= 3.5
  • Numpy >= 1.10
  • Scipy >= 1.0.0

Usage (plotting the SWS firing pattern)

import matplotlib.pyplot as plt
import anmodel
an = anmodel.models.ANmodel()
an.set_sws_params()
s, _ = an.run_odeint()
plt.plot(s[4999:, 0])

SWS firing (example)

References

SWS (slow-wave sleep) firing pattern

SS (sleep spindle) firing pattern

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

About

Averaged-Neuron model recapitulating SWS (slow-wave sleep) and SS (sleep spindle) firing patterns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages