Search found 13 matches
- Sun Apr 21, 2024 7:31 am
- Forum: Hot tips
- Topic: Extracellular stimulation and recording
- Replies: 10
- Views: 177071
Re: Extracellular stimulation and recording
Dear Ted, I am trying to plot membrane voltage in soma for different frequencies of extracellular stim, I wrote the file, "plot__f.hoc" as below: // Set up recording vector objref voltageVector voltageVector = new Vector() // Vector to record voltage at the middle of the soma voltageVector...
- Sun Apr 07, 2024 2:40 am
- Forum: Hot tips
- Topic: Extracellular stimulation and recording
- Replies: 10
- Views: 177071
Re: Extracellular stimulation and recording
Is there any code in python for monopolar extracellular stimulation of a ball and stick model? (modeling soma as an Integrate and fire and axon as a passive cable)
Thanks
Thanks
- Thu Apr 04, 2024 2:33 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: "xtra is not a mechanism"
- Replies: 7
- Views: 29365
Re: "xtra is not a mechanism"
I execute nrngui after running nrnivmodl in powershell... After typing nrngui , This message appeared: "How do you want to open this file?" I couldnt select any app.... After exiting powerShell, when open bash and change cd and type "nrngui stimsphere.hoc', neuron gui opened and this ...
- Thu Apr 04, 2024 2:16 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: "xtra is not a mechanism"
- Replies: 7
- Views: 29365
Re: Extracellular stimulation and recording
I tried to do exactly what you said, I copy all my terminal here: (my desired directory was on E:/...) << Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users\user> cd E:\9616408039_new\new_NEURON\stimsp...
- Wed Apr 03, 2024 4:16 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: "xtra is not a mechanism"
- Replies: 7
- Views: 29365
Re: Extracellular stimulation and recording
Thanks for your reply, I changed cd into my current directory,(which is E:\....) After executing nrngui stimsphere.hoc I got this in NEURON: C:\nrn\bin\nrniv.exe: xtra is not a MECHANISM in stimsphere.hoc near line 13 insert xtra ^ xopen("stimsphere.hoc") NEURONMainMenu[0].execute1("{...
- Tue Apr 02, 2024 12:18 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: "xtra is not a mechanism"
- Replies: 7
- Views: 29365
"xtra is not a mechanism"
Hi Ted I have a question about the code you have uploaded for stimulation of a spherical neuron... when I run it by jupyter notebook, I get this error: ValueError Traceback (most recent call last) <ipython-input-7-46c659da76e0> in <module> 19 for sec in h.allsec(): 20 sec.insert('extracellular') ---...
- Tue May 26, 2020 2:52 pm
- Forum: Other questions
- Topic: loop structure
- Replies: 3
- Views: 13441
Re: loop structure
Dear ramcdougal, Thank you so much for your reply. I used the following code. I can save all the data for every run, but the problem is all the data save in a single file. I want to save data of each trial in a separate file. Would you please help me to do this? Thanks objref ivec, tvec, vvec ivec =...
- Sat May 23, 2020 2:57 am
- Forum: Other questions
- Topic: loop structure
- Replies: 3
- Views: 13441
loop structure
Hello all,
I give my neuron a noise input to soma and an extracellular constant current and repeat this process for 100 trials. I'm trying to do this with "loop" structure and save Vm and Ve and current data for each trial. Would you please help me how can I do this?
Thanks
I give my neuron a noise input to soma and an extracellular constant current and repeat this process for 100 trials. I'm trying to do this with "loop" structure and save Vm and Ve and current data for each trial. Would you please help me how can I do this?
Thanks
- Sun Apr 26, 2020 4:07 am
- Forum: Other questions
- Topic: theoretical and simulation results of applying uniform electric filed
- Replies: 0
- Views: 44937
theoretical and simulation results of applying uniform electric filed
Hi all, I have a simple passive cable model of dendrite. I used the codes of extracellular record and stim with a monopolar electrode. I put the electrode far from the end of the cable. I mean the cable is horizontal with the length of 500um, and the electrode location is (6000,0,0) , so I have a un...
- Sun Mar 29, 2020 3:47 pm
- Forum: Other questions
- Topic: apply extracellular electric field and current
- Replies: 3
- Views: 13005
Re: apply extracellular electric field and current
Hi all, I used the codes in extracellular record and stim to stimulate my simple neuron model with intracellular and extracellular current. I have some questions, I will be grateful if answer them: 1) I used "record" as follows but still I can't calculate intracellular potential... //recor...
- Mon Mar 16, 2020 10:30 am
- Forum: Other questions
- Topic: Action Potential propagation
- Replies: 3
- Views: 8559
Re: Action Potential propagation
Dear Ramcdougal,
Thank you so much for your reply and your recommendations.
Would you please answer my 3rd question, too?
If I insert extracellular to my model, I have extracellular potential, haven't I?
If so, how can I code for intracellular voltage?
Thanks
Thank you so much for your reply and your recommendations.
Would you please answer my 3rd question, too?
If I insert extracellular to my model, I have extracellular potential, haven't I?
If so, how can I code for intracellular voltage?
Thanks
- Sun Mar 15, 2020 2:06 pm
- Forum: Other questions
- Topic: Action Potential propagation
- Replies: 3
- Views: 8559
Action Potential propagation
Hi, I have 3 questions: 1: Would you please tell me, the model that NEURON uses is always based on cable theory ? Can we have point model of neuron ,too? 2: I wrote this code: create soma, axon access soma soma.nseg = 1 soma.diam = 18.8 soma.L = 18.8 soma.Ra =123.0 soma insert hh soma psection() axo...
- Fri Mar 13, 2020 10:38 am
- Forum: Other questions
- Topic: apply extracellular electric field and current
- Replies: 3
- Views: 13005
apply extracellular electric field and current
Hello I am new NEURON user and I apologize you for my elementary questions... I want to study the response of cable model of neuron (with considering diffusion) to: 1. uniform extracellular electric field , 2. time variant extracellular electric field, 3.pulse of electric current and 4.temporal osci...