Converting HOC extracellular to Python
Posted: Tue Dec 31, 2019 5:42 pm
Hi! I am new to the forum and also relatively new to computational neuroscience research. I am currently working on converting the McIntyre MRG axon model from Hoc to Python as part of my initial task as a researcher. In the midst of this process, I realized I needed to convert the following HOC code into Python:
insert extracellular xraxial=Rpn0 xg=1e10 xc=0
However, in Python I believe I have to provide an index (0 or 1) for each xraxial, xg, and xc to specify the layer they are in. I looked over the documentation and the diagram within the documentation for extracellular but am still not quite sure to determine which index to assign since the original HOC code does not provide any such info. I was wondering if one could explain how to determine and/or think about this?
insert extracellular xraxial=Rpn0 xg=1e10 xc=0
However, in Python I believe I have to provide an index (0 or 1) for each xraxial, xg, and xc to specify the layer they are in. I looked over the documentation and the diagram within the documentation for extracellular but am still not quite sure to determine which index to assign since the original HOC code does not provide any such info. I was wondering if one could explain how to determine and/or think about this?