Search found 85 matches

by breakwave922
Mon Aug 19, 2019 2:07 pm
Forum: Modeling networks
Topic: "turn off" Netstim in the middle of simulation
Replies: 3
Views: 23

Re: "turn off" Netstim in the middle of simulation

Dear Ted, Thanks for the reply. It helps! Read the Programmer's Reference documentation of the NetStim class to understand how events can turn a NetStim on or off https://www.neuron.yale.edu/neuron/stat ... ml#NetStim. Also read the documentation of the NetCon class's event() method https://www.neur...
by breakwave922
Sun Aug 18, 2019 5:13 pm
Forum: Modeling networks
Topic: "turn off" Netstim in the middle of simulation
Replies: 3
Views: 23

"turn off" Netstim in the middle of simulation

I have a network model by NEURON, and each cell has its stochastic input. To do this, I used Netstim to generate random inputs for each cell. However, I plan to "turn off" these Netstim inputs after certain time point, without terminating simulation. The certain time point is triggered by the algori...
by breakwave922
Tue Jul 23, 2019 1:22 pm
Forum: Employment and educational opportunities
Topic: workshops/courses
Replies: 2
Views: 231

Re: workshops/courses

Ted,
Thanks for the information
by breakwave922
Mon Jul 22, 2019 1:52 pm
Forum: Employment and educational opportunities
Topic: workshops/courses
Replies: 2
Views: 231

workshops/courses

Dear Ted,

I noticed that the summer workshop for NEURON was from 10 June 2019 to 15 June 2019. I want to check with you when the next planned workshops/courses related to NEURON?

Thanks.
by breakwave922
Fri Mar 01, 2019 3:54 pm
Forum: Parallel NEURON
Topic: multithreads for parallel NEURON code
Replies: 0
Views: 961

multithreads for parallel NEURON code

I need to do run my big-scale NEURON model some supercomputing resources (code is paralleled), but unfortunately, we are limited to get number of cores. To speedup, I was suggested to launch multiple threads by manually setting OMP_NUM_THREADS. I'm not sure NEURON can do this. My understanding is, t...
by breakwave922
Wed Feb 06, 2019 5:49 pm
Forum: Modeling networks
Topic: Is there any network model using extracellular mechanism in simulating DBS
Replies: 1
Views: 1229

Is there any network model using extracellular mechanism in simulating DBS

I plan to implement deep brain stimulation (DBS) to a network model I’m working with. I’m wondering if there is any network level computational study with DBS. I noticed that some models used intracellular current injection to approximate the DBS. But I want to model it using extracellular induced f...
by breakwave922
Tue Oct 16, 2018 12:25 pm
Forum: Other questions
Topic: Using event delivery system with fixed time step method.
Replies: 7
Views: 2107

Re: Using event delivery system with fixed time step method.

2. The binary representation of dt must have a finite number of bits, AND that representation must be short enough to be handled by double precision arithmetic without error. In retrospect this is also obvious; if dt does not satisfy this criterion, sooner or later roundoff error will rear its ugly...
by breakwave922
Sun Oct 14, 2018 6:15 pm
Forum: Other questions
Topic: Using event delivery system with fixed time step method.
Replies: 7
Views: 2107

Re: Using event delivery system with fixed time step method.

Dear Ted and Hines, Since my question is similar to the thread here, I guess it's better to ask it here rather than having a new thread. I've been mired in the problem for several days... I have a network model which I already implemented calculating LFP at each time step. But to simplify, I don't h...
by breakwave922
Mon Oct 01, 2018 10:10 pm
Forum: Modeling networks
Topic: Real-time process on LFP
Replies: 4
Views: 1505

Re: Real-time process on LFP

No need to do off-line calculations. Use the Linear Circuit Builder to implement your filter, and you can filter any variable you like during a simulation. Linear Circuit Builder is definitely a good idea. Is it possible that we can use like "moving time window" to store some variables during a sim...
by breakwave922
Sun Sep 30, 2018 5:15 pm
Forum: Modeling networks
Topic: Real-time process on LFP
Replies: 4
Views: 1505

Re: Real-time process on LFP

Hi, Ted, Thanks for the reply. Is it possible that we can buffer a snippet of LFP data to the current time step, then band-pass filter these LFP data, and calculate the derivative of filtered LFP based on time step, if the derivative is negatively close to 0 (it stands for trough), we can activate C...
by breakwave922
Sat Sep 29, 2018 12:18 am
Forum: Modeling networks
Topic: Real-time process on LFP
Replies: 4
Views: 1505

Real-time process on LFP

Hi, I have a big-scale network model developed via NEURON, and with LFP calculated. What I want to do with LFP is, at each time step, I want to first band-pass filter LFP signal, and detect whether the filtered LFP signal is at trough. If it is, neurons with optogentic channel, like Chronos, will be...
by breakwave922
Fri Aug 10, 2018 2:56 pm
Forum: NEURON hacks
Topic: how to read single line from a file in HOC
Replies: 3
Views: 1303

Re: how to read single line from a file in HOC

Ted, Thanks for the reply. However, I still couldn't figure out how to read line-by-line from a file. For example, I have a txt data file with 3 lines, and data looks like: 12, 33 22, 3, 4 2, 3, 5, 7 If I want to read only 2nd line to have a vector with value [22,3,4], I tried scanf and fscan, and i...
by breakwave922
Thu Aug 09, 2018 12:07 pm
Forum: NEURON hacks
Topic: how to read single line from a file in HOC
Replies: 3
Views: 1303

how to read single line from a file in HOC

I have a txt file with a collection of vectors with different length. Vectors are stored in each line of this file.
Is there any way to read this file line by line in HOC? Because different lines have different lengths, I cannot use loadmatrix and getrow.

Thanks in advance.
by breakwave922
Wed Nov 29, 2017 10:37 pm
Forum: Parallel NEURON
Topic: summation of matrix on different computer nodes
Replies: 2
Views: 10130

Re: summation of matrix on different computer nodes

Ted, Thanks for the reply and information. Actually, I saved each cell's membrane potential into a vector, cell by cell. Those cells are distributed among different cores, in paralleled environment. I can use .add(vec1) to sum them up, but this sum-up only applicable to cells on the same core. I wan...
by breakwave922
Sun Nov 19, 2017 3:27 am
Forum: Parallel NEURON
Topic: summation of matrix on different computer nodes
Replies: 2
Views: 10130

summation of matrix on different computer nodes

Hi, I have a big network NEURON model, which is computed in parallel environment on superclusters. For each cell, I generated a matrix to save it's membrane voltages of all compartments, so these matrix should be on different computer nodes. I need to sum-up all the matrix from all cells. Since thos...