Page 1 of 1

Detection of MOD files in rxd.Region 'o'

Posted: Thu May 26, 2022 2:30 am
by malthe.nielsen
Hi

I'm trying to simulate ion accumulation/depletion and diffusion in the Frankenhauser Hodgkin space surrounding a dendrite. Here I want to investigate what happens in this space during intense activation of AMPA and NMDA.
My problem arises when I want my MOD files to communicate with my FH space. At first I defined my FH space as

Code: Select all

fh = rxd.Region(h.allsec(), nrn_region='o', geometry=rxd.Shell(lo=1.5, hi=2.0))
When running my script, there was no response, even if I upped the current going outwards. Meanwhile the concentration inside the dendrite declined in a fashion I would expect.
Then I tried scrapping my FH space and define a extracellular space with rxd.Extracellular, and with this modification the code worked as intended. I found a solution, but moving forwards it would be hard to use that solution with rxd.Extracellular
My main question is if it is even possible to treat a region 'o' as extracellular space and get MOD files to interact with it?

Re: Detection of MOD files in rxd.Region 'o'

Posted: Mon Jun 13, 2022 4:03 pm
by ramcdougal
We'll look into this. What you describe sounds like it should have worked.

Re: Detection of MOD files in rxd.Region 'o'

Posted: Tue Jun 14, 2022 2:56 pm
by ramcdougal
Try putting the Shell next to the dendrite... i.e. you want lo = 1

Code: Select all

fh = rxd.Region(h.allsec(), nrn_region='o', geometry=rxd.Shell(lo=1.0, hi=2.0))
The numbers here are in fractions of a radius not µm.

Re: Detection of MOD files in rxd.Region 'o'

Posted: Mon Jul 04, 2022 2:47 am
by malthe.nielsen
Thanks it worked.
I made the exact error as you suggested, and setting lo=1 did the trick