-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhh_main_cpu.h
27 lines (17 loc) · 859 Bytes
/
hh_main_cpu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* hh_main.h
*
* Created on: 27 июня 2016 г.
* Author: Pavel Esir
*/
#ifndef HH_MAIN_H_
#define HH_MAIN_H_
void init_noise(unsigned int seed);
void set_calc_params(unsigned int Tsim, unsigned int cutoff_ns_tm, unsigned int Nneur, unsigned int Ncon, unsigned int recInt, double h);
void set_neur_vars(double *V_m, double *Vrec, double *n_ch, double *m_ch, double *h_ch);
void set_currents(double *I_e, double *y, double *I_syn, double *rate, double tau_psc, double *d_w_p, unsigned int seed);
void set_incom_spikes(unsigned int *times, unsigned int *nums, double *weights, unsigned int MaxNumIncom);
void set_spike_times(unsigned int *spike_time, unsigned int *num_spike_neur, unsigned int sz);
void set_conns(double *weight, unsigned int *delay, unsigned int *pre, unsigned int *post);
void simulate_cpp();
#endif /* HH_MAIN_H_ */