File: efmxplott.ode

package info (click to toggle)
xppaut 8.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,332 kB
  • sloc: ansic: 74,690; makefile: 127; sh: 92
file content (26 lines) | stat: -rw-r--r-- 714 bytes parent folder | download
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
# plots the rhs of s'
# gcc -fPIC -dynamiclib efmx.c -o efx.so 
# File Edit Load-dll - choose efx.so   
# choose efmx for the function
#  ibar is the mean input, isig is the SD of the currents
# nsig is the amplitude of the white noise
# tau is synaptic time scale
# nit is the number of timesteps to take. Only the last 3/4 are used
# ntr is the number fo trials over which to average
# nn is the number of neurons
par ibar=-.5,isig=.3333,nsig=0,tau=10
par nit=200,nn=100,ntr=100
@ meth=discrete,total=50
init s=-1
s'=s+.08
sd'=sp
# plots the time as well
tim'=tt
sp=0
tt=0
#aux sdot=sp
#aux time=tt
@ bound=1000000000
@ xp=s,yp=sd,xlo=-1,xhi=3,ylo=-.1,yhi=.2
export {s,ibar,isig,nsig,tau,nit,ntr,nn} {sp,tt}
done