{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "2ee1d062",
   "metadata": {},
   "outputs": [],
   "source": [
    "# This code is written by Nooshin Abdollahi\n",
    "# Information about this code:\n",
    "# - Motor axons are not included\n",
    "# - there are not transverse connections between Boundary and Boundary"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "af4c646e",
   "metadata": {},
   "outputs": [],
   "source": [
    "# show the time of execution\n",
    "from datetime import datetime\n",
    "start_time = datetime.now()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "493e7e8a",
   "metadata": {},
   "outputs": [],
   "source": [
    "from neuron import h\n",
    "import netpyne \n",
    "from netpyne import specs, sim   \n",
    "import matplotlib.pyplot as plt\n",
    "import numpy as np\n",
    "from typing import Tuple, List\n",
    "import math\n",
    "import sys\n",
    "\n",
    "\n",
    "%matplotlib inline"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "d05a8722",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Import nesseccery files from Matlab\n",
    "\n",
    "R = np.loadtxt(\"R.txt\")    # All axons with different radius\n",
    "G = np.loadtxt(\"G.txt\")    # Axon's groups\n",
    "C = np.loadtxt(\"C.txt\")    # Coordinates of each axon (x,y)\n",
    "neighboringAxon = np.loadtxt(\"neighboringAxon.txt\")\n",
    "dist = np.loadtxt(\"dist.txt\")    \n",
    "dist_edge = np.loadtxt(\"Distance_edge.txt\") \n",
    "AVE_area_around_axon = np.loadtxt(\"Ave_area_around_axon.txt\")\n",
    "\n",
    "unique_radius = np.loadtxt(\"unique_radius.txt\")          # including different types\n",
    "Number_of_nodes = np.loadtxt(\"Number_of_nodes.txt\")      # Number of nodes for the specified axon total length\n",
    "\n",
    "parameters = np.loadtxt(\"parameters.txt\")  \n",
    "\n",
    "# importing all the connections\n",
    "import scipy.io as io\n",
    "\n",
    "for i in range(1,2):\n",
    "    for j in range(1,2):\n",
    "        if j>=i:\n",
    "            l = [i, j]\n",
    "            z = ''.join([str(n) for n in l])\n",
    "            Input = io.loadmat('Connect_types_{}.mat'.format(z) , squeeze_me=True)  \n",
    "            I = Input['SAVE']; \n",
    "            locals()[\"Connect_types_\"+str(z)]=[]\n",
    "            for v in range(len(I)):\n",
    "                D = I[v].strip()  \n",
    "                locals()[\"Connect_types_\"+str(z)].append(D)  \n",
    "\n",
    "\n",
    "# Boundary connections\n",
    "for i in range(1,2):\n",
    "    Input = io.loadmat('Boundary_to_{}.mat'.format(i) , squeeze_me=True)  \n",
    "    I = Input['SAVE']; \n",
    "    locals()[\"Boundary_to_\"+str(i)]=[]\n",
    "    for v in range(len(I)):\n",
    "        D = I[v].strip()  \n",
    "        locals()[\"Boundary_to_\"+str(i)].append(D) \n",
    "    \n",
    "\n",
    "\n",
    "#\n",
    "Boundary_coordinates = np.loadtxt(\"Boundary_coordinates.txt\")\n",
    "Boundary_neighboring = np.loadtxt(\"Boundary_neighboring.txt\")\n",
    "Boundary_dist = np.loadtxt(\"Boundary_dist.txt\") \n",
    "\n",
    "\n",
    "############## importing files related to transverse resistance (Rg) and Areas\n",
    "\n",
    "for i in range(1,2):\n",
    "    for j in range(1,2):\n",
    "        if j>=i:\n",
    "            l = [i, j]\n",
    "            z = ''.join([str(n) for n in l])\n",
    "            Input = np.loadtxt('Rg_{}.txt'.format(z) )  \n",
    "            locals()[\"Rg_\"+str(z)]=Input\n",
    "  \n",
    "\n",
    "\n",
    "                \n",
    "for i in range(1,2):\n",
    "    Input = np.loadtxt('Boundary_Rg_{}.txt'.format(i) )  \n",
    "    locals()[\"Boundary_Rg_\"+str(i)]=Input\n",
    "\n",
    "    \n",
    "    \n",
    "        \n",
    "        \n",
    "for i in range(1,2):\n",
    "    for j in range(1,2):\n",
    "        if j>i:\n",
    "            l = [i, j]\n",
    "            z = ''.join([str(n) for n in l])\n",
    "            Input = np.loadtxt('Areas_{}.txt'.format(z) )  \n",
    "            locals()[\"Areas_\"+str(z)]=Input\n",
    "            \n",
    "            \n",
    "            \n",
    "            \n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "cf1c9f69",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\t1 \n",
      "\t1 \n"
     ]
    }
   ],
   "source": [
    "# Network parameters\n",
    "netParams = specs.NetParams()\n",
    "\n",
    "netParams.sizeX=3000\n",
    "netParams.sizeY=3000\n",
    "netParams.sizeZ=3000\n",
    "\n",
    "\n",
    "################################# Importing Axons(including C fibers and the others) and Boundary ####################################\n",
    "\n",
    "netParams.importCellParams(\n",
    "    cellInstance=True,\n",
    "    label='Boundary', \n",
    "    conds={'cellType': 'Boundary', 'cellModel': 'Boundary'},\n",
    "    fileName='Boundarycable.hoc', \n",
    "    cellName='Boundary', \n",
    "    importSynMechs=True) ;\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "# Myelinated axons have different types (i.e. diameters)\n",
    "# How many types... do I have?  print(len(unique_radius)-1),  -1 because the first eleman is for C fiber\n",
    "# each type is a specific diameter\n",
    "\n",
    "netParams.importCellParams(\n",
    "    cellInstance=True,\n",
    "    label='type1', \n",
    "    conds={'cellType': 'type1', 'cellModel': 'type1'},\n",
    "    fileName='type1.hoc', \n",
    "    cellName='type1', \n",
    "    importSynMechs=True) ;\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "d5ef8f97",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "4\n"
     ]
    }
   ],
   "source": [
    "###################################### Locating each axon in specific (x,y) #################################################\n",
    "\n",
    "\n",
    "\n",
    "netParams.popParams[\"Axon0\"] = {\n",
    "    'cellType': 'type1', \n",
    "    'numCells':1 ,                                         \n",
    "    'cellModel': 'type1', \n",
    "    'xRange':[C[0][0], C[0][0]], \n",
    "    'yRange':[0, 0], \n",
    "    'zRange':[C[0][1], C[0][1]]} \n",
    "\n",
    "netParams.popParams[\"Axon1\"] = {\n",
    "    'cellType': 'type1', \n",
    "    'numCells':1 ,                                         \n",
    "    'cellModel': 'type1', \n",
    "    'xRange':[C[1][0], C[1][0]], \n",
    "    'yRange':[0, 0], \n",
    "    'zRange':[C[1][1], C[1][1]]}\n",
    "                    \n",
    "        \n",
    "        \n",
    "        \n",
    "        \n",
    "########################################### Locating Boundary Cables ########################################################\n",
    "\n",
    "\n",
    "\n",
    "    \n",
    "netParams.popParams[\"Boundary0\"] = {\n",
    "    'cellType': 'Boundary', \n",
    "    'numCells':1 ,                                         \n",
    "    'cellModel': 'Boundary', \n",
    "    'xRange':[Boundary_coordinates[0][0], Boundary_coordinates[0][0]], \n",
    "    'yRange':[0, 0], \n",
    "    'zRange':[Boundary_coordinates[0][1], Boundary_coordinates[0][1]]} \n",
    "\n",
    "\n",
    "                    \n",
    "    \n",
    "netParams.popParams[\"Boundary1\"] = {\n",
    "    'cellType': 'Boundary', \n",
    "    'numCells':1 ,                                         \n",
    "    'cellModel': 'Boundary', \n",
    "    'xRange':[Boundary_coordinates[1][0], Boundary_coordinates[1][0]], \n",
    "    'yRange':[0, 0], \n",
    "    'zRange':[Boundary_coordinates[1][1], Boundary_coordinates[1][1]]} \n",
    "\n",
    "                    \n",
    "                    \n",
    "\n",
    "# in Total, how many Cells does Netpyne generate?  Length(R)+len(Boundary_coordinates)\n",
    "print(len(R)+len(Boundary_coordinates))\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "4adc83be",
   "metadata": {},
   "outputs": [],
   "source": [
    "################################################### Stimulation ############################################################\n",
    "# Which group of axons do you want to stimulate?\n",
    "# Group1: motor axons   Group2: C fibers    Group3: Adelta     Group4: Abeta\n",
    "\n",
    "\n",
    "#netParams.stimSourceParams['Input1'] = {'type': 'IClamp', 'del': 1, 'dur': 0.1, 'amp': 0.4}\n",
    "netParams.stimSourceParams['Input1'] = {'type': 'VClamp', 'dur': [1, 0.02, 0], 'amp':[-80, 0, 0]}\n",
    "\n",
    " \n",
    "netParams.stimTargetParams['Input1->Stim_1'] = {'source': 'Input1', 'sec':'node_0', 'loc': 0.5, 'conds': {'pop':\"Axon0\"}}    \n",
    "#netParams.stimTargetParams['Input1->Stim_2'] = {'source': 'Input1', 'sec':'node_0', 'loc': 0.5, 'conds': {'pop':\"Axon1\"}}       \n",
    "\n",
    "\n",
    "\n",
    "\n",
    "XG1 = 1e-9     # 1e-9: disconnect from ground     1e9: Connect to ground\n",
    "\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "90a2f08b",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "Start time:  2022-12-28 12:37:03.660952\n",
      "\n",
      "Creating network of 4 cell populations on 1 hosts...\n",
      "  Number of cells on node 0: 4 \n",
      "  Done; cell creation time = 0.30 s.\n",
      "Making connections...\n",
      "  Number of connections on node 0: 0 \n",
      "  Done; cell connection time = 0.00 s.\n",
      "Adding stims...\n",
      "  Number of stims on node 0: 1 \n",
      "  Done; cell stims creation time = 0.00 s.\n",
      "Recording 6 traces of 2 types on node 0\n"
     ]
    }
   ],
   "source": [
    "simConfig = specs.SimConfig()\n",
    "simConfig.hParams = {'celsius': 37 }\n",
    "\n",
    "simConfig.dt = 0.005            # Internal integration timestep to use default is 0.025\n",
    "simConfig.duration = 6\n",
    "simConfig.recordStim = True\n",
    "simConfig.recordStep = 0.005       # Step size in ms to save data (e.g. V traces, LFP, etc) default is 0.1\n",
    "#simConfig.cache_efficient = True\n",
    "#simConfig.cvode_active = True\n",
    "# simConfig.cvode_atol=0.0001\n",
    "# simConfig.cvode_rtol=0.0001\n",
    "\n",
    "\n",
    "simConfig.recordTraces = {'V_node_0' :{'sec':'node_0','loc':0.5,'var':'v'}}\n",
    "simConfig.analysis['plotTraces'] = {'include':  ['allCells']}                              # ['Axon0','Axon1']\n",
    "\n",
    "simConfig.analysis['plot2Dnet'] = True\n",
    "simConfig.analysis['plot2Dnet'] = {'include': ['allCells'], 'view': 'xz'}\n",
    "\n",
    "\n",
    "\n",
    "#simConfig.recordLFP = [[56.39,-4000,51.74]]     # Determine the location of the LFP electrode\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "sim.create(netParams, simConfig)\n",
    "\n",
    "\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9045099d",
   "metadata": {},
   "source": [
    "### xraxial and transverese conductances"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "41af5705",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0.5\n",
      "18689.613196051898\n",
      "0.5\n",
      "18689.613196051898\n"
     ]
    }
   ],
   "source": [
    "# Since by default Netpyne does not insert the parameters of the extracellular mechanism, I insert them in this section\n",
    "# this section includes \"longitudinal\" resistivities (i.e. xraxial)\n",
    "\n",
    "#Total_Length=10000\n",
    "\n",
    "number_boundary = 4000                                   #Total_Length/Section_Length \n",
    "number_boundary = int(number_boundary)\n",
    "\n",
    "\n",
    "\n",
    "rhoa=0.7e6 \n",
    "mycm=0.1 \n",
    "mygm=0.001 \n",
    "\n",
    "space_p1=0.002  \n",
    "space_p2=0.004\n",
    "space_i=0.004\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "############################# For Boundary Cables #################################################\n",
    "\n",
    "# soma section is just for LFP recording, LFP in Netpyne does not work if at least one section is not called soma \n",
    "\n",
    "\n",
    "for j in range(len(R),len(R)+len(Boundary_coordinates)):\n",
    "        \n",
    "    S = sim.net.cells[j].secs[\"soma\"][\"hObj\"]     \n",
    "    for seg in S:\n",
    "        seg.xraxial[0] = 1e9\n",
    "        seg.xraxial[1] = 1e9\n",
    "        seg.xg[0] = 1e9\n",
    "        seg.xg[1] = 1e9\n",
    "        seg.xc[0] = 0\n",
    "        seg.xc[1] = 0\n",
    "\n",
    "\n",
    "    for i in range(number_boundary):        \n",
    "        S = sim.net.cells[j].secs[\"section_%s\" %i][\"hObj\"]\n",
    "        for seg in S:\n",
    "            seg.xraxial[0] = 1e9\n",
    "            seg.xraxial[1] = 1e9\n",
    "            seg.xg[0] = 1e9\n",
    "            seg.xg[1] = 1e9\n",
    "            seg.xc[0] = 0\n",
    "            seg.xc[1] = 0\n",
    "            \n",
    "            \n",
    "            \n",
    "            \n",
    "\n",
    "        \n",
    "            \n",
    "\n",
    "        \n",
    "############################## For myelinated sensory axons ##################################### \n",
    "\n",
    "\n",
    "rho2 = 1211 * 1e-6   # Mohm-cm\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "for j in range(len(R)):\n",
    "    if G[j]!=2:         # if it is not a C fiber \n",
    "        x = np.where(unique_radius == R[j])        \n",
    "        x = int(x[0])\n",
    "        nodes = Number_of_nodes\n",
    "        nodes=int(nodes)\n",
    "        \n",
    "        \n",
    "        nl = parameters[4]\n",
    "        nodeD = parameters[1]\n",
    "        paraD1 = nodeD\n",
    "        axonD = parameters[0]\n",
    "        paraD2 = axonD\n",
    "        \n",
    "        Rpn0 = (rhoa*.01)/((math.pi)*((((nodeD/2)+space_p1)**2)-((nodeD/2)**2)))\n",
    "        Rpn1 = (rhoa*.01)/((math.pi)*((((paraD1/2)+space_p1)**2)-((paraD1/2)**2)))\n",
    "        Rpn2 = (rhoa*.01)/((math.pi)*((((paraD2/2)+space_p2)**2)-((paraD2/2)**2)))\n",
    "        Rpx  = (rhoa*.01)/((math.pi)*((((axonD/2)+space_i)**2)-((axonD/2)**2)))\n",
    "        \n",
    "        \n",
    "        ################### xraxial[1]\n",
    "        \n",
    "        radi = R[j]\n",
    "        \n",
    "        AVE = (AVE_area_around_axon[j]+0) /2\n",
    "        \n",
    "        xr = rho2 /  ((math.pi)*(((radi+AVE)**2) - (radi**2)) * 1e-8)       # Mohm/cm\n",
    "        \n",
    "        xr = xr /1\n",
    "        \n",
    "        print(AVE_area_around_axon[j]+0)\n",
    "        print(xr)\n",
    "        \n",
    "        ##################\n",
    "        \n",
    "        \n",
    "        \n",
    "\n",
    "        S = sim.net.cells[j].secs[\"soma\"][\"hObj\"]\n",
    "        for seg in S:\n",
    "            seg.xraxial[0] = Rpn1\n",
    "            seg.xraxial[1] = xr \n",
    "            seg.xg[0] = mygm/(nl*2)\n",
    "            seg.xg[1] = XG1               # disconnect from ground\n",
    "            seg.xc[0] = mycm/(nl*2)\n",
    "            seg.xc[1] = 0\n",
    "\n",
    "            \n",
    "        for i in range(nodes):\n",
    "            S = sim.net.cells[j].secs[\"node_%s\" %i][\"hObj\"]\n",
    "            for seg in S:\n",
    "                seg.xraxial[0] = Rpn0\n",
    "                seg.xraxial[1] = xr\n",
    "                seg.xg[0] = 1e6   ####1.42e+04                                #########1e6\n",
    "                seg.xg[1] = XG1\n",
    "                seg.xc[0] = 0\n",
    "                seg.xc[1] = 0\n",
    "\n",
    "\n",
    "        for i in range(2*nodes):\n",
    "            S = sim.net.cells[j].secs[\"MYSA_%s\" %i][\"hObj\"]\n",
    "            for seg in S:\n",
    "                seg.xraxial[0] = Rpn1\n",
    "                seg.xraxial[1] = xr\n",
    "                seg.xg[0] = mygm/(nl*2)\n",
    "                seg.xg[1] = XG1\n",
    "                seg.xc[0] = mycm/(nl*2)\n",
    "                seg.xc[1] = 0\n",
    "\n",
    "\n",
    "        for i in range(10*nodes):\n",
    "            S = sim.net.cells[j].secs[\"FLUT_%s\" %i][\"hObj\"]\n",
    "            for seg in S:\n",
    "                seg.xraxial[0] = Rpn2\n",
    "                seg.xraxial[1] = xr\n",
    "                seg.xg[0] = mygm/(nl*2)\n",
    "                seg.xg[1] = XG1\n",
    "                seg.xc[0] = mycm/(nl*2)\n",
    "                seg.xc[1] = 0 \n",
    "\n",
    "\n",
    "        for i in range(40*nodes):\n",
    "            S = sim.net.cells[j].secs[\"STIN_%s\" %i][\"hObj\"]\n",
    "            for seg in S:\n",
    "                seg.xraxial[0] = Rpx\n",
    "                seg.xraxial[1] = xr\n",
    "                seg.xg[0] = mygm/(nl*2)\n",
    "                seg.xg[1] = XG1\n",
    "                seg.xc[0] = mycm/(nl*2)\n",
    "                seg.xc[1] = 0\n",
    "        \n",
    "        \n",
    "        \n",
    "        \n",
    "\n",
    "\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "afaf323f",
   "metadata": {},
   "outputs": [],
   "source": [
    "\n",
    "##############################This section is about transverse connections between axons #####################################\n",
    "# *** If you do not want to include ephaptic interaction, do not run this section\n",
    "# To model ephaptic effect, \"LinearMechanism\" in NEURON is used.\n",
    "\n",
    "\n",
    "\n",
    "rho = 1211 * 10000  # ohm-micron\n",
    "\n",
    "count = 0\n",
    "\n",
    "for i in range(len(R)):    \n",
    "\n",
    "    \n",
    "    for j in range(len(R)):   \n",
    "        \n",
    "        if neighboringAxon[i][j]==1:\n",
    "            \n",
    "\n",
    "            a1 = np.where(unique_radius == R[i])      # find type of R[i]\n",
    "            a1 = a1[0][0]+1\n",
    "            a2 = np.where(unique_radius == R[j])      # find type of R[j]\n",
    "            a2 = a2[0][0]+1\n",
    "\n",
    "\n",
    "            NSEG = 0\n",
    "\n",
    "\n",
    "\n",
    "            if a1==a2:\n",
    "                SEC = locals()[\"Connect_types_\"+str(a1)+str(a1)]\n",
    "                RG = locals()[\"Rg_\"+str(a1)+str(a1)]\n",
    "                area = (math.pi)*(parameters[1])*(np.ones((len(RG),1)))    # micron^2\n",
    "                area = area * 1e-8   #cm^2\n",
    "                b1=i\n",
    "                b2=j\n",
    "                if a1==0:\n",
    "                    area = (math.pi)*0.8*10*(np.ones((len(RG),1)))    # micron^2\n",
    "                    area = area * 1e-8   #cm^2\n",
    "                    \n",
    "              \n",
    "\n",
    "            if a1<a2:\n",
    "                SEC = locals()[\"Connect_types_\"+str(a1)+str(a2)]\n",
    "                RG = locals()[\"Rg_\"+str(a1)+str(a2)]\n",
    "                b1=i\n",
    "                b2=j\n",
    "                if a1==0:\n",
    "                    area = (math.pi)*(parameters[a2][1])*(np.ones((len(RG),1)))\n",
    "                    area = area * 1e-8   #cm^2\n",
    "                    b1=j\n",
    "                    b2=i\n",
    "              \n",
    "                else:\n",
    "                    area = locals()[\"Areas_\"+str(a1)+str(a2)]\n",
    "                    area = area[ : , np.newaxis]\n",
    "                    area = area * 1e-8\n",
    "                    \n",
    "                    \n",
    "\n",
    "            if a1>a2:\n",
    "                SEC = locals()[\"Connect_types_\"+str(a2)+str(a1)]\n",
    "                RG = locals()[\"Rg_\"+str(a2)+str(a1)]\n",
    "                b1=j\n",
    "                b2=i\n",
    "                if a2==0:\n",
    "                    area = (math.pi)*(parameters[a1][1])*(np.ones((len(RG),1)))\n",
    "                    area = area * 1e-8   #cm^2\n",
    "                    b1=i\n",
    "                    b2=j\n",
    "  \n",
    "                else:\n",
    "                    area = locals()[\"Areas_\"+str(a2)+str(a1)]\n",
    "                    area = area[ : , np.newaxis]\n",
    "                    area = area * 1e-8\n",
    "                \n",
    "                \n",
    "                \n",
    "                \n",
    "                \n",
    "\n",
    "\n",
    "            locals()[\"sl\"+str(count)] = h.SectionList()\n",
    "\n",
    "            for z1 in range(int(len(SEC)/2)):  \n",
    "\n",
    "                S = sim.net.cells[b1].secs[SEC[z1]][\"hObj\"]\n",
    "                NSEG=NSEG+S.nseg\n",
    "                locals()[\"sl\"+str(count)].append(S)\n",
    "\n",
    "            for z2 in range(int(len(SEC)/2),int(len(SEC))):\n",
    "\n",
    "                S = sim.net.cells[b2].secs[SEC[z2]][\"hObj\"]\n",
    "                locals()[\"sl\"+str(count)].append(S)   \n",
    "                \n",
    "                \n",
    "\n",
    "            nsegs=int(NSEG)\n",
    "\n",
    "            locals()[\"gmat\"+str(count)] =h.Matrix(2*nsegs, 2*nsegs)\n",
    "            locals()[\"cmat\"+str(count)] =h.Matrix(2*nsegs, 2*nsegs)\n",
    "            locals()[\"bvec\"+str(count)] =h.Vector(2*nsegs)\n",
    "            locals()[\"xl\"+str(count)] =h.Vector(2*nsegs)\n",
    "            locals()[\"layer\"+str(count)] =h.Vector(2*nsegs)\n",
    "            locals()[\"layer\"+str(count)].fill(2)                 # connect layer 2\n",
    "            locals()[\"e\"+str(count)] = h.Vector(2*nsegs)\n",
    "\n",
    "            for z3 in range(2*nsegs):\n",
    "                locals()[\"xl\"+str(count)][z3] = 0.5\n",
    "                \n",
    "            \n",
    "            \n",
    "            \n",
    "            \n",
    "            \n",
    "            d = dist_edge[i][j] + 0            #dist[i][j]\n",
    "            rd = rho*d\n",
    "            s = ((unique_radius*2)+(unique_radius*2))/2\n",
    "            locals()[\"RG\"+str(count)] = np.array(RG)*s\n",
    "            locals()[\"Resistance\"+str(count)] =  rd/locals()[\"RG\"+str(count)]\n",
    "            locals()[\"Conductance\"+str(count)]=[]\n",
    "            for z4 in range(len(locals()[\"Resistance\"+str(count)])):\n",
    "                locals()[\"Conductance\"+str(count)].append(1/(locals()[\"Resistance\"+str(count)][z4]*area[z4]))\n",
    "                \n",
    "\n",
    "          \n",
    "            for z5 in range(0,nsegs,1):\n",
    "\n",
    "                locals()[\"gmat\"+str(count)].setval(z5, z5, locals()[\"Conductance\"+str(count)][z5][0] )\n",
    "                locals()[\"gmat\"+str(count)].setval(z5, nsegs+z5, -locals()[\"Conductance\"+str(count)][z5][0])\n",
    "                locals()[\"gmat\"+str(count)].setval(nsegs+z5, z5, -locals()[\"Conductance\"+str(count)][z5][0])\n",
    "                locals()[\"gmat\"+str(count)].setval(nsegs+z5, nsegs+z5, locals()[\"Conductance\"+str(count)][z5][0])\n",
    "                \n",
    "                \n",
    "            locals()[\"GMAT\"+str(i)+str(j)] = locals()[\"gmat\"+str(count)]\n",
    "                \n",
    "            \n",
    "                  \n",
    "     \n",
    "                \n",
    "            \n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "#             geA= 1000\n",
    "    \n",
    "#             for z5 in range(0,nsegs,1):\n",
    "#                 locals()[\"gmat\"+str(count)].setval(z5, z5,  geA)\n",
    "#                 locals()[\"gmat\"+str(count)].setval(z5, nsegs+z5, -geA)\n",
    "#                 locals()[\"gmat\"+str(count)].setval(nsegs+z5, z5, -geA)\n",
    "#                 locals()[\"gmat\"+str(count)].setval(nsegs+z5, nsegs+z5, geA)\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "            locals()[\"lm\"+str(count)] = h.LinearMechanism(locals()[\"cmat\"+str(count)], locals()[\"gmat\"+str(count)], locals()[\"e\"+str(count)], locals()[\"bvec\"+str(count)], locals()[\"sl\"+str(count)], locals()[\"xl\"+str(count)], locals()[\"layer\"+str(count)])\n",
    "\n",
    "            count=count+1\n",
    "            \n",
    "            SEC.clear\n",
    "            del RG\n",
    "            del area\n",
    "            \n",
    "            \n",
    "\n",
    "            \n",
    "#print(count)            \n",
    "            \n",
    "        \n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "b71ff07f",
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " 7.08e+03 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -7.08e+03 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        7.08e+03 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -7.08e+03\n",
      " -7.08e+03 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        7.08e+03 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " 0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -1.42e+04 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        1.42e+04 0       \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -7.08e+03 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        7.08e+03\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "0.0"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "GMAT01.printf()  "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "9f7204b0",
   "metadata": {},
   "outputs": [],
   "source": [
    "            \n",
    "            \n",
    "            \n",
    "############################### Transverse connections between Boundary cables and Axons ######################################\n",
    "\n",
    "\n",
    "rho = 1.136e5 * 10000 * 4.7e-4 * 10000  # ohm-micron^2\n",
    "\n",
    "\n",
    "\n",
    "rows = len(Boundary_neighboring)\n",
    "\n",
    "for i in range(rows):\n",
    "    \n",
    "    for j in range(len(R)):\n",
    "        \n",
    "        if Boundary_neighboring[i][j]==1:\n",
    "        \n",
    "            NSEG = 0\n",
    "\n",
    "            a2 = np.where(unique_radius == R[j])    # find type \n",
    "            a2 = a2[0][0]+1\n",
    "            \n",
    "            Boundary_RG = locals()[\"Boundary_Rg_\"+str(a2)]\n",
    "            area = (math.pi)*(parameters[1])*(np.ones((len(Boundary_RG),1)))\n",
    "            area = area * 1e-8   #cm^2\n",
    " \n",
    "\n",
    "            SEC = locals()[\"Boundary_to_\"+str(a2)]\n",
    "\n",
    "\n",
    "            locals()[\"sl\"+str(count)] = h.SectionList()\n",
    "\n",
    "            for z1 in range(int(len(SEC)/2)):  \n",
    "\n",
    "                S = sim.net.cells[j].secs[SEC[z1]][\"hObj\"]\n",
    "                NSEG=NSEG+S.nseg\n",
    "                locals()[\"sl\"+str(count)].append(S)\n",
    "\n",
    "            for z2 in range(int(len(SEC)/2),int(len(SEC))):\n",
    "\n",
    "                S = sim.net.cells[len(R)+i].secs[SEC[z2]][\"hObj\"]\n",
    "                locals()[\"sl\"+str(count)].append(S)   \n",
    "\n",
    "\n",
    "\n",
    "\n",
    "            nsegs=int(NSEG)\n",
    "\n",
    "            locals()[\"gmat\"+str(count)] =h.Matrix(2*nsegs, 2*nsegs)\n",
    "            locals()[\"cmat\"+str(count)] =h.Matrix(2*nsegs, 2*nsegs)\n",
    "            locals()[\"bvec\"+str(count)] =h.Vector(2*nsegs)\n",
    "            locals()[\"xl\"+str(count)] =h.Vector(2*nsegs)\n",
    "            locals()[\"layer\"+str(count)] =h.Vector(2*nsegs)\n",
    "            locals()[\"layer\"+str(count)].fill(2)                   # connect layer 2\n",
    "            locals()[\"e\"+str(count)] = h.Vector(2*nsegs)\n",
    "\n",
    "            for z3 in range(2*nsegs):\n",
    "                locals()[\"xl\"+str(count)][z3] = 0.5\n",
    "\n",
    "\n",
    "            \n",
    "            \n",
    "            rd = rho\n",
    "            s = (unique_radius*2)\n",
    "            locals()[\"Boundary_RG\"+str(count)] = np.array(Boundary_RG)*s\n",
    "            locals()[\"Resistance\"+str(count)] =  rd/locals()[\"Boundary_RG\"+str(count)]\n",
    "            locals()[\"Conductance\"+str(count)]=[]\n",
    "            for z4 in range(len(locals()[\"Resistance\"+str(count)])):\n",
    "                locals()[\"Conductance\"+str(count)].append(1/(locals()[\"Resistance\"+str(count)][z4]*area[z4]))\n",
    "\n",
    "        \n",
    "            for z5 in range(0,nsegs,1):\n",
    "\n",
    "                locals()[\"gmat\"+str(count)].setval(z5, z5,  locals()[\"Conductance\"+str(count)][z5][0] * 1)\n",
    "                locals()[\"gmat\"+str(count)].setval(z5, nsegs+z5, - locals()[\"Conductance\"+str(count)][z5][0] * 1)\n",
    "                locals()[\"gmat\"+str(count)].setval(nsegs+z5, z5, - locals()[\"Conductance\"+str(count)][z5][0] * 1)\n",
    "                locals()[\"gmat\"+str(count)].setval(nsegs+z5, nsegs+z5,  locals()[\"Conductance\"+str(count)][z5][0] * 1)\n",
    "                \n",
    "               \n",
    "            \n",
    "            locals()[\"GMAT_BOUNDARY\"+str(i)+str(j)] = locals()[\"gmat\"+str(count)]\n",
    "                \n",
    "                \n",
    "      \n",
    "           \n",
    "            \n",
    "\n",
    "\n",
    "\n",
    "            \n",
    "#             geB= 1\n",
    "            \n",
    "#             for z6 in range(0,nsegs,1):\n",
    "\n",
    "#                 locals()[\"gmat\"+str(count)].setval(z6, z6,  geB)\n",
    "#                 locals()[\"gmat\"+str(count)].setval(z6, nsegs+z6, -geB)\n",
    "#                 locals()[\"gmat\"+str(count)].setval(nsegs+z6, z6, -geB)\n",
    "#                 locals()[\"gmat\"+str(count)].setval(nsegs+z6, nsegs+z6, geB)\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "            locals()[\"lm\"+str(count)] = h.LinearMechanism(locals()[\"cmat\"+str(count)], locals()[\"gmat\"+str(count)], locals()[\"e\"+str(count)], locals()[\"bvec\"+str(count)], locals()[\"sl\"+str(count)], locals()[\"xl\"+str(count)], locals()[\"layer\"+str(count)])\n",
    "\n",
    "            count=count+1\n",
    "            \n",
    "                        \n",
    "            SEC.clear\n",
    "            del Boundary_RG\n",
    "            del area\n",
    "            \n",
    "            \n",
    "          \n",
    "            \n",
    "            \n",
    "\n",
    "#print(count)             \n",
    "            \n",
    "            \n",
    "            \n",
    "# from IPython.display import clear_output\n",
    "\n",
    "# clear_output(wait=True)\n",
    "\n",
    "\n",
    "        \n",
    "#gmat0.printf()  \n",
    "\n",
    "# for sec in sl0:\n",
    "#     print(sec)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "2f2f0781",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "2"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(Boundary_neighboring)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "7808a6c6",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " 8.03     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -8.03    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0       \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        8.03     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -8.03   \n",
      " -8.03    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        8.03     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0        0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -16.1    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        16.1     0       \n",
      " 0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        -8.03    0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        0        8.03    \n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "0.0"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "GMAT_BOUNDARY11.printf()  "
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b2a6c256",
   "metadata": {},
   "source": [
    "#### Recordings"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "d1494f97",
   "metadata": {},
   "outputs": [],
   "source": [
    "## Recording vext\n",
    "\n",
    "\n",
    "# v1 = sim.net.cells[45].secs[\"node_0\"][\"hObj\"]\n",
    "# ap1 = h.Vector()\n",
    "# t = h.Vector()\n",
    "# ap1.record(v1(0.5)._ref_v)\n",
    "\n",
    "# t.record(h._ref_t)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "5dbd4f4b",
   "metadata": {},
   "outputs": [],
   "source": [
    "# for i1 in range(36):\n",
    "\n",
    "#     locals()[\"Abeta0_imembrane\"+str(i1)] = sim.net.cells[0].secs[\"node_%s\"%i1][\"hObj\"]\n",
    "#     locals()[\"Abeta0_imembrane_node\"+str(i1)] = h.Vector()\n",
    "#     locals()[\"Abeta0_imembrane_node\"+str(i1)].record(locals()[\"Abeta0_imembrane\"+str(i1)](0.5)._ref_i_membrane)\n",
    "    \n",
    "    \n",
    "    \n",
    "# for i1 in range(12):\n",
    "\n",
    "#     locals()[\"Abeta0_icap\"+str(i1)] = sim.net.cells[0].secs[\"node_%s\"%i1][\"hObj\"]\n",
    "#     locals()[\"Abeta0_icap_node\"+str(i1)] = h.Vector()\n",
    "#     locals()[\"Abeta0_icap_node\"+str(i1)].record(locals()[\"Abeta0_icap\"+str(i1)](0.5)._ref_i_cap)    \n",
    "    \n",
    "\n",
    "    \n",
    "    \n",
    "# for i1 in range(12):\n",
    "\n",
    "#     locals()[\"Abeta0_ik\"+str(i1)] = sim.net.cells[0].secs[\"node_%s\"%i1][\"hObj\"]\n",
    "#     locals()[\"Abeta0_ik_node\"+str(i1)] = h.Vector()\n",
    "#     locals()[\"Abeta0_ik_node\"+str(i1)].record(locals()[\"Abeta0_ik\"+str(i1)](0.5)._ref_ik_axnode)        \n",
    "    \n",
    "    \n",
    "    \n",
    "# for i1 in range(12):\n",
    "\n",
    "#     locals()[\"Abeta0_il\"+str(i1)] = sim.net.cells[0].secs[\"node_%s\"%i1][\"hObj\"]\n",
    "#     locals()[\"Abeta0_il_node\"+str(i1)] = h.Vector()\n",
    "#     locals()[\"Abeta0_il_node\"+str(i1)].record(locals()[\"Abeta0_il\"+str(i1)](0.5)._ref_il_axnode)        \n",
    "    \n",
    "    \n",
    "\n",
    "# for i1 in range(36):\n",
    "\n",
    "#     locals()[\"Abeta0_ina\"+str(i1)] = sim.net.cells[0].secs[\"node_%s\"%i1][\"hObj\"]\n",
    "#     locals()[\"Abeta0_ina_node\"+str(i1)] = h.Vector()\n",
    "#     locals()[\"Abeta0_ina_node\"+str(i1)].record(locals()[\"Abeta0_ina\"+str(i1)](0.5)._ref_ina_axnode)    \n",
    "    \n",
    "    \n",
    "    \n",
    "    \n",
    "# for i1 in range(12):\n",
    "\n",
    "#     locals()[\"Abeta0_inap\"+str(i1)] = sim.net.cells[0].secs[\"node_%s\"%i1][\"hObj\"]\n",
    "#     locals()[\"Abeta0_inap_node\"+str(i1)] = h.Vector()\n",
    "#     locals()[\"Abeta0_inap_node\"+str(i1)].record(locals()[\"Abeta0_inap\"+str(i1)](0.5)._ref_inap_axnode)        \n",
    "    \n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "ca5603a0",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Vector[450]"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "## Recording v and vext[0],  Abeta\n",
    "\n",
    "###################################################### Abeta0\n",
    "\n",
    "\n",
    "for i1 in range(36):\n",
    "\n",
    "    locals()[\"Abeta0_v\"+str(i1)] = sim.net.cells[0].secs[\"node_%s\"%i1][\"hObj\"]\n",
    "    locals()[\"Abeta0_v_node\"+str(i1)] = h.Vector()\n",
    "    locals()[\"Abeta0_v_node\"+str(i1)].record(locals()[\"Abeta0_v\"+str(i1)](0.5)._ref_v)\n",
    "\n",
    "\n",
    "# for i2 in range(36):\n",
    "\n",
    "#     locals()[\"Abeta0_vex\"+str(i2)] = sim.net.cells[0].secs[\"node_%s\"%i2][\"hObj\"]\n",
    "#     locals()[\"Abeta0_vext0_05_node\"+str(i2)] = h.Vector()\n",
    "#     locals()[\"Abeta0_vext0_05_node\"+str(i2)].record(locals()[\"Abeta0_vex\"+str(i2)](0.5)._ref_vext[0])\n",
    "\n",
    "    \n",
    "##################################################################################################    \n",
    "    \n",
    "for i2 in range(36):\n",
    "\n",
    "    locals()[\"Abeta0_vex\"+str(i2)] = sim.net.cells[0].secs[\"node_%s\"%i2][\"hObj\"]\n",
    "    locals()[\"Abeta0_vext0_node05\"+str(i2)] = h.Vector()\n",
    "    locals()[\"Abeta0_vext0_node05\"+str(i2)].record(locals()[\"Abeta0_vex\"+str(i2)](0.5)._ref_vext[0])\n",
    "\n",
    "\n",
    "for ii2 in range(36):\n",
    "\n",
    "    locals()[\"Abeta0_vex\"+str(ii2)] = sim.net.cells[0].secs[\"node_%s\"%ii2][\"hObj\"]\n",
    "    locals()[\"Abeta0_vext0_node1\"+str(ii2)] = h.Vector()\n",
    "    locals()[\"Abeta0_vext0_node1\"+str(ii2)].record(locals()[\"Abeta0_vex\"+str(ii2)](1)._ref_vext[0])    \n",
    "    \n",
    "    \n",
    "for ij2 in range(36):\n",
    "\n",
    "    locals()[\"Abeta0_vex\"+str(ij2)] = sim.net.cells[0].secs[\"node_%s\"%ij2][\"hObj\"]\n",
    "    locals()[\"Abeta0_vext0_node0\"+str(ij2)] = h.Vector()\n",
    "    locals()[\"Abeta0_vext0_node0\"+str(ij2)].record(locals()[\"Abeta0_vex\"+str(ij2)](0)._ref_vext[0])    \n",
    "        \n",
    "    \n",
    "for i3 in range(36):\n",
    "\n",
    "    locals()[\"Abeta0_vex1\"+str(i3)] = sim.net.cells[0].secs[\"node_%s\"%i3][\"hObj\"]\n",
    "    locals()[\"Abeta0_vext1_node05\"+str(i3)] = h.Vector()\n",
    "    locals()[\"Abeta0_vext1_node05\"+str(i3)].record(locals()[\"Abeta0_vex1\"+str(i3)](0.5)._ref_vext[1])    \n",
    "      \n",
    "    \n",
    "    \n",
    "    \n",
    "for i5 in range(36):\n",
    "\n",
    "    locals()[\"Abeta0_vexx\"+str(i5)] = sim.net.cells[0].secs[\"node_%s\"%i5][\"hObj\"]\n",
    "    locals()[\"Abeta0_vext1_node0\"+str(i5)] = h.Vector()\n",
    "    locals()[\"Abeta0_vext1_node0\"+str(i5)].record(locals()[\"Abeta0_vexx\"+str(i5)](0)._ref_vext[1])\n",
    "    \n",
    "\n",
    "    \n",
    "for i6 in range(36):\n",
    "\n",
    "    locals()[\"Abeta0_vexg\"+str(i6)] = sim.net.cells[0].secs[\"node_%s\"%i6][\"hObj\"]\n",
    "    locals()[\"Abeta0_vext1_node1\"+str(i6)] = h.Vector()\n",
    "    locals()[\"Abeta0_vext1_node1\"+str(i6)].record(locals()[\"Abeta0_vexg\"+str(i6)](1)._ref_vext[1])\n",
    "        \n",
    "    \n",
    "    \n",
    "    \n",
    "\n",
    "for i4 in range(36):\n",
    "\n",
    "    locals()[\"Abeta1_vex\"+str(i4)] = sim.net.cells[1].secs[\"node_%s\"%i4][\"hObj\"]\n",
    "    locals()[\"Abeta1_vext1_node05\"+str(i4)] = h.Vector()\n",
    "    locals()[\"Abeta1_vext1_node05\"+str(i4)].record(locals()[\"Abeta1_vex\"+str(i4)](0.5)._ref_vext[1])\n",
    "\n",
    "    \n",
    "\n",
    "i8=1663    \n",
    "locals()[\"v1Mext\"+str(i8)] = sim.net.cells[2].secs[\"section_1663\"][\"hObj\"]\n",
    "locals()[\"boundary0_vext1_section\"+str(i8)] = h.Vector()\n",
    "locals()[\"boundary0_vext1_section\"+str(i8)].record(locals()[\"v1Mext\"+str(i8)](0.5)._ref_vext[1])    \n",
    "\n",
    "        \n",
    "    \n",
    "for ii3 in range(36*2):\n",
    "\n",
    "    locals()[\"Abeta0_vexe\"+str(ii3)] = sim.net.cells[0].secs[\"MYSA_%s\"%ii3][\"hObj\"]\n",
    "    locals()[\"Abeta0_vext0_MYSA05\"+str(ii3)] = h.Vector()\n",
    "    locals()[\"Abeta0_vext0_MYSA05\"+str(ii3)].record(locals()[\"Abeta0_vexe\"+str(ii3)](0.5)._ref_vext[0])\n",
    "    \n",
    "    \n",
    "for ii4 in range(36*2):\n",
    "\n",
    "    locals()[\"Abeta0_vexxx\"+str(ii4)] = sim.net.cells[0].secs[\"MYSA_%s\"%ii4][\"hObj\"]\n",
    "    locals()[\"Abeta0_vext1_MYSA05\"+str(ii4)] = h.Vector()\n",
    "    locals()[\"Abeta0_vext1_MYSA05\"+str(ii4)].record(locals()[\"Abeta0_vexxx\"+str(ii4)](0.5)._ref_vext[1])\n",
    "    \n",
    "     \n",
    "    \n",
    "# for i3 in range(0,36*2):\n",
    "    \n",
    "#     locals()[\"Abeta_v0Mext\"+str(i3)] = sim.net.cells[0].secs[\"MYSA_%s\"%i3][\"hObj\"]\n",
    "#     locals()[\"Abeta0_vext0_MYSA\"+str(i3)] = h.Vector()\n",
    "#     locals()[\"Abeta0_vext0_MYSA\"+str(i3)].record(locals()[\"Abeta_v0Mext\"+str(i3)](0.5)._ref_vext[0])\n",
    "    \n",
    "    \n",
    "    \n",
    "# for i3 in range(0,36*2):\n",
    "    \n",
    "#     locals()[\"Abeta_v1Mext\"+str(i3)] = sim.net.cells[0].secs[\"MYSA_%s\"%i3][\"hObj\"]\n",
    "#     locals()[\"Abeta0_vext1_MYSA\"+str(i3)] = h.Vector()\n",
    "#     locals()[\"Abeta0_vext1_MYSA\"+str(i3)].record(locals()[\"Abeta_v1Mext\"+str(i3)](0.5)._ref_vext[1])    \n",
    "\n",
    "\n",
    "# i3=1663    \n",
    "# locals()[\"v1Mext\"+str(i3)] = sim.net.cells[2].secs[\"section_1663\"][\"hObj\"]\n",
    "# locals()[\"boundary0_vext1_section\"+str(i3)] = h.Vector()\n",
    "# locals()[\"boundary0_vext1_section\"+str(i3)].record(locals()[\"v1Mext\"+str(i3)](0.5)._ref_vext[1])    \n",
    "\n",
    "\n",
    "    \n",
    "# for i4 in range(12):\n",
    "\n",
    "#     locals()[\"Abeta1_vext1\"+str(i4)] = sim.net.cells[1].secs[\"node_%s\"%i4][\"hObj\"]\n",
    "#     locals()[\"Abeta1_vext1_node\"+str(i4)] = h.Vector()\n",
    "#     locals()[\"Abeta1_vext1_node\"+str(i4)].record(locals()[\"Abeta1_vext1\"+str(i4)](0.5)._ref_vext[1])   \n",
    "    \n",
    "    \n",
    "    \n",
    "# locals()[\"Abeta_vSext\"+str(220)] = sim.net.cells[0].secs[\"STIN_220\"][\"hObj\"]\n",
    "# locals()[\"Abeta0_vext1_STIN\"+str(220)] = h.Vector()\n",
    "# locals()[\"Abeta0_vext1_STIN\"+str(220)].record(locals()[\"Abeta_vSext\"+str(220)](0.5)._ref_vext[1])    \n",
    "    \n",
    "# locals()[\"Abeta_v\"+str(220)] = sim.net.cells[0].secs[\"STIN_220\"][\"hObj\"]\n",
    "# locals()[\"Abeta0_v_STIN\"+str(220)] = h.Vector()\n",
    "# locals()[\"Abeta0_v_STIN\"+str(220)].record(locals()[\"Abeta_v\"+str(220)](0.5)._ref_v)    \n",
    "    \n",
    "    \n",
    "        \n",
    "t = h.Vector()\n",
    "t.record(h._ref_t)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "d83f15db",
   "metadata": {},
   "source": [
    "#### Simulate and Analyze"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "id": "cd6d9f09",
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "Running simulation for 6.0 ms...\n",
      "  Done; run time = 93.19 s; real-time ratio: 0.00.\n",
      "\n",
      "Gathering data...\n",
      "  Done; gather time = 0.48 s.\n",
      "\n",
      "Analyzing...\n",
      "  Cells: 4\n",
      "  Connections: 0 (0.00 per cell)\n",
      "  Spikes: 1 (41.67 Hz)\n",
      "  Simulated time: 0.0 s; 1 workers\n",
      "  Run time: 93.19 s\n",
      "  Done; saving time = 0.00 s.\n",
      "Plotting recorded cell traces ... cell\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAnEAAAH3CAYAAADUjAlgAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZ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o9duIkaWC3U8x0nZ2ZMxuvGZl52CDHX0UxZDommflwZr4nMw8FjgOeDbyizyGHAFeO9fySuo8hTpIGkJl3Az8BPh4RMyJih4jYPyJOHORHfgocFRFTx3K9iHhyRBzRmDjxIMXw6uY+h5xIcT+dJAGGOEkayiuAycA1FMOl3wbmD3RgZt4L/Bx47hivNa9x/gcpJjH8imJIlYh4DLAuM38/xnNL6kKuEydJJYmIQylmtB6bJf5ybSwi/KXM/EFZ55TU+QxxkiRJHcjhVEmSpA5kiJMkSepAhjhJkqQOZIiTJEnqQIY4SZKkDmSIkyRJ6kCGOEmSpA5kiJMkSepA/x+TwpFjNvum2AAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 720x576 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAoQAAAH3CAYAAAAi6U69AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAA0E0lEQVR4nO3de7xkZX3n+8+36Zbm1iLQIqCCIHiBiImgRhnBMfGWcHQkiRhHyJkxogxm9CRGY6ISUYyeSeL9giEGb6goGDUIR40kwkRMK0JsRYGBFpRLI7duLg00v/PHqrKLYu/de3fXqr32rs/79Vqvqlpr1VO/KttdX57nWU+lqpAkSdLkWjLfBUiSJGl+GQglSZImnIFQkiRpwhkIJUmSJpyBUJIkacIZCCVJkiacgVDSopLkvCR/N/D4H5J8fT5rkqSuMxBK6oQkuyZ5V5IfJ7kryQ1J/jXJMUmWtvzar0jyjSQ3Jakkh21hO//Qe34luTfJmiQfTrLrqGueoYb3J9mY5I/G9ZpT1LBHkk8lWd37HAzkUscZCCXNuyQPB74HHAW8Ffg14OnAqcCfAAe1XML2wD8DrxtBW98C9gD2Af6I5j19fATtblaS7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EFJHk9zZfKTa4R/qHsLXp9aVWePqk1JC5+BUJIkacI5ZCxJkjThDISSJEkTzkAoSZI04QyEkiRJE85AKEmSNOEMhJIkSRPOQChJkjThDISSJEkT7v8HVL0mTHb2DpQAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 720x576 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    },
    {
     "data": {
      "text/plain": [
       "<Figure size 720x576 with 0 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/plain": [
       "<Figure size 720x576 with 0 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Plotting 2D representation of network cell locations and connections...\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAz8AAAK/CAYAAABHknMvAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAA340lEQVR4nO3de5RV5Z3g/d9TVVyKKq6K3IKCgpJE5GLFmR4vAe0M6mQSDYnxEsU3Gm/pxDY3NG8SExNjYr/tJMs2ZkxH2xaDOqOxvXTapEc70R5nImIjkkQxRANyERGkoKiCqnrePwCbGJCKUudQPJ/PWmfJOWef/fwKz1K+7H32STnnAAAA2NfVVHsAAACAShA/AABAEcQPAABQBPEDAAAUQfwAAABFqKv2AG9m//33z2PGjKn2GAAA7MOefPLJV3LOQ3f1/Pz582fU1dVdmXMeHg4e7M06IuKx9vb2Txx55JGbd7bBXh0/Y8aMiXnz5lV7DAAA9mEppRd39dz8+fNn9OnT52/GjBmzub6+fm1NTY3vidlLdXZ2phdffPGYdevWXRwR393ZNsoVAAB2oa6u7soxY8Zsbmho2CR89m41NTV55MiRG2pra8/d5TYVnAcAAHqUnPPw+vr61mrPQdf07t17S8554K6eFz8AALBrNY749BwppYg3aRzxAwAAFEH8AAAARRA/AADQwx111FGHDRgwYPKmTZtSd6/17LPP9v4P/+E/HFpfXz9l7Nix77733nv7d/eae4r4AQCAHuzZZ5/t/eSTTzamlGLu3LmDunu9j370owdPnDixZfXq1f925ZVXvnT22Wcfsnz58r36K3S2Ez8AANCD/eAHP9hv0qRJGz/ykY+8ctttt+0XEdHa2pomTJjwrquvvvqAiIj29vaYOnXqhM997nMjIiLmz5/f96ijjjqsf//+k8eNG/fu22+//fUrpM2cOXPM2WeffeC0adPGNTQ0TDniiCMmLFq0qE9ExNNPP93nV7/6Vb+/+qu/Wt7Y2JjPPffcdYceeuimOXPmDK7Gz/6n6hGFBgAAe4M585aPXvFaW7/uXGPEwD4tH2saubSr29911137XXLJJauOPvrojdOnT5+wdOnSutGjR7ffdtttS0444YQJJ5100vo777xzUEdHR3zrW99a0dbWlk455ZRxZ5555iu/+MUvnvvpT3/aeMYZZ4w7/PDDfzVp0qS2iIj77rtvyL333vvcMccc0zJz5syxs2fPHvXAAw8s+bd/+7f6d7zjHW2DBw/u3L7+u9/97k2LFi3q2x2/F3uaIz8AANBDPfTQQ43Lly/vPWvWrLXHHntsy+jRo9tuvvnmIRER73nPe1ovu+yyFTNnzjzkxhtvHD5nzpzf1dXVxSOPPNLQ0tJSe/XVV6/s27dv/sAHPtB8/PHHr7v11lv3277fE088ce306dNbevXqFWedddarixYtqo+IaG5urunfv3/HjjMMHDiwY8OGDbWV/cnfGkd+AACgi/6UIzKVcMstt+x3zDHHrB8xYkR7RMTMmTNfnTt37v5XXnnlyxERF1100Zpvfetbo2bMmLF24sSJbRERS5cu7TV8+PDNtbX/3iujR4/evHz58l7b7w8bNmzL9l83NDR0trS01EZE9O/fv/ONobN+/fqaxsbGPwiivZX4AQCAHmjDhg3pwQcfHNzR0ZH233//SRERmzdvTs3NzbWPP/54/Z/92Z9tOu+88w6cPn36ukcffXTAQw891DhjxowNo0eP3rJy5creHR0dsT2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KlTJ3zuc58bERExf/78vkcdddRh/fv3nzxu3Lh333777QO372/mzJljzj777AOnTZs2rqGhYcoRRxwxYdGiRX22P/+pT31qzWmnnba+sbGxs9I/69tVkdPeUkoNETEzIg7POW+IiMdSSvdFxNkRcXklZtiVls0dsfy11l0+39ae48mlr8WEYQ0VnAoAYN/WtvankWp6Re7Y+Z/DUuoVm197OPru98EKT/bm1j338dHtG5/p151r1DUc3jLo0JuXdnX7u+66a79LLrlk1dFHH71x+vTpE5YuXVo3evTo9ttuu23JCSecMOGkk05af+eddw7q6OiIb33rWyva2trSKaecMu7MM8985Re/+MVzP/3pTxvPOOOMcYcffvivJk2a1BYRcd999w259957nzvmmGNaZs6cOXb27NmjHnjggSXd91NXRqWO/BwaER055+d2eGxBRPzRkZ+U0gUppXkppXmrV6/u9sE6OvNuzyfdvJOjQgAAvHU5b46IN/szVo7c2VapcXqshx56qHH58uW9Z82atfbYY49tGT16dNvNN988JCLiPe95T+tll122YubMmYfceOONw+fMmfO7urq6eOSRRxpaWlpqr7766pV9+/bNH/jAB5qPP/74dbfeeut+2/d74oknrp0+fXpLr1694qyzznp10aJF9dX7KfecSl3woDEiXnvDY69FRP83bphzvikiboqIaGpq6vbqaOxTG/1618b61vadPt+nribe6agPAMAe1bv/n0XOO//zV0RE7twcvfv/xwpO1DV/yhGZSrjlllv2O+aYY9aPGDGiPSJi5syZr86dO3f/K6+88uWIiIsuumjNt771rVEzZsxYO3HixLaIiKVLl/YaPnz45traf7+y8ejRozcvX7681/b7w4YN27L91w0NDZ0tLS37xGWQK3XkZ0NEDHjDYwMiouoncqaU4uR37R+9a3d+9KdXTYqpo984OgAAb0dd/SHRe+D0iNTnj59MfaPPkJOitu+BlR+sB9mwYUN68MEHB//yl7/sv//++0/af//9J910003Dnn322frHH3+8PiLivPPOO3D69OnrHn300QEPPfRQY0TE6NGjt6xcubJ3R0fH6/taunRp75EjR27ZxVL7jEod+XkuIupSSuNzzou3PTYpIhZVaP03dfTYQbFm45Z4ZPGrkSJiS2eOPnU10beuJj513IHRu9alrgEA9rTBE+6MtYv+a2ze8ERE5+atD9b0jt4D/iwGHXZbdYfrAW6//fbBNTU1MX/+/EV9+vR5/eIDH/rQhw65+eab95s/f37LwoUL+z3zzDO/mjt37qDzzz9/zDPPPPOradOmbayvr+/48pe/PPzKK69c9bOf/azx4YcfHnTVVVf9uivrtrW1pY6Ojujs7Iz29vZoaWlJvXv3znV1e/+36FRkwpzzxpTSPRFxVUrp/IiYHBEfjIj/VIn1dyelFB+ceEC8d9zg+LdlzdHa3hnvGNQn3jW8MWpcXx4AoFvU1PWP/Sb9S2zZMD/a1j4UESn6DD4xejVOrvZoPcKcOXP2O+20014ZP3785h0fv+iii16+4IILDh4wYEDHXXfdtXjgwIGdF1100av333//oAsvvHD0HXfc8eKPf/zj5y+++OKDrr/++uEHHHDAlhtvvPF3U6ZM2fVVwHZw5plnHnTPPfe8/vmg66+/fsR3v/vdFz796U+v2dM/456WcoW+wyalNCQibo6I90XEmoi4POf8ozd7TVNTU543b14lxgMAoFAppSdzzk07e27BggUvTJo06ZVKz8Rbt2DBgv0nTZo0ZmfPVezYVM751Yg4pVLrAQAA7MiHWQAAgCKIHwAAoAjiBwAAKIL4AQAAiiB+AACAIogfAACgCOIHAAAogvgBAADellGjRk289957+1d7jt0RPwAA0EONGjVqYt++faf269dvyoABAyZPmzZt3PPPP9+r2nPtSatWrap93/ved0h9ff2UkSNHTvz+978/5K3uS/wAAEAPdscddyxuaWl5auXKlQuGDh3aftFFFx1Y7Zm6asuWLbvd5vzzzz+wd+/eeeXKlQtuueWW333+858/cN68eX3fynriBwAA9gH9+vXLH/7wh9c+//zz9RERa9asqT311FPHDB48eNLIkSMnfuELXxjR0dERERGf+cxnRn7wgx8cu/21zz77bO+U0pHbY+Soo4467NJLLx05derUCQ0NDVOOPvro8StWrKjbvv0NN9wwZOTIkRMHDRo0efbs2cN3nOORRx7pN3ny5An9+/efPHTo0CPOOeecA1tbW9P251NKR15zzTVDDzrooMPHjBkz8eyzzz7wE5/4xDt23Mfxxx8/7qqrrjpg/fr1Nf/0T/80+Jprrnlp4MCBnTNmzNhwwgknvHbzzTfv91Z+j+p2vwkAABARMeelR0avaHu1X3euMaLPkJaPjZq+9E99XXNzc82dd945eMqUKRsiIs4///zR69evr12yZMnCl19+uW7GjBmHjhgxYstll132Slf2d8899wx58MEHFx988MGbjz/++EO//vWvD/ve97730pNPPtn385///EF333334mnTpm381Kc+NWrVqlW9t7+urq4u/vqv/3rpcccdt3HJkiW9TzrppPHXXnvt0K985Ssvb9/m/vvvH/TLX/7y1w0NDZ1PPPFE/Uc/+tFx3//+95fV1tbGihUr6h5//PH+t9566wsLFy7sU1tbG0cccUTb9tceccQRLY899thb+nyRIz8AANCDnXnmmeP69+8/efDgwVMee+yxAVdcccWq9vb2ePDBB4dce+21Lw0ePLjzsMMO2/zJT35y5dy5c7t8xOSMM85Yc8QRR7Q1NjbmD33oQ68uXLiwX0TE3LlzBx9//PGvnXTSSRvq6+vzddddtzyllLe/7thjj2054YQTNvbq1SsOO+ywzeeee+7qRx999A9i5fLLL185bNiwjsbGxjx9+vSWxsbGjvvuu29ARMQtt9wy+KijjmoePXp0e3Nzc21jY2PHjq8dOHBgx4YNG2rfyu+VIz8AANBFb+WITHf70Y9+9Pwpp5zS3N7eHrfffvug973vfYc98cQTv9qyZUsaP3785u3bjR07dvOqVau6fDGE4cOHv/6BnH79+nW2tLTUREQsX76816hRo17f74ABAzoHDRrUvv3+008/3efSSy8dvXDhwobW1taajo6OeNe73tWy477Hjh27ecf7p59++prbbrttyKmnnrr+zjvv3O+SSy55OSKif//+HRs3bvyDAzbr16//oyDqKkd+AABgH1BXVxezZs1aV1NTk3/+85831NXV5cWLF79+OtoLL7zQe9iwYVsiIhoaGjo2bdr0egssW7asy1E0YsSILS+99NLr+21ubq5Zt27d6wdVLrzwwoPGjx/funjx4oUbNmx46oorrnjpjftIKf3B/fPOO2/Nz372s0GPP/54/ZIlS/qeddZZayMiJk6c2Nbe3p4WLlzYZ/u2Tz/9dP2ECRM2dXXeHYkfAADYB3R2dsacOXMGNTc3102ZMmXTySefvPbyyy8ftXbt2prnnnuu9w033DDs9NNPXxMRMXXq1E1PPPFE4+LFi3uvWbOm9pvf/Obw3e1/uzPOOGPtww8/PPChhx5qbG1tTZ/97GdH5pxfr5kNGzbUDhgwoGPgwIGdTz31VN+bb775gN3t85BDDtkyceLEjbNmzRp74oknrmtsbMwRW48qzZgxY90Xv/jFkevXr6/56U9/2vDP//zPgz7+8Y+veSu/R+IHAAB6sNNPP318v379pvTv33/K1772tVHXX3/975qamlr/9m//9vf9+vXrPPjggyced9xxE2bOnPnqpZde+kpExKmnnrr+/e9//9qpU6e+a8qUKe88+eSTX+vqek1NTa3f/va3f3/uueeOHT58+KTBgwe3Dxs27PXT2K699tqld99995DGxsYp559//kGnnHLKq13Z78c+9rE1ixcvrj/nnHP+IGx++MMfvrhp06aaYcOGTZo1a9bBf/VXf/X7pqam1q7Ou6OUc979VlXS1NSU582bV+0xAADYh6WUnsw5N+3suQULFrwwadKkLl0djbfnJz/5SePHP/7xscuWLVtYW/uWrmcQERELFizYf9KkSWN29pwjPwAAQFW1tbWl73znO8POOuusV95O+OyO+AEAAKpm/vz5fQcNGjT55Zdf7vXFL35xVXeu5VLXAABA1UydOrV106ZNT1ViLUd+AACAIogfAACgCOIHAAAogvgBAACKIH4AAIAiiB8AAOBtGTVq1MR77723f7Xn2B3xAwAAPdSoUaMm9u3bd2q/fv2mDBgwYPK0adPGPf/8872qPdee9M1vfnPo4Ycf/s7evXtPnTlz5pi3sy/xAwAAPdgdd9yxuKWl5amVK1cuGDp0aPtFF110YLVn6qotW7bsdptRo0ZtmT179oqPfOQjr7zd9cQPAADsA/r165c//OEPr33++efrIyLWrFlTe+qpp44ZPHjwpJEjR078whe+MKKjoyMiIj7zmc+M/OAHPzh2+2ufffbZ3imlI7fHyFFHHXXYpZdeOnLq1KkTGhoaphx99NHjV6xYUbd9+xtuuGHIyJEjJw4aNGjy7Nmzh+84xyOPPNJv8uTJE/r37z956NChR5xzzjkHtra2pu3Pp5SOvOaaa4YedNBBh48ZM2bi2WeffeAnPvGJd+y4j+OPP37cVVdddUBExKxZs9adffbZ6/bbb7/2t/t7VLf7TQAAgIiIdTd8fHT775/p151r1B14eMugT9689E99XXNzc82dd945eMqUKRsiIs4///zR69evr12yZMnCl19+uW7GjBmHjhgxYstll13WpSMo99xzz5AHH3xw8cEHH7z5+OOPP/TrX//6sO9973svPfnkk30///nPH3T33XcvnjZt2sZPfepTo1atWtX79fnr6uKv//qvlx533HEblyxZ0vukk04af+211w79yle+8vL2be6///5Bv/zlL3/d0NDQ+cQTT9R/9KMfHff9739/WW1tbaxYsaLu8ccf73/rrbe+8Kf+HuyOIz8AANCDnXnmmeP69+8/efDgwVMee+yxAVdcccWq9vb2ePDBB4dce+21Lw0ePLjzsMMO2/zJT35y5dy5c/fr6n7POOOMNUcccURbY2Nj/tCHPvTqwoUL+0VEzJ07d/Dxxx//2kknnbShvr4+X3fddctTSnn764499tiWE044YWOvXr3isMMO23zuueeufvTRR//gYgiXX375ymHDhnU0Njbm6dOntzQ2Nnbcd999AyIibrnllsFHHXVU8+jRo9/2kZ43cuQHAAC66K0ckeluP/rRj54/5ZRTmtvb2+P2228f9L73ve+wJ5544ldbtmxJ48eP37x9u7Fjx25etWpVly+GMHz48Nc/kNOvX7/OlpaWmoiI5cuX9xo1atTr+x0wYEDnoEGDXg+Vp59+us+ll146euHChQ2tra01HR0d8a53vatlx32PHTt28473Tz/99DW33XbbkFNPPXX9nXfeud8ll1zycnQDR34AAGAfUFdXF7NmzVpXU1OTf/7znzfU1dXlxYsXv3462gsvvNB72LBhWyIiGhoaOjZt2vR6CyxbtqzLUTRixIgtL7300uv7bW5urlm3bt3rB1UuvPDCg8aPH9+6ePHihRs2bHjqiiuueOmN+0gp/cH98847b83PfvazQY8//nj9kiVL+p511llru/yD/wnEDwAA7AM6Oztjzpw5g5qbm+umTJmy6eSTT157+eWXj1q7dm3Nc8891/uGG24Ydvrpp6+JiJg6deqmJ554onHx4sW916xZU/vNb35z+O72v90ZZ5yx9uGHHx740EMPNba2tqbPfvazI3POr9fMhg0bagcMGNAxcODAzqeeeqrvzTfffMDu9nnIIYdsmThx4sZZs2aNPfHEE9c1Nja+fhrdli1boqWlJXV0dKSOjo7U0tKSunKVuJ0RPwAA0IOdfvrp4/v16zelf//+U772ta+Nuv7663/X1NTU+rd/+7e/79evX+fBBx888bjjjpswc+bMVy+99NJXIiJOPfXU9e9///vXTp069V1Tpkx558knn/xaV9drampq/fa3v/37c889d+zw4cMnDR48uH3YsGGvn8Z27bXXLr377ruHNDY2Tjn//PMPOuWUU17tyn4/9rGPrVm8eHH9Oeecs2bHx2fPnj2yoaFh6ve+973h//AP/zCkoaFh6uzZs0d2dd4dpZzz7reqkqampjxv3rxqjwEAwD4spfRkzrlpZ88tWLDghUmTJr3t75dh937yk580fvzjHx+7bNmyhbW1tW95PwsWLNh/0qRJY3b2nCM/AABAVbW1taXvfOc7w84666xX3k747I74AQAAqmb+/Pl9Bw0aNPnll1/u9cUvfnFVd67lUtcAAEDVTJ06tXXTpk1PVWItR34AAIAiiB8AANi1js7OzrT7zdgbbPt31bmr58UPAADs2mMvvvjioLa2tl5781WS2Ro+q1evHhgRz+xqG5/5AQCAXWhvb//EunXrLm5ubj435zwkHDzYm3VGxDPt7e3n72oD8QMAALtw5JFHbo6I72670cMpVwAAoAjiBwAAKIL4AQAAiiB+AACAIogfAACgCOIHAAAogvgBAACKIH4AAIAiiB8AAKAI4gcAACiC+AEAAIogfgAAgCKIHwAAoAjiBwAAKIL4AQAAiiB+AACAIogfAACgCOIHAAAogvgBAACKIH4AAIAiiB8AAKAI4gcAACiC+AEAAIogfgAAgCKIHwAAoAjiBwAAKIL4AQAAiiB+AACAIogfAACgCOIHAAAoQsXiJ6X0FymleSmltpTS31VqXQAAgIiIugqutTwivhERMyKivoLrAgAAVC5+cs73RESklJoi4h2VWhcAACBiL/zMT0rpgm2nx81b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83pfTYG/aZU0rjtv3671JK30sp/SSltCGl9K8ppeEppe+klNamlH6TUpqy/bU559aIeDIi/vOe/UkBoLrED0CV5Zx/GxGzI+L2lFK/iLglIv4u5/wvu3jJxIh49k9c5rSI+FJE7B8RbRHxeETM33b/f0bEdW/Y/tcRMelPXAMA9mriB2AvkHP+QUQsjoj/GxEjIuL/fZPNB0VE85+4xI9zzk9uO6rz44hozTn/fc65IyLujIgpb9i+eds6ALDPED8Ae48fRMThEXF9zrntTbZbGxH9/8R9r9rh15t2cr/xDdv3j4h1f+IaALBXEz8Ae4GUUmNEfCcifhgRX00pDXmTzZ+OiEN3uL8xIvrtsK/he2Ckd0bEgj2wHwDYa4gfgL3DdyPiyZzz+RHxYER8/022/ceIeO8O9xdExLtTSpNTSn0j4qtvZ5CUUp+IODIifvZ29gMAexvxA1BlKaUPRsSJEXHRtoc+ExFTU0pn7eIlfx8RJ6eU6iMics7PRcRVEfHPsfVzQ4/t4nVd9YGI+Jec8/K3uR8A2Kv4klOAHiil9M2IeDnn/J1u2Pf/jYjzcs7P7Ol9A0A1iR8AAKAITnsDAACKIH4AAIAiiB8AAKAI4gcAACiC+AEAAIogfgAAgCKIHwAAoAj/P/YzKjykE5LrAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 864x864 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "  Done; plotting time = 0.43 s\n",
      "\n",
      "Total time = 95.05 s\n",
      "\n",
      "End time:  2022-12-28 12:38:38.707886\n"
     ]
    }
   ],
   "source": [
    "sim.simulate()\n",
    "sim.analyze()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "ceb34061",
   "metadata": {},
   "outputs": [],
   "source": [
    "# plotting\n",
    "\n",
    "#sim.analysis.plotLFP(  plots = ['timeSeries', 'locations'] , electrodes=[ 'all'], lineWidth=1000 ,  fontSize=14, saveFig=True)\n",
    "\n",
    "# from matplotlib import pyplot\n",
    "# %matplotlib inline\n",
    "# pyplot.plot(t, ap1 )\n",
    "# #pyplot.xlim((0, 10))\n",
    "# pyplot.show()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "ddb4904a",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Duration: 0:01:37.507443\n"
     ]
    }
   ],
   "source": [
    "# show the execution time\n",
    "\n",
    "end_time = datetime.now()\n",
    "print('Duration: {}'.format(end_time - start_time))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "eb4751f0",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "id": "d18ce34b",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Longitudinal Current: picoamp\n",
    "\n",
    "\n",
    "\n",
    "# xraxia = xr*1e6   #ohm/cm\n",
    "# xraxia = xraxia*2*1e-4    # ohm,  length between node to MYSA is 2 micron\n",
    "\n",
    "\n",
    "# v_diff_00 = (Abeta0_vext1_node0-Abeta0_vext1_MYSA0)/1000     #volt\n",
    "# Longi_Current_node0_MYSA0 = v_diff_00/xraxia   #amp\n",
    "# Longi_Current_node0_MYSA0 = Longi_Current_node0_MYSA0*1e12   #picoamp\n",
    "\n",
    "# v_diff_12 = (Abeta0_vext1_node1-Abeta0_vext1_MYSA2)/1000     #volt\n",
    "# Longi_Current_node1_MYSA2 = v_diff_12/xraxia   \n",
    "# Longi_Current_node1_MYSA2 = Longi_Current_node1_MYSA2*1e12   \n",
    "\n",
    "# v_diff_24 = (Abeta0_vext1_node2-Abeta0_vext1_MYSA4)/1000     #volt\n",
    "# Longi_Current_node2_MYSA4 = v_diff_24/xraxia  \n",
    "# Longi_Current_node2_MYSA4 = Longi_Current_node2_MYSA4*1e12  \n",
    "\n",
    "# v_diff_36 = (Abeta0_vext1_node3-Abeta0_vext1_MYSA6)/1000     #volt\n",
    "# Longi_Current_node3_MYSA6 = v_diff_36/xraxia   \n",
    "# Longi_Current_node3_MYSA6 = Longi_Current_node3_MYSA6*1e12  \n",
    "\n",
    "# v_diff_48 = (Abeta0_vext1_node4-Abeta0_vext1_MYSA8)/1000     #volt\n",
    "# Longi_Current_node4_MYSA8 = v_diff_48/xraxia  \n",
    "# Longi_Current_node4_MYSA8 = Longi_Current_node4_MYSA8*1e12  \n",
    "\n",
    "# v_diff_510 = (Abeta0_vext1_node5-Abeta0_vext1_MYSA10)/1000     #volt\n",
    "# Longi_Current_node5_MYSA10 = (v_diff_510/xraxia)*1e12  \n",
    "\n",
    "# v_diff_612 = (Abeta0_vext1_node6-Abeta0_vext1_MYSA12)/1000     #volt\n",
    "# Longi_Current_node6_MYSA12 = (v_diff_612/xraxia)*1e12  \n",
    "\n",
    "# v_diff_714 = (Abeta0_vext1_node7-Abeta0_vext1_MYSA14)/1000     #volt\n",
    "# Longi_Current_node7_MYSA14 = (v_diff_714/xraxia)*1e12 \n",
    "\n",
    "# v_diff_816 = (Abeta0_vext1_node8-Abeta0_vext1_MYSA16)/1000     #volt\n",
    "# Longi_Current_node8_MYSA16 = (v_diff_816/xraxia)*1e12  \n",
    "\n",
    "# v_diff_918 = (Abeta0_vext1_node9-Abeta0_vext1_MYSA18)/1000     #volt\n",
    "# Longi_Current_node9_MYSA18 = (v_diff_918/xraxia)*1e12  \n",
    "\n",
    "# v_diff_1020 = (Abeta0_vext1_node10-Abeta0_vext1_MYSA20)/1000     #volt\n",
    "# Longi_Current_node10_MYSA20 = (v_diff_1020/xraxia)*1e12 \n",
    "\n",
    "# v_diff_1122 = (Abeta0_vext1_node11-Abeta0_vext1_MYSA22)/1000     #volt\n",
    "# Longi_Current_node11_MYSA22 = (v_diff_1122/xraxia)*1e12  \n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "id": "09bf554d",
   "metadata": {},
   "outputs": [],
   "source": [
    "# print(xraxia)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "id": "d833f599",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Transverse current: Picoamp/micron^2\n",
    "\n",
    "\n",
    "# TC = 2.3e+03\n",
    "\n",
    "\n",
    "# v_diff00 = (Abeta0_vext1_node0 - Abeta1_vext1_node0)/1000    #volt\n",
    "# Trans_Current_node0_node0 = (v_diff00 * TC )*1e12/1e8  #volt*S/cm2 = Amp/cm2 = PicoAMP/cm2 = PicoAMP/micron^2\n",
    "\n",
    "# v_diff11 = (Abeta0_vext1_node1 - Abeta1_vext1_node1)/1000    #volt\n",
    "# Trans_Current_node1_node1 = v_diff11 * TC *1e12/1e8   \n",
    "\n",
    "# v_diff22 = (Abeta0_vext1_node2 - Abeta1_vext1_node2)/1000    #volt\n",
    "# Trans_Current_node2_node2 = v_diff22 * TC *1e12/1e8  \n",
    "\n",
    "# v_diff33 = (Abeta0_vext1_node3 - Abeta1_vext1_node3)/1000    #volt\n",
    "# Trans_Current_node3_node3 = v_diff33 * TC *1e12/1e8  \n",
    "\n",
    "# v_diff44 = (Abeta0_vext1_node4 - Abeta1_vext1_node4)/1000    #volt\n",
    "# Trans_Current_node4_node4 = v_diff44 * TC *1e12/1e8  \n",
    "\n",
    "# v_diff55 = (Abeta0_vext1_node5 - Abeta1_vext1_node5)/1000    #volt\n",
    "# Trans_Current_node5_node5 = v_diff55 * TC *1e12/1e8  \n",
    "\n",
    "# v_diff66 = (Abeta0_vext1_node6 - Abeta1_vext1_node6)/1000    #volt\n",
    "# Trans_Current_node6_node6 = v_diff66 * TC *1e12/1e8  \n",
    "\n",
    "# v_diff77 = (Abeta0_vext1_node7 - Abeta1_vext1_node7)/1000    #volt\n",
    "# Trans_Current_node7_node7 = v_diff77 * TC *1e12/1e8 \n",
    "\n",
    "# v_diff88 = (Abeta0_vext1_node8 - Abeta1_vext1_node8)/1000    #volt\n",
    "# Trans_Current_node8_node8 = v_diff88 * TC *1e12/1e8  \n",
    "\n",
    "# v_diff99 = (Abeta0_vext1_node9 - Abeta1_vext1_node9)/1000    #volt\n",
    "# Trans_Current_node9_node9 = v_diff99 * TC *1e12/1e8  \n",
    "\n",
    "# v_diff1010 = (Abeta0_vext1_node10 - Abeta1_vext1_node10)/1000    #volt\n",
    "# Trans_Current_node10_node10 = v_diff1010 * TC *1e12/1e8  \n",
    "\n",
    "# v_diff1111 = (Abeta0_vext1_node11 - Abeta1_vext1_node11)/1000    #volt\n",
    "# Trans_Current_node11_node11 = v_diff1111 * TC *1e12/1e8  \n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "id": "b812647a",
   "metadata": {},
   "outputs": [],
   "source": [
    "# import csv\n",
    "\n",
    "# with open('v_diff66_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , v_diff66 ))\n",
    "        \n",
    "        \n",
    "        \n",
    "        \n",
    "import csv\n",
    "\n",
    "\n",
    "\n",
    "with open('ALLExtraVoltages_stimulateonlyAbeta0_edgedist0.5_.csv', 'w', newline='') as f:\n",
    "     csv.writer(f).writerows(zip( t , Abeta0_vext0_node0515 ,  Abeta0_vext1_node0515  , Abeta0_vext1_node015  , Abeta0_vext1_node115  , Abeta1_vext1_node0515 , boundary0_vext1_section1663 ,  Abeta0_vext0_node115 ,  Abeta0_vext0_MYSA0530 ,  Abeta0_vext1_MYSA0530 , Abeta0_vext0_node015))\n",
    "\n",
    "   "
   ]
  },
  {
   "cell_type": "markdown",
   "id": "8f3b15f1",
   "metadata": {},
   "source": [
    "#### saving the data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "id": "890baeb5",
   "metadata": {},
   "outputs": [],
   "source": [
    "## saving the data\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "   \n",
    "# with open('nodexg0changed_v_Abeta0_stimulateonlyAbeta0_edgedist0.5_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_v_node0 , Abeta0_v_node1 , Abeta0_v_node2 , Abeta0_v_node3 , Abeta0_v_node4 , Abeta0_v_node5 , Abeta0_v_node6 , Abeta0_v_node7 , Abeta0_v_node8 , Abeta0_v_node9 , Abeta0_v_node10 , Abeta0_v_node11 , Abeta0_v_node12 , Abeta0_v_node13 , Abeta0_v_node14 , Abeta0_v_node15 , Abeta0_v_node16 , Abeta0_v_node17 , Abeta0_v_node18 , Abeta0_v_node19 , Abeta0_v_node20 , Abeta0_v_node21 , Abeta0_v_node22 , Abeta0_v_node23 , Abeta0_v_node24 , Abeta0_v_node25 , Abeta0_v_node26 , Abeta0_v_node27 , Abeta0_v_node28 , Abeta0_v_node29 , Abeta0_v_node30 , Abeta0_v_node31 , Abeta0_v_node32 , Abeta0_v_node33 , Abeta0_v_node34 , Abeta0_v_node35 )) \n",
    "\n",
    "\n",
    "        \n",
    "        \n",
    "# with open('imembrane_Abeta0_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_imembrane_node0 , Abeta0_imembrane_node1 , Abeta0_imembrane_node2 , Abeta0_imembrane_node3 , Abeta0_imembrane_node4 , Abeta0_imembrane_node5 , Abeta0_imembrane_node6 , Abeta0_imembrane_node7 , Abeta0_imembrane_node8 , Abeta0_imembrane_node9 , Abeta0_imembrane_node10 , Abeta0_imembrane_node11 , Abeta0_imembrane_node12 , Abeta0_imembrane_node13 , Abeta0_imembrane_node14 , Abeta0_imembrane_node15 , Abeta0_imembrane_node16 , Abeta0_imembrane_node17 , Abeta0_imembrane_node18 , Abeta0_imembrane_node19 , Abeta0_imembrane_node20 , Abeta0_imembrane_node21 , Abeta0_imembrane_node22 , Abeta0_imembrane_node23 , Abeta0_imembrane_node24 , Abeta0_imembrane_node25 , Abeta0_imembrane_node26 , Abeta0_imembrane_node27 , Abeta0_imembrane_node28 , Abeta0_imembrane_node29 , Abeta0_imembrane_node30 , Abeta0_imembrane_node31 , Abeta0_imembrane_node32 , Abeta0_imembrane_node33 , Abeta0_imembrane_node34 , Abeta0_imembrane_node35 )) \n",
    "        \n",
    "        \n",
    "\n",
    "# ####################################  Connected to ground \n",
    "\n",
    "# with open('ConnectGround_v_Abeta0_stimulateonlyAbeta0_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_v_node0 , Abeta0_v_node1 , Abeta0_v_node2 , Abeta0_v_node3 , Abeta0_v_node4 , Abeta0_v_node5 , Abeta0_v_node6 , Abeta0_v_node7 , Abeta0_v_node8 , Abeta0_v_node9 , Abeta0_v_node10 , Abeta0_v_node11 )) \n",
    "\n",
    "\n",
    "# with open('NotConnectGround_vext1_Abeta0_stimulateonlyAbeta0_edgedist1_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_vext1_node0 , Abeta0_vext1_node1 , Abeta0_vext1_node2 , Abeta0_vext1_node3 , Abeta0_vext1_node4 , Abeta0_vext1_node5 , Abeta0_vext1_node6 , Abeta0_vext1_node7 , Abeta0_vext1_node8 , Abeta0_vext1_node9 , Abeta0_vext1_node10 , Abeta0_vext1_node11 )) \n",
    "\n",
    "\n",
    "\n",
    "# with open('ConnectGround_LongiCurrent_Abeta0_NodetoMYSA_stimulateonlyAbeta0_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Longi_Current_node0_MYSA0 , Longi_Current_node1_MYSA2 , Longi_Current_node2_MYSA4 , Longi_Current_node3_MYSA6 , Longi_Current_node4_MYSA8 , Longi_Current_node5_MYSA10 , Longi_Current_node6_MYSA12 , Longi_Current_node7_MYSA14 , Longi_Current_node8_MYSA16 , Longi_Current_node9_MYSA18 , Longi_Current_node10_MYSA20 , Longi_Current_node11_MYSA22   ))\n",
    "    \n",
    "    \n",
    "\n",
    "# with open('ConnectGround_TransCurrent_stimulateonlyAbeta0_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Trans_Current_node0_node0 , Trans_Current_node1_node1 , Trans_Current_node2_node2 , Trans_Current_node3_node3 , Trans_Current_node4_node4 , Trans_Current_node5_node5 , Trans_Current_node6_node6 , Trans_Current_node7_node7 , Trans_Current_node8_node8 , Trans_Current_node9_node9 , Trans_Current_node10_node10 , Trans_Current_node11_node11 ))\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "    \n",
    "# ##################################### Not connected to ground, Stimulate only one fiber     \n",
    "\n",
    "   \n",
    "# with open('v_Abeta0_stimulateonlyAbeta0_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_v_node0 , Abeta0_v_node1 , Abeta0_v_node2 , Abeta0_v_node3 , Abeta0_v_node4 , Abeta0_v_node5 , Abeta0_v_node6 , Abeta0_v_node7 , Abeta0_v_node8 , Abeta0_v_node9 , Abeta0_v_node10 , Abeta0_v_node11 )) \n",
    "\n",
    "\n",
    "   \n",
    "# with open('current_Abeta0_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_v_node0 , Abeta0_v_node1 , Abeta0_v_node2 , Abeta0_v_node3 , Abeta0_v_node4 , Abeta0_v_node5 , Abeta0_v_node6 , Abeta0_v_node7 , Abeta0_v_node8 , Abeta0_v_node9 , Abeta0_v_node10 , Abeta0_v_node11 )) \n",
    "\n",
    "\n",
    "\n",
    "# with open('LongiCurrent_Abeta0_NodetoMYSA_stimulateonlyAbeta0_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Longi_Current_node0_MYSA0 , Longi_Current_node1_MYSA2 , Longi_Current_node2_MYSA4 , Longi_Current_node3_MYSA6 , Longi_Current_node4_MYSA8 , Longi_Current_node5_MYSA10 , Longi_Current_node6_MYSA12 , Longi_Current_node7_MYSA14 , Longi_Current_node8_MYSA16 , Longi_Current_node9_MYSA18 , Longi_Current_node10_MYSA20 , Longi_Current_node11_MYSA22   ))\n",
    "    \n",
    "    \n",
    "\n",
    "# with open('TransCurrent_stimulateonlyAbeta0_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Trans_Current_node0_node0 , Trans_Current_node1_node1 , Trans_Current_node2_node2 , Trans_Current_node3_node3 , Trans_Current_node4_node4 , Trans_Current_node5_node5 , Trans_Current_node6_node6 , Trans_Current_node7_node7 , Trans_Current_node8_node8 , Trans_Current_node9_node9 , Trans_Current_node10_node10 , Trans_Current_node11_node11 ))\n",
    "    \n",
    "\n",
    "    \n",
    "    \n",
    "    \n",
    "    \n",
    "    \n",
    "# ##################################### Not connected to ground, Stimulate BOTH fibers    \n",
    "\n",
    "\n",
    "# with open('v_Abeta0_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_v_node0 , Abeta0_v_node1 , Abeta0_v_node2 , Abeta0_v_node3 , Abeta0_v_node4 , Abeta0_v_node5 , Abeta0_v_node6 , Abeta0_v_node7 , Abeta0_v_node8 , Abeta0_v_node9 , Abeta0_v_node10 , Abeta0_v_node11 )) \n",
    "\n",
    "\n",
    "\n",
    "# with open('LongiCurrent_Abeta0_NodetoMYSA_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Longi_Current_node0_MYSA0 , Longi_Current_node1_MYSA2 , Longi_Current_node2_MYSA4 , Longi_Current_node3_MYSA6 , Longi_Current_node4_MYSA8 , Longi_Current_node5_MYSA10 , Longi_Current_node6_MYSA12 , Longi_Current_node7_MYSA14 , Longi_Current_node8_MYSA16 , Longi_Current_node9_MYSA18 , Longi_Current_node10_MYSA20 , Longi_Current_node11_MYSA22   ))\n",
    "    \n",
    "    \n",
    "\n",
    "# with open('TransCurrent_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Trans_Current_node0_node0 , Trans_Current_node1_node1 , Trans_Current_node2_node2 , Trans_Current_node3_node3 , Trans_Current_node4_node4 , Trans_Current_node5_node5 , Trans_Current_node6_node6 , Trans_Current_node7_node7 , Trans_Current_node8_node8 , Trans_Current_node9_node9 , Trans_Current_node10_node10 , Trans_Current_node11_node11 ))\n",
    "    \n",
    "    \n",
    "    \n",
    " \n",
    "    \n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "id": "7a4d2e6a",
   "metadata": {},
   "outputs": [],
   "source": [
    "\n",
    "# with open('i_vext1_Abeta1_stimulateonlyAbeta0_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta1_vext1_node0 , Abeta1_vext1_node1 , Abeta1_vext1_node2 , Abeta1_vext1_node3 , Abeta1_vext1_node4 , Abeta1_vext1_node5 , Abeta1_vext1_node6 , Abeta1_vext1_node7 , Abeta1_vext1_node8 , Abeta1_vext1_node9 , Abeta1_vext1_node10 , Abeta1_vext1_node11 )) \n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a594bc51",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "id": "8e386b67",
   "metadata": {},
   "outputs": [],
   "source": [
    "   \n",
    "# with open('icap_Abeta0_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_icap_node0 , Abeta0_icap_node1 , Abeta0_icap_node2 , Abeta0_icap_node3 , Abeta0_icap_node4 , Abeta0_icap_node5 , Abeta0_icap_node6 , Abeta0_icap_node7 , Abeta0_icap_node8 , Abeta0_icap_node9 , Abeta0_icap_node10 , Abeta0_icap_node11 )) \n",
    "\n",
    "        \n",
    "        \n",
    "# with open('ik_Abeta0_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_ik_node0 , Abeta0_ik_node1 , Abeta0_ik_node2 , Abeta0_ik_node3 , Abeta0_ik_node4 , Abeta0_ik_node5 , Abeta0_ik_node6 , Abeta0_ik_node7 , Abeta0_ik_node8 , Abeta0_ik_node9 , Abeta0_ik_node10 , Abeta0_ik_node11 )) \n",
    "\n",
    "\n",
    "        \n",
    "# with open('il_Abeta0_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_il_node0 , Abeta0_il_node1 , Abeta0_il_node2 , Abeta0_il_node3 , Abeta0_il_node4 , Abeta0_il_node5 , Abeta0_il_node6 , Abeta0_il_node7 , Abeta0_il_node8 , Abeta0_il_node9 , Abeta0_il_node10 , Abeta0_il_node11 )) \n",
    "\n",
    "\n",
    "# with open('ina_Abeta0_stimulateonlyAbata0_edgedist0.5_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_ina_node0 , Abeta0_ina_node1 , Abeta0_ina_node2 , Abeta0_ina_node3 , Abeta0_ina_node4 , Abeta0_ina_node5 , Abeta0_ina_node6 , Abeta0_ina_node7 , Abeta0_ina_node8 , Abeta0_ina_node9 , Abeta0_ina_node10 , Abeta0_ina_node11 , Abeta0_ina_node12 , Abeta0_ina_node13 , Abeta0_ina_node14 , Abeta0_ina_node15 , Abeta0_ina_node16 , Abeta0_ina_node17 , Abeta0_ina_node18 , Abeta0_ina_node19 , Abeta0_ina_node20 )) \n",
    "\n",
    "# with open('imembrane_Abeta0_stimulateonlyAbata0_edgedist0.5_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_imembrane_node0 , Abeta0_imembrane_node1 , Abeta0_imembrane_node2 , Abeta0_imembrane_node3 , Abeta0_imembrane_node4 , Abeta0_imembrane_node5 , Abeta0_imembrane_node6 , Abeta0_imembrane_node7 , Abeta0_imembrane_node8 , Abeta0_imembrane_node9 , Abeta0_imembrane_node10 , Abeta0_imembrane_node11 , Abeta0_imembrane_node12 , Abeta0_imembrane_node13 , Abeta0_imembrane_node14 , Abeta0_imembrane_node15 , Abeta0_imembrane_node16 , Abeta0_imembrane_node17 , Abeta0_imembrane_node18 , Abeta0_imembrane_node19 , Abeta0_imembrane_node20 )) \n",
    "\n",
    "        \n",
    "# with open('inap_Abeta0_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_inap_node0 , Abeta0_inap_node1 , Abeta0_inap_node2 , Abeta0_inap_node3 , Abeta0_inap_node4 , Abeta0_inap_node5 , Abeta0_inap_node6 , Abeta0_inap_node7 , Abeta0_inap_node8 , Abeta0_inap_node9 , Abeta0_inap_node10 , Abeta0_inap_node11 )) \n",
    "\n",
    "        \n",
    "        \n",
    "# with open('imembrane_Abeta0_stimulateBOTH_edgedist3_.csv', 'w', newline='') as f:\n",
    "#      csv.writer(f).writerows(zip( t , Abeta0_imembrane_node0 , Abeta0_imembrane_node1 , Abeta0_imembrane_node2 , Abeta0_imembrane_node3 , Abeta0_imembrane_node4 , Abeta0_imembrane_node5 , Abeta0_imembrane_node6 , Abeta0_imembrane_node7 , Abeta0_imembrane_node8 , Abeta0_imembrane_node9 , Abeta0_imembrane_node10 , Abeta0_imembrane_node11 )) \n",
    "        \n",
    "  "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "id": "5bcb410c",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "18689.613196051898\n"
     ]
    }
   ],
   "source": [
    "print(xr)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}