Search found 52 matches

by bremen
Tue Feb 25, 2025 4:39 am
Forum: NEURON + Python
Topic: Coreneuron CPU and multisplit
Replies: 1
Views: 10843

Coreneuron CPU and multisplit

Hi. I have a couple of questions about Coreneuron before starting to change my current simulation environment. 1) Based on posts on NEURON github, Coreneuron can be run on CPUs and I was wondering if it supports multisplit? 2) If yes, coreneuron + multisplit can provide a boost to the simulation tim...
by bremen
Tue Feb 04, 2025 9:49 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Boltzmann and elementary charge values
Replies: 6
Views: 39151

Re: Boltzmann and elementary charge values

Hi. For nrnivmodl was ok but for modlunit is not and the voltage clamp showed that too. alpha = 50exp(e * 1.2 * v/(boltzmann *(273.15 + celsius))) The previous expression needs the conversion factor (1000) My issue is where i have to apply the conversion factor. If I simply multiply everything for 1...
by bremen
Sat Feb 01, 2025 2:04 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Boltzmann and elementary charge values
Replies: 6
Views: 39151

Re: Boltzmann and elementary charge values

Thank you.

I have added the two costant as UNITS and the MOD files pass nrnivmodl without issues.
by bremen
Sat Feb 01, 2025 8:29 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Boltzmann and elementary charge values
Replies: 6
Views: 39151

Re: Boltzmann and elementary charge values

My bad, I forgot to write that the equation will be used in a MOD file.
by bremen
Fri Jan 31, 2025 3:32 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Boltzmann and elementary charge values
Replies: 6
Views: 39151

Boltzmann and elementary charge values

Hi. I would need some help to translate an equation, I found on a paper, into the correct NEURON equivalent. This equation controls the forward transition between two states in a markov chain. alpha = ao exp(eo zada E/kT) ao is an integer calculate by the authors, eo is the elementary charge, zada i...
by bremen
Thu Oct 24, 2024 2:50 am
Forum: UNIX/Linux
Topic: Flags to enable Avx256 and 512 compiling
Replies: 3
Views: 30209

Re: Flags to enable Avx256 and 512 compiling

HI.

Thank you for the explanation.
by bremen
Wed Oct 16, 2024 8:52 am
Forum: UNIX/Linux
Topic: Flags to enable Avx256 and 512 compiling
Replies: 3
Views: 30209

Flags to enable Avx256 and 512 compiling

Hi. I was looking to this old thread (https://www.neuron.yale.edu/phpBB/viewtopic.php?p=14858&hilit=avx#p14858) about compiling NEURON with AVX. Now that AVX-256 and AVX-512 are common on desktop CPU, I was wondering if it was possible to add a flag, during the configure, to compile NEURON for o...
by bremen
Sat Jun 24, 2023 12:38 pm
Forum: NEURON + Python
Topic: Two voltage clamp with a delay
Replies: 1
Views: 37657

Re: Two voltage clamp with a delay

Never mind.

I have just resolved my issues directly with the seclamp MOD file.
by bremen
Fri Jun 09, 2023 4:48 am
Forum: NEURON + Python
Topic: Two voltage clamp with a delay
Replies: 1
Views: 37657

Two voltage clamp with a delay

Hi. I need to write a protocol containing: a voltage clamp for x second, followed by a current clamp for y seconds and again a voltage clamp for x second. The functions Vclamp and Seclamp do no have a delay option and, as for the documentation, "Do not insert several instances of this model at ...
by bremen
Mon Feb 01, 2021 7:28 am
Forum: Adding new mechanisms and functions to NEURON
Topic: A pump MOD file and no concentration inside
Replies: 3
Views: 23150

Re: A pump MOD file and no concentration inside

Hello Ted.

Thank you very much.
I was missing the "mass balance equation".
I have added it to the MOD file and everything is working fine.

Best
Stefano
by bremen
Sat Jan 30, 2021 3:00 am
Forum: Adding new mechanisms and functions to NEURON
Topic: A pump MOD file and no concentration inside
Replies: 3
Views: 23150

A pump MOD file and no concentration inside

Hi. My workflow contains the following steps: a substance is generated into a section (MOD file), is pumped out (MOD file) in a cubic ECS (RxD). Than from the ECS it is pumped (MOD file) into another section where there are a series of reactions (RxD). This works fine. Now I'm trying to substitute t...
by bremen
Fri Mar 27, 2020 3:37 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Syncronized concentrations in and out the membrane
Replies: 1
Views: 11549

Re: Syncronized concentrations in and out the membrane

Never mind. I have found the underlying issue.
by bremen
Thu Mar 26, 2020 11:11 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Syncronized concentrations in and out the membrane
Replies: 1
Views: 11549

Syncronized concentrations in and out the membrane

Hi. I'm trying to define a MOD file capable of reading the internal concentration of a substance and, with a slim to none delay, "transpose" the same concentration in a ecs. The ecs is defined with rxd.Extracellular(). The substance is generated by a MOD file in the inside and as an rxd.sp...
by bremen
Fri Feb 28, 2020 9:13 am
Forum: Reaction-diffusion in NEURON
Topic: Multicomp model, ECS, pumps and strange concentrations
Replies: 3
Views: 23626

Re: Multicomp model, ECS, pumps and strange concentrations

Thank you. I have modified your code and i can reproduce the strangeness. from neuron import h, rxd from neuron.units import mV, ms h.load_file('stdrun.hoc') soma = h.Section(name='soma') dend0 = h.Section(name='dend0') dend00 = h.Section(name='dend00') dend00.insert('pump') dend1 = h.Section(name='...
by bremen
Thu Feb 27, 2020 10:17 am
Forum: Reaction-diffusion in NEURON
Topic: Multicomp model, ECS, pumps and strange concentrations
Replies: 3
Views: 23626

Multicomp model, ECS, pumps and strange concentrations

Hi. I was checking my RxD code, after implementing it into a multi compartmental model and something very odd came up. I have a substance, produced by a few dendrites and, trough pumps (the same used in the RxD examples) diffused into the ECS. If I cancel the code responsible for the generation of t...