File: pyramidal.g

package info (click to toggle)
genesis 2.1-1.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 14,288 kB
  • ctags: 10,667
  • sloc: ansic: 111,959; makefile: 2,240; yacc: 1,797; lex: 976; csh: 54; sh: 13
file content (44 lines) | stat: -rw-r--r-- 1,448 bytes parent folder | download | duplicates (5)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//genesis
echo creating pyramidal cells
/*
** create the pyramidal population element on the root
*/
create neutral /pyr

// ==========================================================
//                    PYRAMIDAL CELL ARRAY
// ==========================================================

pyramidal_cell /pyramidal {ACTIVE} {MULTI} {SPIKE} {CONNECT}  \
    {PYR_SOMA_D} {PYR_SOMA_L} {PYR_DEND_D} {PYR_DEND_L}

createmap /pyramidal /pyr {PYR_NX} {PYR_NY} -delta {PYR_DX} {PYR_DY}
delete /pyramidal
position /pyr I I 350e-3

// ==========================================================
//                    PYRAMIDAL CELL THRESHOLDS
// ==========================================================

if ({ACTIVE})
    setrandfield /pyr/pyramidal[]/HH_Na_channel X_alpha_V0 -gaussian -40 \
         3
else
    setrandfield /pyr/pyramidal[]/spike thresh -gaussian -40 3
end

if ({T_NOISE})
    // ==========================================================
    //                    TRANSMITTER NOISE
    // ==========================================================
    create funcgen /pyr/Affnoise
    setfield ^ mode 3 amplitude 1 x {1000*{getclock 0}}
    addmsg ^ /pyr/pyramidal[]/soma/Ia_dend/Aff_Na_channel  \
        RAND_ACTIVATION output x

    create funcgen /pyr/ffnoise
    setfield ^ mode 3 amplitude .2 x {100*{getclock 0}}
    // prob amplitude
    addmsg ^ /pyr/pyramidal[]/soma/Ia_dend/K_channel RAND_ACTIVATION  \
        output x
end