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 '15 at 23:59
  • 4
    $\begingroup$ Should probably be discussed on Meta, but software that is CogSci specific could reasonably be on-topic. $\endgroup$ – Josh de Leeuw Jul 13 '15 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$ – Justas Jul 13 '15 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$ – Justas Jul 13 '15 at 18:22

Not intuitive, but to save the value of a curve plotted in a graph:

  1. Right click the graph window, and choose "Pick Vector"
  2. Click on the desired curve (it should change color i.e. to red)
  3. In the NEURON Main Menu > Vector > Save to File
  4. Type in the file name > Save
  5. File will have two columns, first one for X-axis values (i.e. time) and second for the Y-axis (i.e. voltage)
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.