Search found 21 matches
- Wed Aug 30, 2023 5:02 pm
- Forum: Reaction-diffusion in NEURON
- Topic: MultiCompartmentReaction across sections
- Replies: 6
- Views: 45097
Re: MultiCompartmentReaction across sections
Thanks, with 8.2.2 I always get past the init() without segfault. However, when I stop the simulation with CTR+C I always get a segfault. That wouldn't necessarily be a problem if my simulations always finished. It seems the simulation is very sensitive to the NTdiffusion value, which is expected I ...
- Tue Aug 29, 2023 6:47 am
- Forum: Other questions
- Topic: Analyzing pointers
- Replies: 1
- Views: 30867
Analyzing pointers
I have a list of pointers, in my case I get them from myvec = [x._ref_concentration for x in mySpecies.nodes] When I write "print(myvec[0])" I get "<pointer to hoc scalar 0>", but I'd like to know more about it and I don't know how. Is there a way to know what are the addresses t...
- Fri Aug 25, 2023 5:20 pm
- Forum: Reaction-diffusion in NEURON
- Topic: MultiCompartmentReaction across sections
- Replies: 6
- Views: 45097
Re: MultiCompartmentReaction across sections
I'm getting some Segmentation fault errors after using the node.include_flux in a bit longer script that simulates a number of presynaptic spines and postsynaptic sections and random connections between them. This may be a technical issue somewhere else in my code but I haven't found the cause despi...
- Wed Aug 16, 2023 7:15 am
- Forum: Reaction-diffusion in NEURON
- Topic: MultiCompartmentReaction across sections
- Replies: 6
- Views: 45097
Re: MultiCompartmentReaction across sections
Thanks, that seems to work.
- Tue Aug 15, 2023 7:11 am
- Forum: Reaction-diffusion in NEURON
- Topic: MultiCompartmentReaction across sections
- Replies: 6
- Views: 45097
MultiCompartmentReaction across sections
Is it possible to make a MultiCompartmentReaction that involves species in non-connected sections? I get an error "RxDException: Multicompartment reactions the membrane and sources and destinations must share common sections." which suggests this is not possible. Here's a MWE where I would...
- Thu Aug 03, 2023 6:10 am
- Forum: Reaction-diffusion in NEURON
- Topic: Integrating RxD Ca reactions with MOD mechanisms
- Replies: 5
- Views: 43235
Re: Integrating RxD Ca reactions with MOD mechanisms
Thanks to both of you - yes probably better to convert the CaDynamics_E2 mechanism to RxD to avoid conflicting cai update. I'm using NEURON 7.8.2.
- Tue Aug 01, 2023 4:55 pm
- Forum: Reaction-diffusion in NEURON
- Topic: Integrating RxD Ca reactions with MOD mechanisms
- Replies: 5
- Views: 43235
Re: Integrating RxD Ca reactions with MOD mechanisms
Thanks, changing the compartment size and making the clamp stimulus longer indeed solved part of the problem (previously the Ca flux through the RxD rate input was very large compared to the Ca flux through the N-type channels). So now I see that both Ca fluxes contribute to cai. However, I'm puzzle...
- Tue Aug 01, 2023 9:30 am
- Forum: Reaction-diffusion in NEURON
- Topic: Integrating RxD Ca reactions with MOD mechanisms
- Replies: 5
- Views: 43235
Integrating RxD Ca reactions with MOD mechanisms
I'm trying to have both MOD mechanisms and RxD reactions affect my calcium concentrations. Based on previous examples this seems to be possible but I haven't got it to work properly. Here's a MWE: from pylab import * from neuron import h,rxd h(""" load_file("stdlib.hoc") loa...
- Thu Oct 13, 2022 2:16 am
- Forum: Reaction-diffusion in NEURON
- Topic: parameter controlling the rate of influx of a species in multiple compartments
- Replies: 1
- Views: 29534
Re: parameter controlling the rate of influx of a species in multiple compartments
I think I resolved the issue. The problem seems to be that I first defined a "master" RxD region 'cyt' and then for each of the sections (already included in 'cyt') a separate miniregion cyts , and maybe that's what caused the error message "Rates and Reactions with species defined on...
- Wed Oct 05, 2022 11:09 am
- Forum: Reaction-diffusion in NEURON
- Topic: parameter controlling the rate of influx of a species in multiple compartments
- Replies: 1
- Views: 29534
parameter controlling the rate of influx of a species in multiple compartments
I'm trying to introduce RxD species and reactions into a set of compartments in a multicompartmental neuron model and give inputs to some of the species. I have a list of sections for which I'm creating the Rxd Region (after defining a cell model L5PC, in this case a regular Hay model) as seclist = ...
- Mon Sep 19, 2022 7:33 am
- Forum: Reaction-diffusion in NEURON
- Topic: Reading species concentration in a MOD file using a list of species
- Replies: 1
- Views: 28245
Reading species concentration in a MOD file using a list of species
I'm trying to make a .mod ion-channel mechanism file where the maximal conductance of the channel would depend on the concentration of a certain species. Currently all my molecular species are part of a list, meaning that they are called 'specs[0]' ... 'specs[19]' and I define my reactions as e.g. r...
- Mon Mar 01, 2021 4:18 am
- Forum: Reaction-diffusion in NEURON
- Topic: Running pde solver more than once
- Replies: 6
- Views: 39478
Re: Running pde solver more than once
I've got another issue related to this topic. I used to run my simulator from the command line (even inside a python script) to make sure there are no issues with reinitialization of the RxD model. Now I'm trying to rewrite the code to be run as a normal python function to avoid i/o overload on the ...
- Wed Aug 14, 2019 5:14 am
- Forum: Reaction-diffusion in NEURON
- Topic: decay reactions
- Replies: 1
- Views: 22246
decay reactions
How to implement a decay reaction (a reaction with no products)?
In an earlier NEURON version it was possible to write
but now (v. 7.7) I get an error "AttributeError: 'Reaction' object has no attribute '_react_regions'"
In an earlier NEURON version it was possible to write
Code: Select all
reaction_decay = rxd.Reaction(Ca > 0*Ca, 1e-8)
- Fri Nov 16, 2018 6:07 am
- Forum: Reaction-diffusion in NEURON
- Topic: maximum length for the name of a species?
- Replies: 2
- Views: 5094
Re: maximum length for the name of a species?
Thanks for the reply. However, the problem persists even if I remove "nrn_region='i'", or change it to None or 'o'.
- Wed Nov 14, 2018 10:59 am
- Forum: Reaction-diffusion in NEURON
- Topic: maximum length for the name of a species?
- Replies: 2
- Views: 5094
maximum length for the name of a species?
I get a weird "Abort trap: 6" error that seems to depend on the length of the names of my species. MWE: from neuron import h, rxd from pylab import * h.load_file('stdrun.hoc') dend = h.Section(name='dend') cyt = rxd.Region([dend], name='cyt', nrn_region='i') specNameLen=21 specs = [] vecs ...