neuron_model_izh_impl.h 552 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _NEURON_MODEL_IZH_CURR_IMPL_H_
  2. #define _NEURON_MODEL_IZH_CURR_IMPL_H_
  3. #include "neuron_model.h"
  4. typedef struct neuron_t {
  5. // nominally 'fixed' parameters
  6. REAL A;
  7. REAL B;
  8. REAL C;
  9. REAL D;
  10. // Variable-state parameters
  11. REAL V;
  12. REAL U;
  13. // offset current [nA]
  14. REAL I_offset;
  15. // current timestep - simple correction for threshold
  16. REAL this_h;
  17. } neuron_t;
  18. typedef struct global_neuron_params_t {
  19. REAL machine_timestep_ms;
  20. } global_neuron_params_t;
  21. #endif // _NEURON_MODEL_IZH_CURR_IMPL_H_