Search found 13 matches

by firoozeh
Sun Apr 21, 2024 7:31 am
Forum: Hot tips
Topic: Extracellular stimulation and recording
Replies: 10
Views: 103482

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...
by firoozeh
Sun Apr 07, 2024 2:40 am
Forum: Hot tips
Topic: Extracellular stimulation and recording
Replies: 10
Views: 103482

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
by firoozeh
Thu Apr 04, 2024 2:33 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: "xtra is not a mechanism"
Replies: 7
Views: 209

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 ...
by firoozeh
Thu Apr 04, 2024 2:16 am
Forum: Adding new mechanisms and functions to NEURON
Topic: "xtra is not a mechanism"
Replies: 7
Views: 209

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...
by firoozeh
Wed Apr 03, 2024 4:16 am
Forum: Adding new mechanisms and functions to NEURON
Topic: "xtra is not a mechanism"
Replies: 7
Views: 209

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("{...
by firoozeh
Tue Apr 02, 2024 12:18 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: "xtra is not a mechanism"
Replies: 7
Views: 209

"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') ---...
by firoozeh
Tue May 26, 2020 2:52 pm
Forum: Other questions
Topic: loop structure
Replies: 3
Views: 8397

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 =...
by firoozeh
Sat May 23, 2020 2:57 am
Forum: Other questions
Topic: loop structure
Replies: 3
Views: 8397

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
by firoozeh
Sun Apr 26, 2020 4:07 am
Forum: Other questions
Topic: theoretical and simulation results of applying uniform electric filed
Replies: 0
Views: 28747

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...
by firoozeh
Sun Mar 29, 2020 3:47 pm
Forum: Other questions
Topic: apply extracellular electric field and current
Replies: 3
Views: 8744

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...
by firoozeh
Mon Mar 16, 2020 10:30 am
Forum: Other questions
Topic: Action Potential propagation
Replies: 3
Views: 6152

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
by firoozeh
Sun Mar 15, 2020 2:06 pm
Forum: Other questions
Topic: Action Potential propagation
Replies: 3
Views: 6152

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...
by firoozeh
Fri Mar 13, 2020 10:38 am
Forum: Other questions
Topic: apply extracellular electric field and current
Replies: 3
Views: 8744

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...