Skip to content

Instantly share code, notes, and snippets.

@clbarnes
Created June 10, 2021 08:07
Show Gist options
  • Save clbarnes/7b22409a41f9272c201653937df63d1b to your computer and use it in GitHub Desktop.
Save clbarnes/7b22409a41f9272c201653937df63d1b to your computer and use it in GitHub Desktop.
Test case for the circuit simulation widget
this.units = [
{
name: "PNs",
color: "#000000",
// PN KC MBON latMBON FBN FB2IN MBIN
w: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
k: 1.5,
th: 5.0,
I_tonic: 0,
I_stim: 10.0,
I_stim_start: 100,
I_stim_end: 600,
scaling: 10.0,
tau: 10.0,
},
{
name: "KCs",
color: "#bbbbbb",
w: [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
k: 1.5,
th: 5.0,
I_tonic: 0,
I_stim: 0.0,
I_stim_start: 0.0,
I_stim_end: 0.0,
scaling: 10.0,
tau: 10,
},
{
name: "MBON",
color: "#a34d9d",
w: [0.0, 0.5, 0.0, 0.0, 0.0, 0.0, 0.0],
k: 1.5,
th: 5.0,
I_tonic: 0,
I_stim: 0.0,
I_stim_start: 0.0,
I_stim_end: 0.0,
scaling: 10.0,
tau: 10,
},
{
name: "MBON-lat",
color: "#f3d0e3",
w: [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0],
k: 1.5,
th: 5.0,
I_tonic: 0,
I_stim: 0.0,
I_stim_start: 0.0,
I_stim_end: 0.0,
scaling: 10.0,
tau: 10,
},
{
name: "FBN",
color: "#58b2e1",
w: [0.0, 0.0, -0.5, 0.5, 0.0, 0.0, 0.0],
k: 1.5,
th: 5.0,
I_tonic: 2.0,
I_stim: 0.0,
I_stim_start: 0.0,
I_stim_end: 0.0,
scaling: 10.0,
tau: 10,
},
{
name: "FB2IN",
color: "#fbb03f",
w: [0.0, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0],
k: 1.5,
th: 5.0,
I_tonic: 2.0,
I_stim: 0.0,
I_stim_start: 0.0,
I_stim_end: 0.0,
scaling: 10.0,
tau: 10,
},
{
name: "MBIN",
color: "#0b8a44",
w: [0.0, 0.0, 0.0, 0.0, 0.3, -0.4, 0.0],
k: 1.5,
th: 5.0,
I_tonic: 4.0,
I_stim: 0.0,
I_stim_start: 0.0,
I_stim_end: 0.0,
scaling: 10.0,
tau: 10,
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment