Skip to content

Commit

Permalink
Merge pull request #125 from openworm/development
Browse files Browse the repository at this point in the history
Samples update
  • Loading branch information
tarelli authored Apr 17, 2017
2 parents fe4835f + b45cca2 commit 9711320
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/projects/AuditoryCortex/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ Plot1.plotData(acnet2.pyramidals_48[1].soma_0.v);
Plot1.plotData(acnet2.baskets_12[2].soma_0.v);


G.addBrightnessFunction(acnet2.pyramidals_48[0].soma_0, acnet2.pyramidals_48[0].soma_0.v, function(x){return (x+0.07)/0.1;});
G.addBrightnessFunction(acnet2.pyramidals_48[1].soma_0, acnet2.pyramidals_48[1].soma_0.v, function(x){return (x+0.07)/0.1;});
G.addBrightnessFunction(acnet2.baskets_12[2].soma_0, acnet2.baskets_12[2].soma_0.v, function(x){return (x+0.07)/0.1;});
G.addBrightnessFunction(acnet2.pyramidals_48[0].soma_0, acnet2.pyramidals_48[0].soma_0.v, window.voltage_color);
G.addBrightnessFunction(acnet2.pyramidals_48[1].soma_0, acnet2.pyramidals_48[1].soma_0.v, window.voltage_color);
G.addBrightnessFunction(acnet2.baskets_12[2].soma_0, acnet2.baskets_12[2].soma_0.v, window.voltage_color);
2 changes: 1 addition & 1 deletion src/main/resources/projects/AuditoryCortex/script2.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ newPopup.setName("Description");
newPopup.setPosition(870, 90);
newPopup.setSize(160,465)

G.addBrightnessFunction(hhcell.hhpop[0], hhcell.hhpop[0].v, function(x){return (x+0.07)/0.1;});
G.addBrightnessFunction(hhcell.hhpop[0], hhcell.hhpop[0].v, window.voltage_color);

Project.getActiveExperiment().play({step:1});

Expand Down

0 comments on commit 9711320

Please sign in to comment.