Search found 20 matches

by sohaib786
Mon Mar 11, 2019 3:40 pm
Forum: Anatomically detailed models
Topic: BioPhysical properties of imported morphology in Python
Replies: 9
Views: 10841

Re: BioPhysical properties of imported morphology in Python

This particular command generates the following error. from neuron import h h.load_file("/home/sohaib/neuron/mycell.hoc") Couldn't find: /home/sohaib/neuron/mycell.hoc near line 0 objref hoc_obj_[2] However, running this command twice does it. from neuron import h h.load_file('/home/sohaib...
by sohaib786
Mon Mar 11, 2019 3:49 am
Forum: Anatomically detailed models
Topic: BioPhysical properties of imported morphology in Python
Replies: 9
Views: 10841

Re: BioPhysical properties of imported morphology in Python

I wasn't telling you to literally try to load mycell.hoc. I was just providing an example of how to use load_file to read a hoc file, so I needed a name for a hoc file and I just made one up
I understood that, so I renamed my file as mycell just to maintain coherency.

Thanks anyways.
by sohaib786
Sun Mar 10, 2019 6:16 am
Forum: General questions and discussions about computational neuroscience
Topic: Morphology and AP generation
Replies: 17
Views: 42588

Morphology and AP generation

Greetings all, I am interested in finding out the difference, morphology could have on the generation of AP. In its perusal, I wrote a code using neuron GUI + python for exciting at distal synapses and generating AP. ( Action Potential) The problem is that if we provide stimulus at different positio...
by sohaib786
Fri Mar 08, 2019 2:15 am
Forum: Anatomically detailed models
Topic: BioPhysical properties of imported morphology in Python
Replies: 9
Views: 10841

Re: BioPhysical properties of imported morphology in Python

Apologies for not specifying properly. ca3fin was the hoc file created after importing morphology & adding biophysical properties. Also, using this it imported successfully (without .hoc extension) h.load_file('/home/sohaib/neuron/mycell') . The unusual part is that on the first attempt of runni...
by sohaib786
Tue Mar 05, 2019 9:16 am
Forum: Anatomically detailed models
Topic: BioPhysical properties of imported morphology in Python
Replies: 9
Views: 10841

BioPhysical properties of imported morphology in Python

Greetings, I am trying to define biophysical properties for simulation. I tried doing it with two methods. 1) I imported morphology, set parameters using GUI. Then to simulate I tried to import it's hoc file to python using the instruction https://www.neuron.yale.edu/neuron/static/py_doc/programming...