In NEURON simulator, suppose I graph the value of a variable (i.e. soma.v(0.5)) over time. How do I save the values in the graph to a file?
-
4$\begingroup$ I'm voting to close this question as off-topic because the question is about the use of software. I reckon an answer to any question at this site should at least contain an element touching on CogSci. $\endgroup$– AliceD ♦Jul 12, 2015 at 23:59
-
4$\begingroup$ Should probably be discussed on Meta, but software that is CogSci specific could reasonably be on-topic. $\endgroup$– JoshJul 13, 2015 at 2:41
-
2$\begingroup$ I picked CogSci because the software tag explicitly mentions the use of software: "Software": For questions regarding the use and selection of computer programs designated for instruction, experimentation, and data processing. $\endgroup$– JustasJul 13, 2015 at 18:13
-
1$\begingroup$ This meta post seems related: meta.cogsci.stackexchange.com/questions/471/… NEURON is used heavily in computational neuroscience to model individual neurons, and their networks. Cited over >1600 times: scholar.google.com/… $\endgroup$– JustasJul 13, 2015 at 18:22
1 Answer
Not intuitive, but to save the value of a curve plotted in a graph:
- Right click the graph window, and choose "Pick Vector"
- Click on the desired curve (it should change color i.e. to red)
- In the NEURON Main Menu > Vector > Save to File
- Type in the file name > Save
- File will have two columns, first one for X-axis values (i.e. time) and second for the Y-axis (i.e. voltage)