Search found 37 matches
- Sun May 31, 2020 12:14 pm
- Forum: Getting started
- Topic: Represent images/movies in NEURON simulator
- Replies: 2
- Views: 25320
Re: Represent images/movies in NEURON simulator
Thank you Ted for such quick response. I rather meant taking an image, and present it to my neural circuit model. Like a small retina, if saying very basic. I've looked through ModelDB and found something related like Corem simulator or Virtual Retina but they designed for other simulators like Nest.
- Sun May 31, 2020 7:43 am
- Forum: Getting started
- Topic: Represent images/movies in NEURON simulator
- Replies: 2
- Views: 25320
Represent images/movies in NEURON simulator
Hello! I just wanted to double check before creating my own wheel. Is there a library/tool that allow to represent images/movies in NEURON simulator? For example take an image (28x28) and represent it as a grid of NetStim (28x28) where each NetStim corresponds to a single image pixel.
- Wed Feb 26, 2020 7:16 am
- Forum: NEURON + Python
- Topic: Vector Values
- Replies: 2
- Views: 3452
Re: Vector Values
Hi! The error message clearly say that you are trying to access a string value as float (numeric type). Please post the links to the code from neuron website you are mentioning.
- Fri Feb 21, 2020 7:12 am
- Forum: Anatomically detailed models
- Topic: Neuron transforms soma that is loaded from .swc. What is the rule for it?
- Replies: 4
- Views: 27263
Re: Neuron transforms soma that is loaded from .swc. What is the rule for it?
Thank you for the information! In my case the solution was to use the last point of soma for connection of other sections. So, instead of parent id 1 use 3 ... 4 2 0.292800 -4.265800 -5.562200 0.325200 1 ... Use # index type X Y Z radius parent ... 4 2 0.292800 -4.265800 -5.562200 0.325200 3 ... And...
- Tue Feb 11, 2020 5:20 am
- Forum: Anatomically detailed models
- Topic: Neuron transforms soma that is loaded from .swc. What is the rule for it?
- Replies: 4
- Views: 27263
Re: Neuron transforms soma that is loaded from .swc. What is the rule for it?
Thank you, Ted! My main question is how I can avoid of adding 2 additional points in case soma is a cylinder already. In order to avoid any misunderstandings here is the code: SimpleCellCylinder.swc # index type X Y Z radius parent 1 1 -5.442800 0.000000 0.000000 5.442800 -1 2 1 0.000000 0.000000 0....
- Mon Feb 10, 2020 6:58 am
- Forum: Anatomically detailed models
- Topic: Neuron transforms soma that is loaded from .swc. What is the rule for it?
- Replies: 4
- Views: 27263
Neuron transforms soma that is loaded from .swc. What is the rule for it?
Hi! Can you please point to me to the source code/rule that adds new points to a soma that is loaded from .swc? An example. Lets say I have a morphology with a soma. # index type X Y Z radius parent 1 1 0.000000 0.000000 0.000000 5.442800 -1 2 2 0.292800 -4.265800 -5.562200 0.325200 1 3 2 0.654500 -...
- Fri Dec 20, 2019 4:27 am
- Forum: Suggestions and Feedback
- Topic: Accessibility of documentation
- Replies: 1
- Views: 41109
Accessibility of documentation
Hi! I receive 404 (Not Found) error when I try to access https://www.neuron.yale.edu/neuron/stat ... index.html. Is it fine?
- Wed Dec 18, 2019 7:20 am
- Forum: NEURON + Python
- Topic: Associative arrays in HOC
- Replies: 5
- Views: 4839
Re: Associative arrays in HOC
Also here a couple of examples: begintemplate String public s strdef s endtemplate String begintemplate ObjDict public get, put, setKeys objref keyList, valueList, nil proc init() { keyList = new List() valueList = new List() } proc put() {localobj key key = new String() key.s = $s1 keyList.append(k...
- Wed Dec 18, 2019 5:52 am
- Forum: NEURON + Python
- Topic: Associative arrays in HOC
- Replies: 5
- Views: 4839
Re: Associative arrays in HOC
There is an implementation of Dictionary in this post viewtopic.php?t=1438
- Fri Dec 13, 2019 5:36 pm
- Forum: NEURON + Python
- Topic: Associative arrays in HOC
- Replies: 5
- Views: 4839
Associative arrays in HOC
In Python we have dicts like this
Is there an analogue in HOC?
Code: Select all
d = {'key1': 1, 'key2': 56}
- Wed Nov 27, 2019 3:52 am
- Forum: NEURON + Python
- Topic: How to get synapse offset/position
- Replies: 5
- Views: 4141
Re: How to get synapse offset/position
Thank you so much! This is a very useful information for me.
- Tue Nov 26, 2019 5:01 am
- Forum: NEURON + Python
- Topic: How to get synapse offset/position
- Replies: 5
- Views: 4141
Re: How to get synapse offset/position
Thank you, Ted! I heard of *d_lambda* but forgot its specifics. My purpose was rather educational.
- Thu Nov 21, 2019 11:58 am
- Forum: NEURON + Python
- Topic: How to get synapse offset/position
- Replies: 5
- Views: 4141
Re: How to get synapse offset/position
Aha, I see. It is up to the number of segments in section. With high enough number of segments the synapse is placed to a nearly correct position otherwise it is placed as close as possible. So if I do
then I have 0.775 as my synapse position.
This is very tricky.
Code: Select all
dend.nseg = 100
This is very tricky.
- Thu Nov 21, 2019 5:46 am
- Forum: NEURON + Python
- Topic: How to get synapse offset/position
- Replies: 5
- Views: 4141
How to get synapse offset/position
Hi! Can somebody please clarify. It looks I'm missing something fundamental. How to know that syn is at 0.77 offset? get_segment().x , get_loc return 0.5 . Do I miss something? Is syn moved to the offset 0.5 after instantiation? from neuron import h h.load_file('stdrun.hoc') dend = h.Section(name='d...
- Tue Sep 24, 2019 12:14 pm
- Forum: The GUI
- Topic: error in saving a voltage trace into a figure
- Replies: 2
- Views: 22947
Re: error in saving a voltage trace into a figure
Hi! Does it work fine if you plot directly instead of saving figure? What would happen if you replace
with ?
Code: Select all
fig.savefig("trial.png")
Code: Select all
plt.show()