blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 3
616
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
112
| license_type
stringclasses 2
values | repo_name
stringlengths 5
115
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 777
values | visit_date
timestamp[us]date 2015-08-06 10:31:46
2023-09-06 10:44:38
| revision_date
timestamp[us]date 1970-01-01 02:38:32
2037-05-03 13:00:00
| committer_date
timestamp[us]date 1970-01-01 02:38:32
2023-09-06 01:08:06
| github_id
int64 4.92k
681M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 22
values | gha_event_created_at
timestamp[us]date 2012-06-04 01:52:49
2023-09-14 21:59:50
⌀ | gha_created_at
timestamp[us]date 2008-05-22 07:58:19
2023-08-21 12:35:19
⌀ | gha_language
stringclasses 149
values | src_encoding
stringclasses 26
values | language
stringclasses 1
value | is_vendor
bool 2
classes | is_generated
bool 2
classes | length_bytes
int64 3
10.2M
| extension
stringclasses 188
values | content
stringlengths 3
10.2M
| authors
listlengths 1
1
| author_id
stringlengths 1
132
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
14b8a10c008579e57d0d23870394bd2f9d00e499 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5636311922769920_1/Python/ahausch/D.py | 3cf95f2a6023418fdc16b784eff43f0a8a7afec1 | []
| no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | Python | false | false | 589 | py | import sys
import math
def solve(K, C, S):
if (S < math.ceil(K / C)):
return "IMPOSSIBLE"
S = math.ceil(K / C)
i = 0
r = []
for s in range(S):
pos = 0
for c in range(C):
if (i >= K):
break
pos = pos * K + i
i += 1
r.append(str(pos + 1))
return ' '.join(r)
fin = sys.stdin
T = int(fin.readline())
for t in range(T):
(K, C, S) = map(int, fin.readline().split())
print("Case #{0}: {1}".format(t + 1, solve(K, C, S)))
fin.close()
| [
"[email protected]"
]
| |
19486d8466a1b265801548cad5027ad22bd07692 | 5a281cb78335e06c631181720546f6876005d4e5 | /solum-6.0.0/solum/tests/common/test_solum_swiftclient.py | fbfad4ade571d9e7a795a0f4fede2d2d18d3c5e8 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
]
| permissive | scottwedge/OpenStack-Stein | d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8 | 7077d1f602031dace92916f14e36b124f474de15 | refs/heads/master | 2021-03-22T16:07:19.561504 | 2020-03-15T01:31:10 | 2020-03-15T01:31:10 | 247,380,811 | 0 | 0 | Apache-2.0 | 2020-03-15T01:24:15 | 2020-03-15T01:24:15 | null | UTF-8 | Python | false | false | 2,440 | py | # Copyright 2015 - Rackspace Hosting
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import mock
from solum.common import exception as exc
from solum.common import solum_swiftclient as swiftclient
from solum.tests import base
from solum.tests import utils
class SwiftClientTest(base.BaseTestCase):
"""Test cases for solum.common.solum_swiftclient."""
@mock.patch('six.moves.builtins.open')
@mock.patch('solum.common.solum_swiftclient.SwiftClient._get_swift_client')
@mock.patch('solum.common.solum_swiftclient.SwiftClient._get_file_size')
def test_swift_client_upload(self, mock_file_size, mock_swift_client,
mock_open):
ctxt = utils.dummy_context()
container = 'fake-container'
filename = 'fake-file'
mock_client = mock_swift_client.return_value
fsize = 5
mock_file_size.return_value = fsize
swift = swiftclient.SwiftClient(ctxt)
swift.upload('filepath', container, filename)
mock_client.put_container.assert_called_once_with(container)
mock_client.put_object.assert_called_once_with(container,
filename,
mock.ANY,
content_length=fsize)
@mock.patch('six.moves.builtins.open')
@mock.patch('solum.common.solum_swiftclient.SwiftClient._get_swift_client')
@mock.patch('solum.common.solum_swiftclient.SwiftClient._get_file_size')
def test_swift_client_upload_exception(self, mock_file_size,
mock_swift_client, mock_open):
ctxt = utils.dummy_context()
mock_file_size.return_value = 0
swift = swiftclient.SwiftClient(ctxt)
self.assertRaises(exc.InvalidObjectSizeError,
swift.upload, 'filepath', 'fake-container', 'fname')
| [
"Wayne [email protected]"
]
| Wayne [email protected] |
41773fcade2a6453ac51625cee00770ad3a02f78 | 34d6ec6c9a459ab592f82137927107f967831400 | /week08/lesson/743-network-delay-time-Bellman-ford.py | b82d47e05a1edcea8d4185b9da9eeceb76756564 | [
"MIT"
]
| permissive | MiracleWong/algorithm-learning-camp | 228605311597dc3c29f73d4fb6b7abedc65d05a7 | aa5bee8f12dc25992aaebd46647537633bf1207f | refs/heads/master | 2023-07-15T21:34:11.229006 | 2021-09-05T09:06:16 | 2021-09-05T09:06:16 | 379,647,005 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 749 | py | class Solution:
def networkDelayTime(self, times: List[List[int]], n: int, k: int) -> int:
# dist 初始化,起点为0,其他为+oo
dist = [1e9] * (n + 1)
dist[k] = 0
# Bellman-ford 算法
for iteration in range(n - 1):
updated = False
for i in range(len(times)):
x = times[i][0]
y = times[i][1]
z = times[i][2]
if dist[y] > dist[x] + z:
dist[y] = dist[x] + z
updated = True
if not updated:
break
ans = 0
for i in range(1, n + 1):
ans = max(ans, dist[i])
if ans == 1e9:
ans = -1
return ans | [
"[email protected]"
]
| |
98bd50f650bcf86b7bd116e3eb2d4bcff2cb37ed | 38ac429d63369922e12e19cdda042b08b8123027 | /test/test_assignments_api.py | f4088df3c26e3bc14fabe3d926d588d688266f87 | []
| no_license | aviv-julienjehannet/collibra_apiclient | 0dfebe5df2eb929645b87eba42fab4c06ff0a6be | 10a89e7acaf56ab8c7417698cd12616107706b6b | refs/heads/master | 2021-09-12T16:52:19.803624 | 2018-04-19T01:35:20 | 2018-04-19T01:35:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,538 | py | # coding: utf-8
"""
\"Data Governance Center: REST API v2\"
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import swagger_client
from swagger_client.api.assignments_api import AssignmentsApi # noqa: E501
from swagger_client.rest import ApiException
class TestAssignmentsApi(unittest.TestCase):
"""AssignmentsApi unit test stubs"""
def setUp(self):
self.api = swagger_client.api.assignments_api.AssignmentsApi() # noqa: E501
def tearDown(self):
pass
def test_resource_assignment_resource_get_assignments_for_asset_get(self):
"""Test case for resource_assignment_resource_get_assignments_for_asset_get
Returns assignment for given asset id. # noqa: E501
"""
pass
def test_resource_assignment_resource_get_assignments_for_asset_type_get(self):
"""Test case for resource_assignment_resource_get_assignments_for_asset_type_get
Returns assignments for given asset type id. # noqa: E501
"""
pass
def test_resource_assignment_resource_get_available_asset_types_for_domain_get(self):
"""Test case for resource_assignment_resource_get_available_asset_types_for_domain_get
Returns available asset types for domain identified by given id. # noqa: E501
"""
pass
def test_resource_assignment_resource_get_available_attribute_types_for_asset_get(self):
"""Test case for resource_assignment_resource_get_available_attribute_types_for_asset_get
Returns available attribute types for asset identified by given id. # noqa: E501
"""
pass
def test_resource_assignment_resource_get_available_complex_relation_types_for_asset_get(self):
"""Test case for resource_assignment_resource_get_available_complex_relation_types_for_asset_get
Returns available complex relation types for asset identified by given id. # noqa: E501
"""
pass
def test_resource_assignment_resource_get_available_relation_types_for_asset_get(self):
"""Test case for resource_assignment_resource_get_available_relation_types_for_asset_get
Returns available relation types for asset identified by given id. # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()
| [
"[email protected]"
]
| |
a17d9a637230803a57cdecda3f01a54e3490fcaf | 2d2c10ffa7aa5ee35393371e7f8c13b4fab94446 | /projects/ai/imt2020/imt2020/modelEvalDec.py | 9bae39e758014b78adccdc204a99f3aeeec9b16d | []
| no_license | faker2081/pikachu2 | bec83750a5ff3c7b5a26662000517df0f608c1c1 | 4f06d47c7bf79eb4e5a22648e088b3296dad3b2d | refs/heads/main | 2023-09-02T00:28:41.723277 | 2021-11-17T11:15:44 | 2021-11-17T11:15:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,098 | py | #=======================================================================================================================
#=======================================================================================================================
import numpy as np
import tensorflow as tf
from modelDesign import *
import scipy.io as sio
#=======================================================================================================================
#=======================================================================================================================
# Parameters Setting
NUM_FEEDBACK_BITS = 512
CHANNEL_SHAPE_DIM1 = 24
CHANNEL_SHAPE_DIM2 = 16
CHANNEL_SHAPE_DIM3 = 2
#=======================================================================================================================
#=======================================================================================================================
# Data Loading
mat = sio.loadmat('channelData/H_4T4R.mat')
data = mat['H_4T4R']
data = data.astype('float32')
data = np.reshape(data, (len(data), CHANNEL_SHAPE_DIM1, CHANNEL_SHAPE_DIM2, CHANNEL_SHAPE_DIM3))
H_test = data
# encOutput Loading
encode_feature = np.load('./encOutput.npy')
#=======================================================================================================================
#=======================================================================================================================
# Model Loading and Decoding
decoder_address = './modelSubmit/decoder.h5'
_custom_objects = get_custom_objects()
model_decoder = tf.keras.models.load_model(decoder_address, custom_objects=_custom_objects)
H_pre = model_decoder.predict(encode_feature)
if (NMSE(H_test, H_pre) < 0.1):
print('Valid Submission')
print('The Score is ' + np.str(1.0 - NMSE(H_test, H_pre)))
print('Finished!')
#=======================================================================================================================
#=======================================================================================================================
| [
"[email protected]"
]
| |
05f85d5e2a79d9b905c1ab8b6068858b3b190797 | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_96/1859.py | 097f8ab50567049219afad10b48e6fc6a3d52758 | []
| no_license | dr-dos-ok/Code_Jam_Webscraper | c06fd59870842664cd79c41eb460a09553e1c80a | 26a35bf114a3aa30fc4c677ef069d95f41665cc0 | refs/heads/master | 2020-04-06T08:17:40.938460 | 2018-10-14T10:12:47 | 2018-10-14T10:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,158 | py | from sys import stdin
def get_judge_points(total):
if not isinstance(total, int):
total = int(total)
i = int(total/3)
remainder = total % 3
points = [i, i, i]
while remainder > 0:
points[remainder] += 1
remainder -= 1
return points
def do_surprise(points):
diff = max(points) - min(points)
if min(points) > 0:
if diff == 0:
points[0] -= 1
points[1] += 1
elif diff == 1:
number_of_max = len(filter(lambda x: x == max(points), points))
if number_of_max == 2:
points[points.index(max(points))] -= 1
points[points.index(max(points))] += 1
return points
t = 0
for line in stdin.readlines():
t_in = 0
y = 0
if t == 0:
t_in == int(line.rstrip())
else:
numbers = line.rstrip().split(' ')
n, s, p = map(lambda x: int(x), numbers[0:3])
scores = map(get_judge_points, numbers[3:])
for score in scores:
diff = max(score) - min(score)
if max(score) < p and (diff >= 0) and (p - max(score) <= 1) and s > 0:
do_surprise(score)
s -= 1
if max(score) >= p:
y += 1
print 'Case #%i: %i' % (t, y)
t += 1 | [
"[email protected]"
]
| |
88e99f9833bae6a2ea3a4a486f8efc6ea059088e | 9ca91c03b770e0bad09e6fbb2d7e8cbef8482263 | /articles/filmav/grabed_articles/60335.py | 39f213a6339559618ef5fa3fd0037b1b8cfde314 | []
| no_license | renever/wp_sys | 7408b5c7edb47cb376bb786d630481fd825815ed | 23469f2a03759293abf2ed38482c1f152f5798d4 | refs/heads/develop | 2020-05-20T06:00:44.550968 | 2015-02-10T16:04:30 | 2015-02-10T16:04:30 | 31,001,855 | 1 | 2 | null | 2015-02-19T04:55:43 | 2015-02-19T04:55:42 | Python | UTF-8 | Python | false | false | 1,463 | py | {"screenshosts": ["http://img58.imagetwist.com/i/07668/rohq8x0q8eap.jpeg"], "description": "p>Tokyo-hot n1014 <span class=\"wp_keywordlink_affiliate\"></span> (Miyu Nakayama\uff09<br />\n<br />\n\u51fa\u6f14\u8005\u540d <span class=\"wp_keywordlink_affiliate\"></span><br />\n\u30b7\u30ea\u30fc\u30ba \u64ae\u308a\u304a\u308d\u3057\u5fb9\u5e95\u9675\u8fb1\u30d3\u30c7\u30aa<br />\n\u30ab\u30c6\u30b4\u30ea \u4e2d\u51fa\u3057 \u8f2a\u59e6\u4e2d\u51fa\u3057 \u30aa\u30e2\u30c1\u30e3\u8cac\u3081 \u30af\u30b9\u30b3\u81a3\u5185\u898b\u305b \u304a\u6383\u9664\u30d5\u30a7\u30e9 \u62d8\u675f\u30fb\u62d8\u675f\u5177 \u30b9\u30d1\u30f3\u30ad\u30f3\u30b0 \u96fb\u6c17\u30a2\u30f3\u30de \u6deb\u8a9e \u8986\u9762\u7537\uff08\u30de\u30b9\u30af\u542b\uff09 \u9854\u9762\u9a0e\u4e57 \u4e2d\u51fa\u3057\u304a\u306d\u3060\u308a \u6c41\u7537\u512a\u9023\u7d9a\u81a3\u5185\u5c04\u7cbe \u5973\u306e\u30a2\u30ca\u30eb\u3092\u8210\u3081\u308b \u672c\u6c17\u6ce3\u304d \u30e2\u30cb\u30bf\u30fc\u30d7\u30ec\u30a4 \u30d0\u30c3\u30af\u4e2d\u51fa\u3057 \u4eba\u751f\u521d\u4e2d\u51fa\u3057 \u4e2d\u51fa\u3057\u30de\u30f3\u30b3\u9b3c\u96fb\u30de<br />\n\u521d\u516c\u958b\u65e5 2015/01/13<br />\n\u53ce\u9332\u6642\u9593 01:49:17<br />\n\u4f5c\u54c1\u756a\u53f7 n1014<br />", "tags": ["\u6771\u4eac\u71b1", "\u4e2d\u5c71\u7f8e\u6182"], "cover_img": "http://img58.imagetwist.com/th/07668/a3qkz7jbei34.jpg", "file_name": "n1014_hd", "id": "60335", "categories": ["Tokyo Hot", "Uncensored"]} | [
"[email protected]"
]
| |
7b50ee40c5fbcab7fdd8bbdd1d6ec7d1d57bdaef | b82155d41bab1590a845549c3364e6c7d490a9b0 | /Chapter9/9_4.py | 48aa8a528c67bd19fe3c9f6960548c705814bfd6 | []
| no_license | Myfour/Fluent_Python_Study | d9cc82815caf5a0c04f1283a5699bc4be013d84c | 30a96ca2a8df54008f313e5b5bfb2d3dd97458dd | refs/heads/master | 2020-04-22T05:27:03.185038 | 2019-05-13T14:17:32 | 2019-05-13T14:17:32 | 170,159,899 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 323 | py | '''
比较@classmethod和@staticmethod的行为
'''
class Demo:
@classmethod
def klassmeth(*args):
return args
@staticmethod
def statmeth(*args):
return args
print(Demo.klassmeth())
print(Demo.klassmeth('aaa'))
print(Demo.statmeth())
print(Demo.statmeth('bbb'))
print(Demo().statmeth()) | [
"[email protected]"
]
| |
6a337af69004a88b494f71d4040fad44ce697915 | 068d271e241d8cdb46dbf4243166e4b8ee7025b2 | /day09/homework/FTP/core/log.py | 2c015fef5f86df75116b948c5e61cf9c479e6266 | []
| no_license | caiqinxiong/python | f6e226e76cb62aac970bcfbcb6c8adfc64858b60 | 9029f6c528d2cb742b600af224e803baa74cbe6a | refs/heads/master | 2023-05-26T19:41:34.911885 | 2020-05-15T09:02:08 | 2020-05-15T09:02:08 | 195,261,757 | 1 | 0 | null | 2021-06-10T23:33:33 | 2019-07-04T15:01:42 | JavaScript | UTF-8 | Python | false | false | 2,392 | py | # -*- coding: utf-8 -*-
__author__ = 'caiqinxiong_cai'
# 2019/8/26 15:37
import logging
import sys
import time
from logging import handlers
from conf import settings as ss
class Log(object):
'''
https://cloud.tencent.com/developer/article/1354396
'''
now_time = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(time.time()))
sh = logging.StreamHandler() # 既打印输入又写入文件
# rh = handlers.RotatingFileHandler(ss.log_file, maxBytes=1024,backupCount=5) # 按大小切换日志,保留5份
fh = handlers.TimedRotatingFileHandler(filename=ss.LOG_FILE, when='D', backupCount=5, interval=5,encoding='utf-8') # 按时间切割日志
logging.basicConfig(level=logging.WARNING, # 打印日志级别
handlers=[fh, sh],
datefmt='%Y-%m-%d %H:%M:%S',
format='%(asctime)s - %(name)s - %(levelname)s -%(module)s: %(message)s') # [%(lineno)d] 只显示当前文件的行号
@staticmethod
def writeOnly(content):
'''自定义函数,只写入日志文件'''
with open(ss.LOG_FILE, mode='a', encoding='utf-8') as f:
f.write(Log.now_time + '\t' + str(content) + '\n')
@staticmethod
def readOnly(content):
'''自定义函数,只打印日志'''
print('\033[36;1m%s\033[0m' % content)
@classmethod
def readAndWrite(cls,content):
'''自定义函数,既打印信息又记录log文件'''
cls.readOnly(content)
cls.writeOnly('[INFO]\t' + content)
@classmethod
def debug(cls, content):
# return logging.debug(content)
return cls.readOnly(content)
@classmethod
def info(cls, content):
# return logging.info(content)
return cls.writeOnly('[INFO]\t' + content) # info信息直接写入log文件
@staticmethod
def warning(content):
return logging.warning(content)
@staticmethod
def error(content):
# 获取调用函数的文件名和行数
head = '%s line%s error!\n' % (sys._getframe().f_back.f_code.co_filename, sys._getframe().f_back.f_lineno)
return logging.error(head + content)
@staticmethod
def critical(content):
head = '%s line%s critical!\n' % (sys._getframe().f_back.f_code.co_filename, sys._getframe().f_back.f_lineno)
return logging.critical(head + content)
| [
"[email protected]"
]
| |
b50799fe5511d496b4e68f1a8b58087176fddf2d | eea1c66c80784d4aefeb0d5fd2e186f9a3b1ac6e | /atcoder/abc/abc301-400/abc301/b.py | b9d8a82685d6db658c6c82c4ecf0bc9b4ef847f1 | []
| no_license | reo11/AtCoder | 4e99d6f40d8befe264761e3b8c33d3a6b7ba0fe9 | 69c6d67f05cb9190d8fb07204488cd7ce4d0bed2 | refs/heads/master | 2023-08-28T10:54:50.859288 | 2023-08-22T18:52:47 | 2023-08-22T18:52:47 | 162,085,118 | 4 | 0 | null | 2023-07-01T14:17:28 | 2018-12-17T06:31:10 | Python | UTF-8 | Python | false | false | 295 | py | n = int(input())
a = list(map(int, input().split()))
ans = []
for i in range(n - 1):
if a[i] < a[i + 1]:
for j in range(a[i], a[i + 1]):
ans.append(j)
else:
for j in range(a[i], a[i + 1], -1):
ans.append(j)
ans.append(a[-1])
print(*ans, sep=" ")
| [
"[email protected]"
]
| |
5bc2856f4e1317762a13a48e6e2301eafd01e196 | 2354fbbc1b6497d3a5f78e12783fe760e43f99fb | /LeetCode Problems/Stack/Backspace String Compare.py | 6ae42752f72ced7da2ced2912c3d92e6daf78064 | []
| no_license | GZHOUW/Algorithm | 34ee3650a5fad1478fb3922ea69ccafc134520c9 | 7eddbc93a237d1d5cabcdc67806b01ff55ea8562 | refs/heads/master | 2021-03-27T07:57:31.247576 | 2021-01-06T19:53:38 | 2021-01-06T19:53:38 | 247,803,659 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,039 | py | '''
Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character.
Example 1:
Input: S = "ab#c", T = "ad#c"
Output: true
Explanation: Both S and T become "ac".
Example 2:
Input: S = "ab##", T = "c#d#"
Output: true
Explanation: Both S and T become "".
Example 3:
Input: S = "a##c", T = "#a#c"
Output: true
Explanation: Both S and T become "c".
Example 4:
Input: S = "a#c", T = "b"
Output: false
Explanation: S becomes "c" while T becomes "b".
Note:
1 <= S.length <= 200
1 <= T.length <= 200
S and T only contain lowercase letters and '#' characters.
'''
def backspaceCompare(S, T):
S_stack = []
T_stack = []
for char in S:
if char != '#':
S_stack.append(char)
elif S_stack: # char is # and stack is not empty
S_stack.pop()
for char in T:
if char != '#':
T_stack.append(char)
elif T_stack: # char is # and stack is not empty
T_stack.pop()
return S_stack == T_stack
| [
"[email protected]"
]
| |
d5a5d0b1b5096872ac136f497b911887858020e6 | 5479cdac56abc115d3b52fbd31814dfd27262da7 | /TaobaoSdk/Request/FenxiaoDiscountAddRequest.py | 041fa187596ee24e1160c69cbbe32e671cb0871b | []
| no_license | xuyaoqiang-maimiao/TaobaoOpenPythonSDK | d9d2be6a7aa27c02bea699ed5667a9a30bf483ab | c82cde732e443ecb03cfeac07843e884e5b2167c | refs/heads/master | 2021-01-18T07:49:57.984245 | 2012-08-21T07:31:10 | 2012-08-21T07:31:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,729 | py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim: set ts=4 sts=4 sw=4 et:
## @brief 新增等级折扣
# @author [email protected]
# @date 2012-08-09 12:36:46
# @version: 0.0.0
import os
import sys
import time
def __getCurrentPath():
return os.path.normpath(os.path.join(os.path.realpath(__file__), os.path.pardir))
__modulePath = os.path.join(__getCurrentPath(), os.path.pardir)
__modulePath = os.path.normpath(__modulePath)
if __modulePath not in sys.path:
sys.path.insert(0, __modulePath)
## @brief <SPAN style="font-size:16px; font-family:'宋体','Times New Roman',Georgia,Serif;">新增等级折扣</SPAN>
# <UL>
# </UL>
class FenxiaoDiscountAddRequest(object):
def __init__(self):
super(self.__class__, self).__init__()
## @brief <SPAN style="font-size:16px; font-family:'宋体','Times New Roman',Georgia,Serif;">获取API名称</SPAN>
# <UL>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Type</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">str</SPAN>
# </LI>
# </UL>
self.method = "taobao.fenxiao.discount.add"
## @brief <SPAN style="font-size:16px; font-family:'宋体','Times New Roman',Georgia,Serif;">时间戳,如果不设置,发送请求时将使用当时的时间</SPAN>
# <UL>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Type</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">int</SPAN>
# </LI>
# </UL>
self.timestamp = int(time.time())
## @brief <SPAN style="font-size:16px; font-family:'宋体','Times New Roman',Georgia,Serif;">折扣名称,长度不能超过25字节</SPAN>
# <UL>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Type</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">String</SPAN>
# </LI>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Required</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">required</SPAN>
# </LI>
# </UL>
self.discount_name = None
## @brief <SPAN style="font-size:16px; font-family:'宋体','Times New Roman',Georgia,Serif;">PERCENT(按折扣优惠)、PRICE(按减价优惠),例如"PERCENT,PRICE,PERCENT"</SPAN>
# <UL>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Type</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">String</SPAN>
# </LI>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Required</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">required</SPAN>
# </LI>
# </UL>
self.discount_types = None
## @brief <SPAN style="font-size:16px; font-family:'宋体','Times New Roman',Georgia,Serif;">优惠比率或者优惠价格,例如:”8000,-2300,7000”,大小为-100000000到100000000之间(单位:分)</SPAN>
# <UL>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Type</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">String</SPAN>
# </LI>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Required</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">required</SPAN>
# </LI>
# </UL>
self.discount_values = None
## @brief <SPAN style="font-size:16px; font-family:'宋体','Times New Roman',Georgia,Serif;">会员等级的id或者分销商id,例如:”1001,2001,1002”</SPAN>
# <UL>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Type</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">String</SPAN>
# </LI>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Required</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">required</SPAN>
# </LI>
# </UL>
self.target_ids = None
## @brief <SPAN style="font-size:16px; font-family:'宋体','Times New Roman',Georgia,Serif;">GRADE(按会员等级优惠)、DISTRIBUTOR(按分销商优惠),例如"GRADE,DISTRIBUTOR"</SPAN>
# <UL>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Type</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">String</SPAN>
# </LI>
# <LI>
# <SPAN style="color:DarkRed; font-size:18px; font-family:'Times New Roman',Georgia,Serif;">Required</SPAN>: <SPAN style="color:DarkMagenta; font-size:16px; font-family:'Times New Roman','宋体',Georgia,Serif;">required</SPAN>
# </LI>
# </UL>
self.target_types = None
| [
"[email protected]"
]
| |
497bd17a77f55e7e45a3b7cba1e1189baa20b7e5 | d8e52daee362d3d5219c5a22c63fc9c0d645971d | /django_app/temp_app/apps.py | 0d7d7273970c3b221c1096b83855e88f2fb2dd1a | []
| no_license | BethMwangi/temp_chart | 73f6b50ca7057b247e4a5d83f81977a650e97204 | 175a739d3f45bb4dcd30411ab1e22ab18b46d1f5 | refs/heads/master | 2021-01-13T13:31:38.795942 | 2016-11-17T20:01:45 | 2016-11-17T20:01:45 | 72,631,079 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 131 | py | from __future__ import unicode_literals
from django.apps import AppConfig
class TempAppConfig(AppConfig):
name = 'temp_app'
| [
"[email protected]"
]
| |
722871561fe1940df48245ef168f877aa6fa7b7c | 6820e74ec72ed67f6b84a071cef9cfbc9830ad74 | /plans/migrations/0011_auto_20150421_0207.py | f85ce87d2de92f218fff2a5c5d124a86e90b7df7 | [
"MIT"
]
| permissive | AppforallHQ/f5 | 96c15eaac3d7acc64e48d6741f26d78c9ef0d8cd | 0a85a5516e15d278ce30d1f7f339398831974154 | refs/heads/master | 2020-06-30T17:00:46.646867 | 2016-11-21T11:41:59 | 2016-11-21T11:41:59 | 74,357,925 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 445 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import plans.models
class Migration(migrations.Migration):
dependencies = [
('plans', '0010_auto_20150421_0159'),
]
operations = [
migrations.AlterField(
model_name='invoice',
name='subscription',
field=plans.models._ForeignKey(to='plans.Subscription'),
),
]
| [
"[email protected]"
]
| |
c6ac53e11389ce6549e82a2b7f72c83546dba78e | e61e664d95af3b93150cda5b92695be6551d2a7c | /vega/datasets/conf/st.py | a72bc532372c895cf6a8852f78a66bf775dec00c | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"BSD-3-Clause",
"MIT"
]
| permissive | huawei-noah/vega | 44aaf8bb28b45f707ed6cd4e871ba70fc0c04846 | 12e37a1991eb6771a2999fe0a46ddda920c47948 | refs/heads/master | 2023-09-01T20:16:28.746745 | 2023-02-15T09:36:59 | 2023-02-15T09:36:59 | 273,667,533 | 850 | 184 | NOASSERTION | 2023-02-15T09:37:01 | 2020-06-20T08:20:06 | Python | UTF-8 | Python | false | false | 1,577 | py | # -*- coding=utf-8 -*-
# Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Default configs."""
from vega.common import ConfigSerializable
from .base import BaseConfig
class SpatiotemporalConfig(BaseConfig):
"""Default Dataset config for SpatiotemporalConfig."""
n_his = 12
n_pred = 4
batch_size = 32
test_portion = 0.2
train_portion = 0.9
is_spatiotemporal = True
@classmethod
def rules(cls):
"""Return rules for checking."""
rules_Base = {"data_path": {"type": (str)},
"n_his": {"type": int},
"n_pred": {"type": bool},
"train_portion": {"type": float},
"is_spatiotemporal": {"type": bool},
}
return rules_Base
class SpatiotemporalDatasetConfig(ConfigSerializable):
"""Dummy dataset config."""
common = SpatiotemporalConfig
train = SpatiotemporalConfig
val = SpatiotemporalConfig
test = SpatiotemporalConfig
| [
"[email protected]"
]
| |
7207a8e8a959526f148b94f3db608f70c74163b9 | 162e0e4791188bd44f6ce5225ff3b1f0b1aa0b0d | /examples/applications/plot_outlier_detection_housing.py | b807a33544c2640fe43c715f3a8a087e6f3beff8 | []
| no_license | testsleeekGithub/trex | 2af21fa95f9372f153dbe91941a93937480f4e2f | 9d27a9b44d814ede3996a37365d63814214260ae | refs/heads/master | 2020-08-01T11:47:43.926750 | 2019-11-06T06:47:19 | 2019-11-06T06:47:19 | 210,987,245 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,672 | py | """
====================================
Outlier detection on a real data set
====================================
This example illustrates the need for robust covariance estimation
on a real data set. It is useful both for outlier detection and for
a better understanding of the data structure.
We selected two sets of two variables from the Boston housing data set
as an illustration of what kind of analysis can be done with several
outlier detection tools. For the purpose of visualization, we are working
with two-dimensional examples, but one should be aware that things are
not so trivial in high-dimension, as it will be pointed out.
In both examples below, the main result is that the empirical covariance
estimate, as a non-robust one, is highly influenced by the heterogeneous
structure of the observations. Although the robust covariance estimate is
able to focus on the main mode of the data distribution, it sticks to the
assumption that the data should be Gaussian distributed, yielding some biased
estimation of the data structure, but yet accurate to some extent.
The One-Class SVM does not assume any parametric form of the data distribution
and can therefore model the complex shape of the data much better.
First example
-------------
The first example illustrates how robust covariance estimation can help
concentrating on a relevant cluster when another one exists. Here, many
observations are confounded into one and break down the empirical covariance
estimation.
Of course, some screening tools would have pointed out the presence of two
clusters (Support Vector Machines, Gaussian Mixture Models, univariate
outlier detection, ...). But had it been a high-dimensional example, none
of these could be applied that easily.
Second example
--------------
The second example shows the ability of the Minimum Covariance Determinant
robust estimator of covariance to concentrate on the main mode of the data
distribution: the location seems to be well estimated, although the covariance
is hard to estimate due to the banana-shaped distribution. Anyway, we can
get rid of some outlying observations.
The One-Class SVM is able to capture the real data structure, but the
difficulty is to adjust its kernel bandwidth parameter so as to obtain
a good compromise between the shape of the data scatter matrix and the
risk of over-fitting the data.
"""
print(__doc__)
# Author: Virgile Fritsch <[email protected]>
# License: BSD 3 clause
import numpy as np
from mrex.covariance import EllipticEnvelope
from mrex.svm import OneClassSVM
import matplotlib.pyplot as plt
import matplotlib.font_manager
from mrex.datasets import load_boston
# Get data
X1 = load_boston()['data'][:, [8, 10]] # two clusters
X2 = load_boston()['data'][:, [5, 12]] # "banana"-shaped
# Define "classifiers" to be used
classifiers = {
"Empirical Covariance": EllipticEnvelope(support_fraction=1.,
contamination=0.261),
"Robust Covariance (Minimum Covariance Determinant)":
EllipticEnvelope(contamination=0.261),
"OCSVM": OneClassSVM(nu=0.261, gamma=0.05)}
colors = ['m', 'g', 'b']
legend1 = {}
legend2 = {}
# Learn a frontier for outlier detection with several classifiers
xx1, yy1 = np.meshgrid(np.linspace(-8, 28, 500), np.linspace(3, 40, 500))
xx2, yy2 = np.meshgrid(np.linspace(3, 10, 500), np.linspace(-5, 45, 500))
for i, (clf_name, clf) in enumerate(classifiers.items()):
plt.figure(1)
clf.fit(X1)
Z1 = clf.decision_function(np.c_[xx1.ravel(), yy1.ravel()])
Z1 = Z1.reshape(xx1.shape)
legend1[clf_name] = plt.contour(
xx1, yy1, Z1, levels=[0], linewidths=2, colors=colors[i])
plt.figure(2)
clf.fit(X2)
Z2 = clf.decision_function(np.c_[xx2.ravel(), yy2.ravel()])
Z2 = Z2.reshape(xx2.shape)
legend2[clf_name] = plt.contour(
xx2, yy2, Z2, levels=[0], linewidths=2, colors=colors[i])
legend1_values_list = list(legend1.values())
legend1_keys_list = list(legend1.keys())
# Plot the results (= shape of the data points cloud)
plt.figure(1) # two clusters
plt.title("Outlier detection on a real data set (boston housing)")
plt.scatter(X1[:, 0], X1[:, 1], color='black')
bbox_args = dict(boxstyle="round", fc="0.8")
arrow_args = dict(arrowstyle="->")
plt.annotate("several confounded points", xy=(24, 19),
xycoords="data", textcoords="data",
xytext=(13, 10), bbox=bbox_args, arrowprops=arrow_args)
plt.xlim((xx1.min(), xx1.max()))
plt.ylim((yy1.min(), yy1.max()))
plt.legend((legend1_values_list[0].collections[0],
legend1_values_list[1].collections[0],
legend1_values_list[2].collections[0]),
(legend1_keys_list[0], legend1_keys_list[1], legend1_keys_list[2]),
loc="upper center",
prop=matplotlib.font_manager.FontProperties(size=12))
plt.ylabel("accessibility to radial highways")
plt.xlabel("pupil-teacher ratio by town")
legend2_values_list = list(legend2.values())
legend2_keys_list = list(legend2.keys())
plt.figure(2) # "banana" shape
plt.title("Outlier detection on a real data set (boston housing)")
plt.scatter(X2[:, 0], X2[:, 1], color='black')
plt.xlim((xx2.min(), xx2.max()))
plt.ylim((yy2.min(), yy2.max()))
plt.legend((legend2_values_list[0].collections[0],
legend2_values_list[1].collections[0],
legend2_values_list[2].collections[0]),
(legend2_keys_list[0], legend2_keys_list[1], legend2_keys_list[2]),
loc="upper center",
prop=matplotlib.font_manager.FontProperties(size=12))
plt.ylabel("% lower status of the population")
plt.xlabel("average number of rooms per dwelling")
plt.show()
| [
"[email protected]"
]
| |
e8977ff40f1b9f54bb36eafb20e6bce44d475a84 | 8fe514d15c340acbd73da359e2db5ad84853d1a4 | /tests/pytests/test_pythia.py | a5fb87dba603dbedc9a78cf91b0d31d2f47f695c | [
"BSD-3-Clause"
]
| permissive | geodynamics/pythia | 1e265f5b50263adf149d102c8c51b501f8ff6f3b | e914bc62ae974b999ce556cb6b34cdbcc17338fc | refs/heads/main | 2023-08-09T17:07:01.497081 | 2023-07-26T17:56:22 | 2023-07-26T17:56:22 | 12,655,880 | 1 | 14 | BSD-3-Clause | 2023-07-26T17:56:24 | 2013-09-06T22:23:49 | Python | UTF-8 | Python | false | false | 3,102 | py | #!/usr/bin/env python3
# ======================================================================
#
# Brad T. Aagaard, U.S. Geological Survey
# Charles A. Williams, GNS Science
# Matthew G. Knepley, University of Chicago
#
# This code was developed as part of the Computational Infrastructure
# for Geodynamics (http://geodynamics.org).
#
# Copyright (c) 2010-2017 University of California, Davis
#
# See COPYING for license information.
#
# ======================================================================
"""Script to run pythia (minus mpi) test suite.
Run `coverage report` to generate a report (included).
Run `coverage html -d DIR` to generate an HTML report in directory `DIR`.
Note: Pyre runs MPI in a subprocess which is not measured by coverage.
"""
import unittest
import sys
sys.path.append("./pyre")
class TestApp(object):
"""Application to run tests.
"""
cov = None
try:
import coverage
src_dirs = [
"pythia.journal",
"pythia.pyre.applications",
"pythia.pyre.components",
"pythia.pyre.filesystem",
"pythia.pyre.inventory",
"pythia.pyre.odb",
"pythia.pyre.parsing",
"pythia.pyre.schedulers",
"pythia.pyre.units",
"pythia.pyre.util",
"pythia.pyre.xml",
]
cov = coverage.Coverage(source=src_dirs)
except ImportError:
pass
def main(self):
"""
Run the application.
"""
if self.cov:
self.cov.start()
success = unittest.TextTestRunner(verbosity=2).run(self._suite()).wasSuccessful()
if not success:
sys.exit(1)
if self.cov:
self.cov.stop()
self.cov.save()
self.cov.report()
self.cov.xml_report(outfile="coverage.xml")
def _suite(self):
"""Setup the test suite.
"""
import pyre.test_units
import pyre.test_inventory
import pyre.test_schedulers
import pyre.test_pyredoc
import pyre.test_nemesis
import journal.test_channels
import journal.test_devices
import journal.test_facilities
test_cases = []
for mod in [
pyre.test_units,
pyre.test_inventory,
pyre.test_schedulers,
pyre.test_pyredoc,
pyre.test_nemesis,
journal.test_channels,
journal.test_devices,
journal.test_facilities,
]:
test_cases += mod.test_classes()
suite = unittest.TestSuite()
for test_case in test_cases:
suite.addTest(unittest.makeSuite(test_case))
return suite
def configureSubcomponents(facility):
"""Configure subcomponents."""
for component in facility.components():
configureSubcomponents(component)
component._configure()
return
# ----------------------------------------------------------------------
if __name__ == '__main__':
TestApp().main()
# End of file
| [
"[email protected]"
]
| |
22903bc455a5026309f424f73b4f58ffb336e15c | dbcd5c2623f81ee9f5476e2bfd1643db848c43cf | /arelle/plugin/validate/EFM/__init__.py | c8b15b4cc8010c364801126b565ccb958a256378 | [
"Apache-2.0"
]
| permissive | Jimmy99/Arelle | a1d887cd848c22b5368fa68afe71b7228fc3912f | 0a5280c9eb228e21338df4b58fdb07a1699667bf | refs/heads/master | 2020-03-27T14:25:28.326685 | 2018-08-23T04:51:57 | 2018-08-23T04:51:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 32,012 | py | '''
Created on Dec 12, 2013
@author: Mark V Systems Limited
(c) Copyright 2013 Mark V Systems Limited, All rights reserved.
Input file parameters may be in JSON (without newlines for pretty printing as below):
[ {"file": "file path to instance or html",
"cik": "1234567890",
"cikNameList": { "cik1": "name1", "cik2":"name2", "cik3":"name3"...},
"submissionType" : "SDR-A",
"exhibitType": "EX-99.K",
"accessionNumber":"0001125840-15-000159" },
{"file": "file 2"...
]
(Accession number is only needed for those EdgarRenderer output transformations of
FilingSummary.xml which require it as a parameter (such as EDGAR's internal workstations,
which have a database that requires accession number as part of the query string to retrieve
a file of a submission.)
On Windows, the input file argument must be specially quoted if passed in via Java
due to a Java bug on Windows shell interface (without the newlines for pretty printing below):
"[{\"file\":\"z:\\Documents\\dir\\gpc_gd1-20130930.htm\",
\"cik\": \"0000350001\",
\"cikNameList\": {\"0000350001\":\"BIG FUND TRUST CO\"},
\"submissionType\":\"SDR-A\", \"exhibitType\":\"EX-99.K SDR.INS\"}]"
'''
import os, io, json, zipfile, logging
jsonIndent = 1 # None for most compact, 0 for left aligned
from decimal import Decimal
from lxml.etree import XML, XMLSyntaxError
from arelle import ModelDocument, ModelValue, XmlUtil, FileSource
from arelle.ModelValue import qname
from arelle.PluginManager import pluginClassMethods # , pluginMethodsForClasses, modulePluginInfos
from arelle.UrlUtil import authority, relativeUri
from arelle.ValidateFilingText import referencedFiles
from .Document import checkDTSdocument
from .Filing import validateFiling
try:
import regex as re
except ImportError:
import re
from collections import defaultdict
def dislosureSystemTypes(disclosureSystem, *args, **kwargs):
# return ((disclosure system name, variable name), ...)
return (("EFM", "EFMplugin"),)
def disclosureSystemConfigURL(disclosureSystem, *args, **kwargs):
return os.path.join(os.path.dirname(__file__), "config.xml")
def validateXbrlStart(val, parameters=None, *args, **kwargs):
val.validateEFMplugin = val.validateDisclosureSystem and getattr(val.disclosureSystem, "EFMplugin", False)
if not (val.validateEFMplugin):
return
val.paramExhibitType = None # e.g., EX-101, EX-201
val.paramFilerIdentifier = None
val.paramFilerIdentifierNames = None
val.paramSubmissionType = None
_cik = _cikList = _cikNameList = _exhibitType = _submissionType = None
if parameters:
# parameter-provided CIKs and registrant names
p = parameters.get(ModelValue.qname("CIK",noPrefixIsNoNamespace=True))
if p and len(p) == 2 and p[1] not in ("null", "None"):
_cik = p[1]
p = parameters.get(ModelValue.qname("cikList",noPrefixIsNoNamespace=True))
if p and len(p) == 2:
_cikList = p[1]
else:
_cikList = []
p = parameters.get(ModelValue.qname("cikNameList",noPrefixIsNoNamespace=True))
if p and len(p) == 2:
_cikNameList = p[1]
p = parameters.get(ModelValue.qname("submissionType",noPrefixIsNoNamespace=True))
if p and len(p) == 2:
_submissionType = p[1]
p = parameters.get(ModelValue.qname("exhibitType",noPrefixIsNoNamespace=True))
if p and len(p) == 2:
_exhibitType = p[1]
# parameters may also come from report entryPoint (such as exhibitType for SDR)
if hasattr(val.modelXbrl.modelManager, "efmFiling"):
efmFiling = val.modelXbrl.modelManager.efmFiling
if efmFiling.reports: # possible that there are no reports
entryPoint = efmFiling.reports[-1].entryPoint
_cik = entryPoint.get("cik", None) or _cik
_cikList = entryPoint.get("cikList", None) or _cikList
_cikNameList = entryPoint.get("cikNameList",None) or _cikNameList
_exhibitType = entryPoint.get("exhibitType", None) or _exhibitType
# exhibitType may be an attachmentType, if so remove ".INS"
if _exhibitType and _exhibitType.endswith(".INS"):
_exhibitType = _exhibitType[:-4]
_submissionType = entryPoint.get("submissionType", None) or _submissionType
if _cik and _cik not in ("null", "None"):
val.paramFilerIdentifier = _cik
if isinstance(_cikNameList, dict):
# {cik1: name1, cik2:name2, ...} provided by json cikNameList dict parameter
val.paramFilerIdentifierNames = _cikNameList
else:
# cik1, cik2, cik3 in cikList and name1|Edgar|name2|Edgar|name3 in cikNameList strings
_filerIdentifiers = _cikList.split(",") if _cikList else []
_filerNames = _cikNameList.split("|Edgar|") if _cikNameList else []
if _filerIdentifiers:
if len(_filerNames) not in (0, len(_filerIdentifiers)):
val.modelXbrl.error(("EFM.6.05.24.parameters", "GFM.3.02.02"),
_("parameters for cikList and cikNameList different list entry counts: %(cikList)s, %(cikNameList)s"),
modelXbrl=val.modelXbrl, cikList=_filerIdentifiers, cikNameList=_filerNames)
elif _filerNames:
val.paramFilerIdentifierNames=dict((_cik,_filerNames[i])
for i, _cik in enumerate(_filerIdentifiers))
else:
val.paramFilerIdentifierNames=dict((_cik,None) for _cik in _filerIdentifiers)
elif _filerNames:
val.modelXbrl.error(("EFM.6.05.24.parameters", "GFM.3.02.02"),
_("parameters for cikNameList provided but missing corresponding cikList: %(cikNameList)s"),
modelXbrl=val.modelXbrl, cikNameList=_filerNames)
if _exhibitType:
val.paramExhibitType = _exhibitType
if _submissionType:
val.paramSubmissionType = _submissionType
if val.paramExhibitType == "EX-2.01": # only applicable for edgar production and parameterized testcases
val.EFM60303 = "EFM.6.23.01"
else:
val.EFM60303 = "EFM.6.03.03"
if any((concept.qname.namespaceURI in val.disclosureSystem.standardTaxonomiesDict and concept.modelDocument.inDTS)
for concept in val.modelXbrl.nameConcepts.get("UTR",())):
val.validateUTR = True
modelManager = val.modelXbrl.modelManager
if hasattr(modelManager, "efmFiling"):
efmFiling = modelManager.efmFiling
efmFiling.submissionType = val.paramSubmissionType
def validateXbrlFinally(val, *args, **kwargs):
if not (val.validateEFMplugin):
return
modelXbrl = val.modelXbrl
_statusMsg = _("validating {0} filing rules").format(val.disclosureSystem.name)
modelXbrl.profileActivity()
modelXbrl.modelManager.showStatus(_statusMsg)
validateFiling(val, modelXbrl, isEFM=True)
modelXbrl.profileActivity(_statusMsg, minTimeToShow=0.0)
modelXbrl.modelManager.showStatus(None)
def validateXbrlDtsDocument(val, modelDocument, isFilingDocument, *args, **kwargs):
if not (val.validateEFMplugin):
return
checkDTSdocument(val, modelDocument, isFilingDocument)
def filingStart(cntlr, options, filesource, entrypointFiles, sourceZipStream=None, responseZipStream=None, *args, **kwargs):
modelManager = cntlr.modelManager
# cntlr.addToLog("TRACE EFM filing start val={} plugin={}".format(modelManager.validateDisclosureSystem, getattr(modelManager.disclosureSystem, "EFMplugin", False)))
if modelManager.validateDisclosureSystem and getattr(modelManager.disclosureSystem, "EFMplugin", False):
# cntlr.addToLog("TRACE EFM filing start 2 classes={} moduleInfos={}".format(pluginMethodsForClasses, modulePluginInfos))
modelManager.efmFiling = Filing(cntlr, options, filesource, entrypointFiles, sourceZipStream, responseZipStream)
# this event is called for filings (of instances) as well as test cases, for test case it just keeps options accessible
for pluginXbrlMethod in pluginClassMethods("EdgarRenderer.Filing.Start"):
pluginXbrlMethod(cntlr, options, entrypointFiles, modelManager.efmFiling)
# check if any entrypointFiles have an encryption is specified
if isinstance(entrypointFiles, list):
for pluginXbrlMethod in pluginClassMethods("Security.Crypt.Filing.Start"):
pluginXbrlMethod(modelManager.efmFiling, options, filesource, entrypointFiles, sourceZipStream)
def guiTestcasesStart(cntlr, modelXbrl, *args, **kwargs):
modelManager = cntlr.modelManager
if (cntlr.hasGui and modelXbrl.modelDocument.type in ModelDocument.Type.TESTCASETYPES and
modelManager.validateDisclosureSystem and getattr(modelManager.disclosureSystem, "EFMplugin", False)):
modelManager.efmFiling = Filing(cntlr)
def testcasesStart(cntlr, options, modelXbrl, *args, **kwargs):
# a test or RSS cases run is starting, in which case testcaseVariation... events have unique efmFilings
modelManager = cntlr.modelManager
if (hasattr(modelManager, "efmFiling") and
modelXbrl.modelDocument.type in ModelDocument.Type.TESTCASETYPES):
efmFiling = modelManager.efmFiling
efmFiling.close() # not needed, dereference
del modelManager.efmFiling
if not hasattr(modelXbrl, "efmOptions") and options: # may have already been set by EdgarRenderer in gui startup
modelXbrl.efmOptions = options # save options in testcase's modelXbrl
def xbrlLoaded(cntlr, options, modelXbrl, entryPoint, *args, **kwargs):
# cntlr.addToLog("TRACE EFM xbrl loaded")
modelManager = cntlr.modelManager
if hasattr(modelManager, "efmFiling"):
if (modelXbrl.modelDocument.type == ModelDocument.Type.INSTANCE or
modelXbrl.modelDocument.type == ModelDocument.Type.INLINEXBRL):
efmFiling = modelManager.efmFiling
efmFiling.addReport(modelXbrl)
_report = efmFiling.reports[-1]
_report.entryPoint = entryPoint
if "accessionNumber" in entryPoint and not hasattr(efmFiling, "accessionNumber"):
efmFiling.accessionNumber = entryPoint["accessionNumber"]
if "exhibitType" in entryPoint and not hasattr(_report, "exhibitType"):
_report.exhibitType = entryPoint["exhibitType"]
efmFiling.arelleUnitTests = modelXbrl.arelleUnitTests.copy() # allow unit tests to be used after instance processing finished
elif modelXbrl.modelDocument.type == ModelDocument.Type.RSSFEED:
testcasesStart(cntlr, options, modelXbrl)
def xbrlRun(cntlr, options, modelXbrl, *args, **kwargs):
# cntlr.addToLog("TRACE EFM xbrl run")
modelManager = cntlr.modelManager
if (hasattr(modelManager, "efmFiling") and
(modelXbrl.modelDocument.type == ModelDocument.Type.INSTANCE or
modelXbrl.modelDocument.type == ModelDocument.Type.INLINEXBRL)):
efmFiling = modelManager.efmFiling
_report = efmFiling.reports[-1]
if True: # HF TESTING: not (options.abortOnMajorError and len(modelXbrl.errors) > 0):
for pluginXbrlMethod in pluginClassMethods("EdgarRenderer.Xbrl.Run"):
pluginXbrlMethod(cntlr, options, modelXbrl, modelManager.efmFiling, _report)
def filingValidate(cntlr, options, filesource, entrypointFiles, sourceZipStream=None, responseZipStream=None, *args, **kwargs):
# cntlr.addToLog("TRACE EFM xbrl validate")
modelManager = cntlr.modelManager
if hasattr(modelManager, "efmFiling"):
efmFiling = modelManager.efmFiling
reports = efmFiling.reports
# check for dup inline and regular instances
# SDR checks
if any(report.documentType and report.documentType.endswith(" SDR")
for report in reports):
_kSdrs = [r for r in reports if r.documentType == "K SDR"]
if not _kSdrs and efmFiling.submissionType in ("SDR", "SDR-A"):
efmFiling.error("EFM.6.03.08.sdrHasNoKreports",
_("SDR filing has no K SDR reports"))
elif len(_kSdrs) > 1:
efmFiling.error("EFM.6.03.08.sdrHasMultipleKreports",
_("SDR filing has multiple K SDR reports for %(entities)s"),
{"entities": ", ".join(r.entityRegistrantName for r in _kSdrs)},
(r.url for r in _kSdrs))
_lSdrEntityReports = defaultdict(list)
for r in reports:
if r.documentType == "L SDR":
_lSdrEntityReports[r.entityCentralIndexKey if r.entityCentralIndexKey != "0000000000"
else r.entityRegistrantName].append(r)
for lSdrEntity, lSdrEntityReports in _lSdrEntityReports.items():
if len(lSdrEntityReports) > 1:
efmFiling.error("EFM.6.05.24.multipleLSdrReportsForEntity",
_("Filing entity has multiple L SDR reports: %(entity)s"),
{"entity": lSdrEntity},
(r.url for r in lSdrEntityReports))
# check for required extension files (schema, pre, lbl)
for r in reports:
hasSch = hasPre = hasCal = hasLbl = False
for f in r.reportedFiles:
if f.endswith(".xsd"): hasSch = True
elif f.endswith("_pre.xml"): hasPre = True
elif f.endswith("_cal.xml"): hasCal = True
elif f.endswith("_lab.xml"): hasLbl = True
missingFiles = ""
if not hasSch: missingFiles += ", schema"
if not hasPre: missingFiles += ", presentation linkbase"
if not hasLbl: missingFiles += ", label linkbase"
if missingFiles:
efmFiling.error("EFM.6.03.02.sdrMissingFiles",
_("%(docType)s report missing files: %(missingFiles)s"),
{"docType": r.documentType, "missingFiles": missingFiles[2:]},
r.url)
if not r.hasUsGaapTaxonomy:
efmFiling.error("EFM.6.03.02.sdrMissingStandardSchema",
_("%(documentType)s submission must use a US GAAP standard schema"),
{"documentType": r.documentType},
r.url)
if hasattr(r, "exhibitType") and r.exhibitType not in ("EX-99.K SDR", "EX-99.L SDR", "EX-99.K SDR.INS", "EX-99.L SDR.INS"):
efmFiling.error("EFM.6.03.02.sdrHasNonSdrExhibit",
_("An SDR filling contains non-SDR exhibit type %(exhibitType)s document type %(documentType)s"),
{"documentType": r.documentType, "exhibitType": r.exhibitType},
r.url)
_exhibitTypeReports = defaultdict(list)
for r in reports:
if hasattr(r, "exhibitType") and r.exhibitType:
_exhibitTypeReports[r.exhibitType.partition(".")[0]].append(r)
if len(_exhibitTypeReports) > 1:
efmFiling.error("EFM.6.03.08",
_("A filling contains multiple exhibit types %(exhibitTypes)s."),
{"exhibitTypes": ", ".join(_exhibitTypeReports.keys())},
[r.url for r in reports])
for _exhibitType, _exhibitReports in _exhibitTypeReports.items():
if _exhibitType not in ("EX-99",) and len(_exhibitReports) > 1:
efmFiling.error("EFM.6.03.08.moreThanOneIns",
_("A filing contains more than one instance for exhibit type %(exhibitType)s."),
{"exhibitType": _exhibitType},
[r.url for r in _exhibitReports])
def roleTypeName(modelXbrl, roleURI, *args, **kwargs):
modelManager = modelXbrl.modelManager
if hasattr(modelManager, "efmFiling"):
modelRoles = modelXbrl.roleTypes.get(roleURI, ())
if modelRoles and modelRoles[0].definition:
return re.sub(r"\{\s*(transposed|unlabeled|elements)\s*\}","", modelRoles[0].definition.rpartition('-')[2], flags=re.I).strip()
return roleURI
return None
def filingEnd(cntlr, options, filesource, entrypointFiles, sourceZipStream=None, responseZipStream=None, *args, **kwargs):
#cntlr.addToLog("TRACE EFM filing end")
modelManager = cntlr.modelManager
if hasattr(modelManager, "efmFiling"):
for pluginXbrlMethod in pluginClassMethods("EdgarRenderer.Filing.End"):
pluginXbrlMethod(cntlr, options, filesource, modelManager.efmFiling, sourceZipStream=sourceZipStream)
#cntlr.addToLog("TRACE EdgarRenderer end")
# save JSON file of instances and referenced documents
filingReferences = dict((report.url, report)
for report in modelManager.efmFiling.reports)
modelManager.efmFiling.close()
del modelManager.efmFiling
#cntlr.addToLog("TRACE EFN filing end complete")
def rssItemXbrlLoaded(modelXbrl, rssWatchOptions, rssItem, *args, **kwargs):
# Validate of RSS feed item (simulates filing & cmd line load events
if hasattr(rssItem.modelXbrl, "efmOptions"):
testcaseVariationXbrlLoaded(rssItem.modelXbrl, modelXbrl)
def rssItemValidated(val, modelXbrl, rssItem, *args, **kwargs):
# After validate of RSS feed item (simulates report and end of filing events)
if hasattr(rssItem.modelXbrl, "efmOptions"):
testcaseVariationValidated(rssItem.modelXbrl, modelXbrl)
def testcaseVariationXbrlLoaded(testcaseModelXbrl, instanceModelXbrl, modelTestcaseVariation, *args, **kwargs):
# Validate of RSS feed item or testcase variation (simulates filing & cmd line load events
modelManager = instanceModelXbrl.modelManager
if (hasattr(testcaseModelXbrl, "efmOptions") and
modelManager.validateDisclosureSystem and getattr(modelManager.disclosureSystem, "EFMplugin", False) and
(instanceModelXbrl.modelDocument.type == ModelDocument.Type.INSTANCE or
instanceModelXbrl.modelDocument.type == ModelDocument.Type.INLINEXBRL)):
cntlr = modelManager.cntlr
options = testcaseModelXbrl.efmOptions
entrypointFiles = [{"file":instanceModelXbrl.modelDocument.uri}]
if not hasattr(modelManager, "efmFiling"): # first instance of filing
modelManager.efmFiling = Filing(cntlr, options, instanceModelXbrl.fileSource, entrypointFiles, None, None, instanceModelXbrl.errorCaptureLevel)
# this event is called for filings (of instances) as well as test cases, for test case it just keeps options accessible
for pluginXbrlMethod in pluginClassMethods("EdgarRenderer.Filing.Start"):
pluginXbrlMethod(cntlr, options, entrypointFiles, modelManager.efmFiling)
modelManager.efmFiling.addReport(instanceModelXbrl)
_report = modelManager.efmFiling.reports[-1]
_report.entryPoint = entrypointFiles[0]
modelManager.efmFiling.arelleUnitTests = instanceModelXbrl.arelleUnitTests.copy() # allow unit tests to be used after instance processing finished
# check for parameters on instance
for _instanceElt in XmlUtil.descendants(modelTestcaseVariation, "*", "instance", "readMeFirst", "true", False):
if instanceModelXbrl.modelDocument.uri.endswith(_instanceElt.text):
if _instanceElt.get("exhibitType"):
_report.entryPoint["exhibitType"] = _report.exhibitType = _instanceElt.get("exhibitType")
break
def testcaseVariationXbrlValidated(testcaseModelXbrl, instanceModelXbrl, *args, **kwargs):
modelManager = instanceModelXbrl.modelManager
if (hasattr(modelManager, "efmFiling") and
(instanceModelXbrl.modelDocument.type == ModelDocument.Type.INSTANCE or
instanceModelXbrl.modelDocument.type == ModelDocument.Type.INLINEXBRL)):
efmFiling = modelManager.efmFiling
_report = modelManager.efmFiling.reports[-1]
for pluginXbrlMethod in pluginClassMethods("EdgarRenderer.Xbrl.Run"):
pluginXbrlMethod(modelManager.cntlr, efmFiling.options, instanceModelXbrl, efmFiling, _report)
def testcaseVariationValidated(testcaseModelXbrl, instanceModelXbrl, errors=None, *args, **kwargs):
modelManager = instanceModelXbrl.modelManager
if (hasattr(modelManager, "efmFiling") and
(instanceModelXbrl.modelDocument.type == ModelDocument.Type.INSTANCE or
instanceModelXbrl.modelDocument.type == ModelDocument.Type.INLINEXBRL)):
efmFiling = modelManager.efmFiling
if isinstance(errors, list):
del efmFiling.errors[:]
# validate report types
filingValidate(efmFiling.cntlr, efmFiling.options, efmFiling.filesource, efmFiling.entrypointfiles, efmFiling.sourceZipStream, efmFiling.responseZipStream) # validate each report
if isinstance(errors, list):
errors.extend(efmFiling.errors)
# simulate filingEnd
filingEnd(modelManager.cntlr, efmFiling.options, modelManager.filesource, [])
# flush logfile (assumed to be buffered, empty the buffer for next filing)
testcaseModelXbrl.modelManager.cntlr.logHandler.flush()
def fileSourceFile(cntlr, filepath, binary, stripDeclaration):
modelManager = cntlr.modelManager
if hasattr(modelManager, "efmFiling"):
for pluginXbrlMethod in pluginClassMethods("Security.Crypt.FileSource.File"):
_file = pluginXbrlMethod(cntlr, modelManager.efmFiling, filepath, binary, stripDeclaration)
if _file is not None:
return _file
return None
def fileSourceExists(cntlr, filepath):
modelManager = cntlr.modelManager
if hasattr(modelManager, "efmFiling"):
for pluginXbrlMethod in pluginClassMethods("Security.Crypt.FileSource.Exists"):
_existence = pluginXbrlMethod(modelManager.efmFiling, filepath)
if _existence is not None:
return _existence
return None
class Filing:
def __init__(self, cntlr, options=None, filesource=None, entrypointfiles=None, sourceZipStream=None, responseZipStream=None, errorCaptureLevel=None):
self.cntlr = cntlr
self.options = options
self.filesource = filesource
self.entrypointfiles = entrypointfiles
self.sourceZipStream = sourceZipStream
self.responseZipStream = responseZipStream
self.submissionType = None
self.reports = []
self.renderedFiles = set() # filing-level rendered files
self.reportZip = None
if responseZipStream:
self.setReportZipStreamMode('w')
else:
try: #zipOutputFile only present with EdgarRenderer plugin options
if options and options.zipOutputFile:
if not os.path.isabs(options.zipOutputFile):
zipOutDir = os.path.dirname(filesource.basefile)
zipOutFile = os.path.join(zipOutDir,options.zipOutputFile)
else:
zipOutFile = options.zipOutputFile
self.reportZip = zipfile.ZipFile(zipOutFile, 'w', zipfile.ZIP_DEFLATED, True)
except AttributeError:
self.reportZip = None
self.errorCaptureLevel = errorCaptureLevel or logging._checkLevel("INCONSISTENCY")
self.errors = []
self.arelleUnitTests = {} # copied from each instance loaded
for pluginXbrlMethod in pluginClassMethods("Security.Crypt.Init"):
pluginXbrlMethod(self, options, filesource, entrypointfiles, sourceZipStream)
def setReportZipStreamMode(self, mode): # mode is 'w', 'r', 'a'
# required to switch in-memory zip stream between write, read, and append modes
if self.responseZipStream:
if self.reportZip: # already open, close and reseek underlying stream
self.reportZip.close()
self.responseZipStream.seek(0)
self.reportZip = zipfile.ZipFile(self.responseZipStream, mode, zipfile.ZIP_DEFLATED, True)
def close(self):
''' MetaFiling.json (not needed?) list of all files written out
_reports = dict((report.basename, report.json) for report in self.reports)
_reports["filing"] = {"renderedFiles": sorted(self.renderedFiles)}
if self.options.logFile:
_reports["filing"]["logFile"] = self.options.logFile
if self.reportZip:
self.reportZip.writestr("MetaFiling.json", json.dumps(_reports, sort_keys=True, indent=jsonIndent))
else:
try:
if self.options.reportsFolder:
with open(os.path.join(self.options.reportsFolder, "MetaFiling.json"), mode='w') as f:
json.dump(_reports, f, sort_keys=True, indent=jsonIndent)
except AttributeError: # no reportsFolder attribute
pass
'''
if self.options and self.options.logFile:
if self.reportZip and self.reportZip.fp is not None: # open zipfile
_logFile = self.options.logFile
_logFileExt = os.path.splitext(_logFile)[1]
if _logFileExt == ".xml":
_logStr = self.cntlr.logHandler.getXml(clearLogBuffer=False) # may be saved to file later or flushed in web interface
elif _logFileExt == ".json":
_logStr = self.cntlr.logHandler.getJson(clearLogBuffer=False)
else: # no ext or _logFileExt == ".txt":
_logStr = self.cntlr.logHandler.getText(clearLogBuffer=False)
self.reportZip.writestr(_logFile, _logStr)
#else:
# with open(_logFile, "wt", encoding="utf-8") as fh:
# fh.write(_logStr)
if self.reportZip: # ok to close if already closed
self.reportZip.close()
self.__dict__.clear() # dereference all contents
def addReport(self, modelXbrl):
_report = Report(modelXbrl)
self.reports.append(_report)
def error(self, messageCode, message, messageArgs=None, file=None):
if file and len(self.entrypointfiles) > 0:
# relativize file(s)
if isinstance(file, _STR_BASE):
file = (file,)
if isinstance(self.entrypointfiles[0], dict):
_baseFile = self.entrypointfiles[0].get("file", ".")
else:
_baseFile = self.entrypointfiles[0]
relFiles = [relativeUri(_baseFile, f) for f in file]
else:
relFiles = None
self.cntlr.addToLog(message, messageCode=messageCode, messageArgs=messageArgs, file=relFiles, level="ERROR")
self.errors.append(messageCode)
@property
def hasInlineReport(self):
return any(getattr(report, "isInline", False) for report in self.reports)
def writeFile(self, filepath, data):
# write the data (string or binary)
for pluginXbrlMethod in pluginClassMethods("Security.Crypt.Write"):
if pluginXbrlMethod(self, filepath, data):
return
with io.open(filepath, "wt" if isinstance(data, str) else "wb") as fh:
fh.write(data)
class Report:
REPORT_ATTRS = {"DocumentType", "DocumentPeriodEndDate", "EntityRegistrantName",
"EntityCentralIndexKey", "CurrentFiscalYearEndDate", "DocumentFiscalYearFocus"}
def lc(self, name):
return name[0].lower() + name[1:]
def __init__(self, modelXbrl):
self.isInline = modelXbrl.modelDocument.type == ModelDocument.Type.INLINEXBRL
self.url = modelXbrl.modelDocument.uri
self.basename = modelXbrl.modelDocument.basename
self.filepath = modelXbrl.modelDocument.filepath
for attrName in Report.REPORT_ATTRS:
setattr(self, self.lc(attrName), None)
self.instanceName = modelXbrl.modelDocument.basename
for f in modelXbrl.facts:
cntx = f.context
if cntx is not None and cntx.isStartEndPeriod and not cntx.hasSegment:
if f.qname is not None and f.qname.localName in Report.REPORT_ATTRS and f.xValue:
setattr(self, self.lc(f.qname.localName), f.xValue)
self.reportedFiles = {modelXbrl.modelDocument.basename} | referencedFiles(modelXbrl)
self.renderedFiles = set()
self.hasUsGaapTaxonomy = False
sourceDir = os.path.dirname(modelXbrl.modelDocument.filepath)
# add referenced files that are xbrl-referenced local documents
refDocUris = set()
def addRefDocs(doc):
for refDoc in doc.referencesDocument.keys():
_file = refDoc.filepath
if refDoc.uri not in refDocUris:
refDocUris.add(refDoc.uri)
if refDoc.filepath and refDoc.filepath.startswith(sourceDir):
self.reportedFiles.add(refDoc.filepath[len(sourceDir)+1:]) # add file name within source directory
addRefDocs(refDoc)
if refDoc.type == ModelDocument.Type.SCHEMA and refDoc.targetNamespace:
nsAuthority = authority(refDoc.targetNamespace, includeScheme=False)
nsPath = refDoc.targetNamespace.split('/')
if len(nsPath) > 2:
if nsAuthority in ("fasb.org", "xbrl.us") and nsPath[-2] == "us-gaap":
self.hasUsGaapTaxonomy = True
addRefDocs(modelXbrl.modelDocument)
def close(self):
self.__dict__.clear() # dereference all contents
@property
def json(self): # stringify un-jsonable attributes
return dict((name, value if isinstance(value,(str,int,float,Decimal,list,dict))
else sorted(value) if isinstance(value, set)
else str(value))
for name, value in self.__dict__.items())
__pluginInfo__ = {
# Do not use _( ) in pluginInfo itself (it is applied later, after loading
'name': 'Validate EFM',
'version': '1.18.2', # SEC EDGAR release 18.2
'description': '''EFM Validation.''',
'license': 'Apache-2',
'import': ('transforms/SEC',), # SEC inline can use SEC transformations
'author': 'Mark V Systems',
'copyright': '(c) Copyright 2013-15 Mark V Systems Limited, All rights reserved.',
# classes of mount points (required)
'DisclosureSystem.Types': dislosureSystemTypes,
'DisclosureSystem.ConfigURL': disclosureSystemConfigURL,
'Validate.XBRL.Start': validateXbrlStart,
'Validate.XBRL.Finally': validateXbrlFinally,
'Validate.XBRL.DTS.document': validateXbrlDtsDocument,
'ModelXbrl.RoleTypeName': roleTypeName,
'CntlrCmdLine.Filing.Start': filingStart,
'CntlrWinMain.Xbrl.Loaded': guiTestcasesStart,
'Testcases.Start': testcasesStart,
'CntlrCmdLine.Xbrl.Loaded': xbrlLoaded,
'CntlrCmdLine.Xbrl.Run': xbrlRun,
'CntlrCmdLine.Filing.Validate': filingValidate,
'CntlrCmdLine.Filing.End': filingEnd,
'RssItem.Xbrl.Loaded': rssItemXbrlLoaded,
'Validate.RssItem': rssItemValidated,
'TestcaseVariation.Xbrl.Loaded': testcaseVariationXbrlLoaded,
'TestcaseVariation.Xbrl.Validated': testcaseVariationXbrlValidated,
'TestcaseVariation.Validated': testcaseVariationValidated,
'FileSource.File': fileSourceFile,
'FileSource.Exists': fileSourceExists
}
| [
"[email protected]"
]
| |
ba6e634f7f8c835e9c3a035ce1ce13c3e566488e | 2d45111cf6d895f5a197e5465f3dc3267931883f | /examples/model-correlations/src/pdf.py | 6b78afe36965dfbc2d2ba6dc5e09c64094df4011 | [
"MIT"
]
| permissive | ahwolf/data-workflow | 01de0a7633225da3e40e7f47bd9c87d60afaa2f4 | ef071f67e1d6f48a533309eea10847e6378a32f2 | refs/heads/master | 2021-01-22T14:46:31.161904 | 2014-02-19T20:36:11 | 2014-02-19T20:36:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 315 | py | """Visualize the distribution of values
"""
import sys
import csv
import matplotlib.pyplot as plot
import loaders
tsv_filename = sys.argv[1]
col = int(sys.argv[2])
data = loaders.data_from_tsv(tsv_filename, [col])[0]
scatter = plot.hist(data, 30, normed=1, facecolor='g', alpha=0.6)
plot.savefig(sys.argv[3])
| [
"[email protected]"
]
| |
e7990a5346d87a6f6a1ec12bd2d3f45889dea91d | d16446123405b7ebe3811f63a9d908f3390fd9d9 | /py2exe/build/bdist.win32/winexe/temp/mlpy.wavelet._uwt.py | d2debc4b055af12f9c84b4caedf744756369d59d | []
| no_license | minoTour/ampbalance | 998d690a1592c5b8e81f6822f659a7755f86cd44 | d318f060e2c06d10fd3987181e53c550321482f1 | refs/heads/master | 2016-09-10T18:22:16.941311 | 2015-07-24T12:52:03 | 2015-07-24T12:52:03 | 38,117,971 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 354 | py |
def __load():
import imp, os, sys
try:
dirname = os.path.dirname(__loader__.archive)
except NameError:
dirname = sys.prefix
path = os.path.join(dirname, 'mlpy.wavelet._uwt.pyd')
#print "py2exe extension module", __name__, "->", path
mod = imp.load_dynamic(__name__, path)
## mod.frozen = 1
__load()
del __load
| [
"[email protected]"
]
| |
ac122184616c16ed7758b86049ac5088f41ea720 | a1c8731a8527872042bd46340d8d3e6d47596732 | /programming-laboratory-I/8nvp/inteiros.py | e92e810ee018872c571149249f4d17f14de93801 | [
"MIT"
]
| permissive | MisaelAugusto/computer-science | bbf98195b0ee954a7ffaf58e78f4a47b15069314 | d21335a2dc824b54ffe828370f0e6717fd0c7c27 | refs/heads/master | 2022-12-04T08:21:16.052628 | 2020-08-31T13:00:04 | 2020-08-31T13:00:04 | 287,621,838 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 239 | py | # coding: utf-8
# Aluno: Misael Augusto
# Matrícula: 117110525
# Problema: Inteiros Positivos Divisíveis
A = int(raw_input())
B = int(raw_input())
K = int(raw_input())
for i in range(1, K + 1):
if i % A == 0 and i % B == 0:
print i
| [
"[email protected]"
]
| |
1563132ab1e27fa9a5cdfe81eed015ff23a5b1c3 | 6fcfb638fa725b6d21083ec54e3609fc1b287d9e | /python/lazyprogrammer_machine_learning_examples/machine_learning_examples-master/rnn_class/batch_wiki.py | c65bbf539a79ec9ad0b266adf4b900adb5868bb5 | []
| no_license | LiuFang816/SALSTM_py_data | 6db258e51858aeff14af38898fef715b46980ac1 | d494b3041069d377d6a7a9c296a14334f2fa5acc | refs/heads/master | 2022-12-25T06:39:52.222097 | 2019-12-12T08:49:07 | 2019-12-12T08:49:07 | 227,546,525 | 10 | 7 | null | 2022-12-19T02:53:01 | 2019-12-12T07:29:39 | Python | UTF-8 | Python | false | false | 6,466 | py | # https://deeplearningcourses.com/c/deep-learning-recurrent-neural-networks-in-python
# https://udemy.com/deep-learning-recurrent-neural-networks-in-python
import sys
import theano
import theano.tensor as T
import numpy as np
import matplotlib.pyplot as plt
import json
from datetime import datetime
from sklearn.utils import shuffle
from batch_gru import GRU
# from batch_lstm import LSTM
from util import init_weight, get_wikipedia_data
class RNN:
def __init__(self, D, hidden_layer_sizes, V):
self.hidden_layer_sizes = hidden_layer_sizes
self.D = D
self.V = V
def fit(self, X, learning_rate=10e-5, mu=0.99, epochs=10, batch_sz=100, show_fig=True, activation=T.nnet.relu, RecurrentUnit=GRU):
D = self.D
V = self.V
N = len(X)
We = init_weight(V, D)
self.hidden_layers = []
Mi = D
for Mo in self.hidden_layer_sizes:
ru = RecurrentUnit(Mi, Mo, activation)
self.hidden_layers.append(ru)
Mi = Mo
Wo = init_weight(Mi, V)
bo = np.zeros(V)
self.We = theano.shared(We)
self.Wo = theano.shared(Wo)
self.bo = theano.shared(bo)
self.params = [self.We, self.Wo, self.bo]
for ru in self.hidden_layers:
self.params += ru.params
thX = T.ivector('X') # will represent multiple batches concatenated
thY = T.ivector('Y') # represents next word
thStartPoints = T.ivector('start_points')
Z = self.We[thX]
for ru in self.hidden_layers:
Z = ru.output(Z, thStartPoints)
py_x = T.nnet.softmax(Z.dot(self.Wo) + self.bo)
prediction = T.argmax(py_x, axis=1)
cost = -T.mean(T.log(py_x[T.arange(thY.shape[0]), thY]))
grads = T.grad(cost, self.params)
dparams = [theano.shared(p.get_value()*0) for p in self.params]
updates = [
(p, p + mu*dp - learning_rate*g) for p, dp, g in zip(self.params, dparams, grads)
] + [
(dp, mu*dp - learning_rate*g) for dp, g in zip(dparams, grads)
]
# self.predict_op = theano.function(inputs=[thX, thStartPoints], outputs=prediction)
self.train_op = theano.function(
inputs=[thX, thY, thStartPoints],
outputs=[cost, prediction],
updates=updates
)
costs = []
n_batches = N / batch_sz
for i in xrange(epochs):
t0 = datetime.now()
X = shuffle(X)
n_correct = 0
n_total = 0
cost = 0
for j in xrange(n_batches):
# construct input sequence and output sequence as
# concatenatation of multiple input sequences and output sequences
# input X should be a list of 2-D arrays or one 3-D array
# N x T(n) x D - batch size x sequence length x num features
# sequence length can be variable
sequenceLengths = []
input_sequence = []
output_sequence = []
for k in xrange(j*batch_sz, (j+1)*batch_sz):
# don't always add the end token
if np.random.random() < 0.01 or len(X[k]) <= 1:
input_sequence += [0] + X[k]
output_sequence += X[k] + [1]
sequenceLengths.append(len(X[k]) + 1)
else:
input_sequence += [0] + X[k][:-1]
output_sequence += X[k]
sequenceLengths.append(len(X[k]))
n_total += len(output_sequence)
startPoints = np.zeros(len(output_sequence), dtype=np.int32)
last = 0
for length in sequenceLengths:
startPoints[last] = 1
last += length
c, p = self.train_op(input_sequence, output_sequence, startPoints)
cost += c
for pj, xj in zip(p, output_sequence):
if pj == xj:
n_correct += 1
if j % 1 == 0:
sys.stdout.write("j/n_batches: %d/%d correct rate so far: %f\r" % (j, n_batches, float(n_correct)/n_total))
sys.stdout.flush()
print "i:", i, "cost:", cost, "correct rate:", (float(n_correct)/n_total), "time for epoch:", (datetime.now() - t0)
costs.append(cost)
if show_fig:
plt.plot(costs)
plt.show()
def train_wikipedia(we_file='word_embeddings.npy', w2i_file='wikipedia_word2idx.json', RecurrentUnit=GRU):
# there are 32 files
sentences, word2idx = get_wikipedia_data(n_files=10, n_vocab=2000)
print "finished retrieving data"
print "vocab size:", len(word2idx), "number of sentences:", len(sentences)
rnn = RNN(30, [30], len(word2idx))
rnn.fit(sentences, learning_rate=2*10e-5, epochs=10, show_fig=True, activation=T.nnet.relu)
np.save(we_file, rnn.We.get_value())
with open(w2i_file, 'w') as f:
json.dump(word2idx, f)
def find_analogies(w1, w2, w3, we_file='word_embeddings.npy', w2i_file='wikipedia_word2idx.json'):
We = np.load(we_file)
with open(w2i_file) as f:
word2idx = json.load(f)
king = We[word2idx[w1]]
man = We[word2idx[w2]]
woman = We[word2idx[w3]]
v0 = king - man + woman
def dist1(a, b):
return np.linalg.norm(a - b)
def dist2(a, b):
return 1 - a.dot(b) / (np.linalg.norm(a) * np.linalg.norm(b))
for dist, name in [(dist1, 'Euclidean'), (dist2, 'cosine')]:
min_dist = float('inf')
best_word = ''
for word, idx in word2idx.iteritems():
if word not in (w1, w2, w3):
v1 = We[idx]
d = dist(v0, v1)
if d < min_dist:
min_dist = d
best_word = word
print "closest match by", name, "distance:", best_word
print w1, "-", w2, "=", best_word, "-", w3
if __name__ == '__main__':
we = 'working_files/batch_gru_word_embeddings.npy'
w2i = 'working_files/batch_wikipedia_word2idx.json'
train_wikipedia(we, w2i, RecurrentUnit=GRU)
find_analogies('king', 'man', 'woman', we, w2i)
find_analogies('france', 'paris', 'london', we, w2i)
find_analogies('france', 'paris', 'rome', we, w2i)
find_analogies('paris', 'france', 'italy', we, w2i)
| [
"[email protected]"
]
| |
125a3d43669995a8afa8484e131969badcf4fe7d | d194790838971c58046cc52d1de96ca207e78441 | /example/website/master.py | 8c80e078fe51caa087686b1f335f9aeed723f297 | [
"BSD-2-Clause"
]
| permissive | CIRCL/bgpranking-redis-api | 460c259b51505b7b59d04f048892b69b79ffcc50 | 7b80c44e291169b8ce849cdb51beb618b96f2386 | refs/heads/master | 2021-01-18T22:36:49.576244 | 2016-05-02T13:21:02 | 2016-05-02T13:21:02 | 6,886,178 | 15 | 5 | BSD-2-Clause | 2017-12-11T14:31:54 | 2012-11-27T15:57:31 | Python | UTF-8 | Python | false | false | 8,797 | py | # -*- coding: utf-8 -*-
"""
View class of the website
~~~~~~~~~~~~~~~~~~~~~~~~~
The website respects the MVC design pattern and this class is the view.
"""
import os
import cherrypy
from Cheetah.Template import Template
import cgi
import csv
import StringIO
from csv import DictReader
import urllib2
import json
from cherrypy import _cperror
import master_controler
from pubsublogger import publisher
def merge_csvs(asns):
url = 'http://{host}:{port}/csv/'.format(
host = cherrypy.config.get('server.socket_host'),
port = cherrypy.config.get('server.socket_port'))
asns = json.loads(asns)
if asns[0] == 0:
return json.dumps('')
temp_dict = {}
no_entries = []
for asn in asns:
try:
f = urllib2.urlopen(url + asn)
for line in DictReader(f):
date = line['day']
rank = line['rank']
if temp_dict.get(date) is None:
temp_dict[date] = {}
temp_dict[date][asn] = rank
except:
no_entries += asn
to_return = 'date,' + ','.join(asns) + '\n'
for date, entries in temp_dict.iteritems():
to_return += date
for asn in asns:
rank = entries.get(asn)
if rank is None:
rank = 0
to_return += ',' + str(rank)
to_return += '\n'
return json.dumps(to_return)
class Master(object):
def __init__(self):
self.dir_templates = 'templates'
publisher.channel = 'Website'
def __none_if_empty(self, to_check = None):
"""
Ensure the empty paramaters are None before doing anything
"""
if to_check is None or len(to_check) == 0:
return None
return cgi.escape(to_check, True)
def __init_template(self, template_name, source = None, date = None):
"""
Initialize the basic components of the template
"""
template = Template(file = os.path.join(self.dir_templates,
template_name + '.tmpl'))
source = self.__none_if_empty(source)
date = self.__none_if_empty(date)
template.css_file = 'http://www.circl.lu/css/styles.css'
template.logo = 'http://www.circl.lu/pics/logo.png'
template.banner = 'http://www.circl.lu/pics/topbanner.jpg'
template.sources = master_controler.get_sources(date)
template.dates = master_controler.get_dates()
template.source = source
template.date = date
return template
def __csv2string(self, data):
si = StringIO.StringIO();
cw = csv.writer(si);
cw.writerow(data);
return si.getvalue().strip('\r\n');
def __query_logging(self, ip, user_agent, webpage, date=None, source=None,
asn=None, asn_details=None, compared_asns=None, ip_lookup=None):
publisher.info(self.__csv2string([ip, user_agent, webpage, date,
source, asn, asn_details, compared_asns, ip_lookup]))
@cherrypy.expose
def default(self):
"""
Load the index
"""
return str(self.index())
@cherrypy.expose
def index(self, source = None, date = None):
"""
Generate the view of the global ranking
"""
source = self.__none_if_empty(source)
date = self.__none_if_empty(date)
self.__query_logging(cherrypy.request.remote.ip,
cherrypy.request.headers.get('User-Agent', 'Empty User-Agent'),
webpage='index', date=date, source=source)
histo, list_size = master_controler.prepare_index(source, date)
template = self.__init_template('index_asn', source, date)
template.list_size = list_size
template.histories = histo
return str(template)
@cherrypy.expose
def asn_details(self, source = None, asn = None, ip_details = None, date = None):
"""
Generate the view of an ASN
"""
asn = self.__none_if_empty(asn)
source = self.__none_if_empty(source)
date = self.__none_if_empty(date)
if asn is None:
return self.index(source, date)
self.__query_logging(cherrypy.request.remote.ip,
cherrypy.request.headers.get('User-Agent', 'Empty User-Agent'),
webpage='asn_details', date=date, source=source, asn=asn,
asn_details = ip_details)
ip_details = self.__none_if_empty(ip_details)
template = self.__init_template('asn_details', source, date)
asn = asn.lstrip('AS')
if asn.isdigit():
template.asn = asn
asn_description, position, as_infos = master_controler.get_as_infos(asn,
date, source)
if as_infos is not None and len(as_infos) > 0:
template.asn_description = asn_description
template.asn_descs = as_infos
template.current_sources = master_controler.get_last_seen_sources(asn)
template.desc_history = master_controler.get_asn_descriptions(asn)
template.position = position[0]
template.size = position[1]
if len(template.current_sources.keys()) > 0:
template.sources = template.current_sources.keys()
if ip_details is not None:
template.ip_details = ip_details
template.ip_descs = master_controler.get_ip_info(asn,
ip_details, date, source)
else:
template.error = "Invalid query: " + asn
return str(template)
@cherrypy.expose
def comparator(self, asns = None):
"""
Generate the view comparing a set of ASNs
"""
asns = self.__none_if_empty(asns)
self.__query_logging(cherrypy.request.remote.ip,
cherrypy.request.headers.get('User-Agent', 'Empty User-Agent'),
webpage='comparator', compared_asns=asns)
template = self.__init_template('comparator')
template.asns = asns
if asns is not None:
asns_list, details_list = master_controler.get_comparator_metatada(asns)
template.asns_json = json.dumps(asns_list)
template.asns_details = details_list
else:
template.asns_json = json.dumps([0])
template.asns_details = None
return str(template)
@cherrypy.expose
def trend(self):
"""
Print the trend World vs Luxembourg
"""
return self.trend_benelux()
#self.__query_logging(cherrypy.request.remote.ip,
# cherrypy.request.headers.get('User-Agent', 'Empty User-Agent'),
# webpage='trend')
#return str(self.__init_template('trend'))
@cherrypy.expose
def trend_benelux(self):
"""
Print the trend of the benelux countries
"""
self.__query_logging(cherrypy.request.remote.ip,
cherrypy.request.headers.get('User-Agent', 'Empty User-Agent'),
webpage='trend_benelux')
return str(self.__init_template('trend_benelux'))
@cherrypy.expose
def map(self):
"""
Print the worldmap
"""
self.__query_logging(cherrypy.request.remote.ip,
cherrypy.request.headers.get('User-Agent', 'Empty User-Agent'),
webpage='map')
return str(self.__init_template('map'))
@cherrypy.expose
def ip_lookup(self, ip = None):
ip = self.__none_if_empty(ip)
self.__query_logging(cherrypy.request.remote.ip,
cherrypy.request.headers.get('User-Agent', 'Empty User-Agent'),
webpage='ip_lookup', ip_lookup=ip)
template = self.__init_template('ip_lookup')
template.ip = ip
result = master_controler.get_ip_lookup(ip)
if result is not None:
template.history = result[0]
template.ptrrecord = result[1]
else:
template.history = None
template.ptrrecord = None
return str(template)
def error_page_404(status, message, traceback, version):
"""
Display an error if the page does not exists
"""
return "Error %s - This page does not exist." % status
def handle_error():
cherrypy.response.status = 500
cherrypy.response.body = ["<html><body>Sorry, an error occured</body></html>"]
publisher.error('Request: '+ str(cherrypy.request.params) + '\n' +_cperror.format_exc())
if __name__ == "__main__":
website = Master()
cherrypy.config.update({'error_page.404': error_page_404})
cherrypy.config.update({'request.error_response': handle_error})
cherrypy.quickstart(website, config = 'config/web_bgp-ranking.ini')
| [
"[email protected]"
]
| |
b16c771b71602489f1e72f2442c4043d433a7d0b | 215e3c24d9bf55c5951cdbab08d045663003331a | /Lib/Scripts/glyphs/components/decompose.py | d8e9069d97698e75433bd87bb99ab3e8759391b0 | [
"BSD-3-Clause",
"BSD-2-Clause"
]
| permissive | hipertipo/hTools2 | 8ac14ee37d6ed78a5ce906e65befa889798cc53d | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | refs/heads/master | 2022-07-10T20:37:13.869044 | 2018-11-21T10:42:44 | 2018-11-21T10:42:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,027 | py | # [h] remove components
'''Remove components in selected glyphs.'''
from mojo.roboFont import CurrentFont
from hTools2.modules.fontutils import get_glyphs
from hTools2.modules.messages import no_font_open, no_glyph_selected
foreground = True
layers = False
f = CurrentFont()
if f is not None:
glyph_names = get_glyphs(f)
layer_names = f.layerOrder
if len(glyph_names) > 0:
print 'decomposing selected glyphs...',
for glyph_name in glyph_names:
if foreground:
g = f[glyph_name]
g.prepareUndo('decompose')
g.decompose()
g.performUndo()
if layers:
for layer_name in layer_names:
g = f[glyph_name].getLayer(layer_name)
g.prepareUndo('decompose')
g.decompose()
g.performUndo()
print 'done.\n'
# no glyph selected
else:
print no_glyph_selected
# no font open
else:
print no_font_open
| [
"[email protected]"
]
| |
304d71ef2e9f9e97d84b4043bccbde3c0fd3f073 | e2c120b55ab149557679e554c1b0c55126e70593 | /python/imagej/examples/imglib2_LazyCellImg_montage_simple.py | 24ea2087e32b9b6ef268abcf6c5344ac0f448bf6 | []
| no_license | acardona/scripts | 30e4ca2ac87b9463e594beaecd6da74a791f2c22 | 72a18b70f9a25619b2dbf33699a7dc1421ad22c6 | refs/heads/master | 2023-07-27T14:07:37.457914 | 2023-07-07T23:13:40 | 2023-07-07T23:14:00 | 120,363,431 | 4 | 5 | null | 2023-05-02T11:20:49 | 2018-02-05T21:21:13 | Python | UTF-8 | Python | false | false | 1,770 | py | from ij import IJ, ImagePlus
from net.imglib2.img.cell import LazyCellImg, CellGrid, Cell
from net.imglib2.img.basictypeaccess.array import ByteArray
from net.imglib2.img.basictypeaccess import ByteAccess
from net.imglib2.img.display.imagej import ImageJFunctions as IL
from java.lang import System
imp = IJ.getImage()
img = IL.wrap(imp) # Creates PlanarImg instance with pointers to imp's slices
class SliceGet(LazyCellImg.Get):
def __init__(self, imp, grid):
self.imp = imp
self.grid = grid
self.cell_dimensions = [self.imp.getWidth(), self.imp.getHeight()]
self.cache = {}
def get(self, index):
cell = self.cache.get(index, None)
if not cell:
cell = self.makeCell(index)
self.cache[index] = cell
return cell
def makeCell(self, index):
n_cols = self.grid.imgDimension(0) / self.grid.cellDimension(0)
x0 = (index % n_cols) * self.grid.cellDimension(0)
y0 = (index / n_cols) * self.grid.cellDimension(1)
index += 1 # 1-based slice indices in ij.ImageStack
if index < 1 or index > self.imp.getStack().size():
# Return blank image: a ByteAccess that always returns 255
return Cell(self.cell_dimensions,
[x0, y0],
type('ConstantValue', (ByteAccess,), {'getValue': lambda self, index: 255})())
else:
return Cell(self.cell_dimensions,
[x0, y0],
ByteArray(self.imp.getStack().getProcessor(index).getPixels()))
n_cols = 12
n_rows = 10
cell_width = imp.getWidth()
cell_height = imp.getHeight()
grid = CellGrid([n_cols * cell_width, n_rows * cell_height],
[cell_width, cell_height])
montage = LazyCellImg(grid, img.cursor().next().createVariable(), SliceGet(imp, grid))
IL.show(montage, "Montage") | [
"[email protected]"
]
| |
505c81e6ddf46afeb9e18d61059d5878f501d5d8 | 8149d1030b5bc62cc82d5afedbe7486daedbf8c5 | /[230][Kth Smallest Element in a BST][Medium].py | 92f3716d322655b0a94ae74ca5c897739dcc78aa | []
| no_license | guofei9987/leetcode_python | faef17bb59808197e32ed97e92e2222862e2ba8c | 23703a6fb5028d982b3febc630e28f9bb65a82a6 | refs/heads/master | 2020-03-21T18:24:33.014579 | 2019-10-12T13:29:03 | 2019-10-12T13:29:03 | 138,889,760 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 61 | py | # https://leetcode.com/problems/kth-smallest-element-in-a-bst | [
"[email protected]"
]
| |
1a6e43d4c51954316a7d506c7fb62a4b6aa0385a | 7266300d1fc7837f021f366333c6021695dc7d89 | /ex007.py | 826dc75ece9fd57d3b742ea949cbab5e546e4663 | []
| no_license | ritomar/python-guanabara | d2283cd411cb0af38a495979cdf5d22d2335cb4a | 3e732c0f464a2c8ba04d36a46415f238491338ab | refs/heads/master | 2020-04-24T20:14:03.769087 | 2019-02-24T22:41:23 | 2019-02-24T22:41:23 | 172,237,054 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 390 | py | """
Exercício Python #007 - Média Aritmética
Desenvolva um programa que leia as duas notas de um aluno,
calcule e mostre a sua média.
"""
def media(a, b):
return (a + b) / 2
nota_1 = float(input("Primeira nota do aluno: "))
nota_2 = float(input("Segunda nota do aluno: "))
print(f'A média entre {nota_1:.1f} e {nota_2:.1f} é igual a {media(nota_1, nota_2):.1f}')
| [
"[email protected]"
]
| |
c982192c49c4f7ea0d862f1d54fd36db9f8ddaa5 | d48a8ba5aed0e73e011ab4e1fcaab378760d1827 | /smallslive/events/migrations/0004_auto__add_field_event_set.py | 227643f6f970a0586a942f9eced2f22921ed56a6 | []
| no_license | waytai/smallslive | 7e15472e2bc197a32ea4058c0096df7ea5723afe | 106c35ce52f3c500432d00b7bd937a3d283aee4f | refs/heads/master | 2020-05-01T07:26:53.583006 | 2014-05-01T22:52:15 | 2014-05-01T22:52:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,288 | py | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Event.set'
db.add_column(u'events_event', 'set',
self.gf('django.db.models.fields.CharField')(default='', max_length=10, blank=True),
keep_default=False)
def backwards(self, orm):
# Deleting field 'Event.set'
db.delete_column(u'events_event', 'set')
models = {
u'artists.artist': {
'Meta': {'ordering': "['lastname']", 'object_name': 'Artist'},
'artist_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['artists.ArtistType']", 'null': 'True', 'blank': 'True'}),
'biography': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
'firstname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'lastname': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
'salutation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
'templateid': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'website': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
},
u'artists.artisttype': {
'Meta': {'object_name': 'ArtistType'},
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '255'})
},
u'events.event': {
'Meta': {'ordering': "['-start_day']", 'object_name': 'Event'},
'active': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'date_freeform': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
'end_day': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
'event_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['events.EventType']", 'null': 'True', 'blank': 'True'}),
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
'performers': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['artists.Artist']", 'through': u"orm['events.GigPlayed']", 'symmetrical': 'False'}),
'set': ('django.db.models.fields.CharField', [], {'max_length': '10', 'blank': 'True'}),
'start_day': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
'subtitle': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
'title': ('django.db.models.fields.CharField', [], {'max_length': '255'})
},
u'events.eventtype': {
'Meta': {'object_name': 'EventType'},
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
'parent': ('django.db.models.fields.IntegerField', [], {})
},
u'events.gigplayed': {
'Meta': {'object_name': 'GigPlayed'},
'artist': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gigs_played'", 'to': u"orm['artists.Artist']"}),
'event': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'artists_gig_info'", 'to': u"orm['events.Event']"}),
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'role': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['artists.ArtistType']"}),
'sort_order': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'})
}
}
complete_apps = ['events'] | [
"[email protected]"
]
| |
ab07f0f98350be43dafdc17542bd680df579a9a8 | ac44aa8fd5404b95e1d92f6268ae84d9f4e7319a | /spiderutil/connector/redis.py | e0061d6e10d8d117e0c99832f6a335c90fdd58ec | [
"MIT"
]
| permissive | Thesharing/spider-utility | 140237db3fa4b20cc4caadbfdc22c67bd21022b9 | 1dcea98bf1740b1addfb3cdedea1ce92ed70a12c | refs/heads/master | 2020-07-26T17:38:51.694626 | 2020-01-07T18:00:05 | 2020-01-07T18:00:05 | 208,721,632 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,746 | py | from abc import abstractmethod
import redis
from .base import Database
class Redis(Database):
def __init__(self, name: str,
host='localhost',
port=6379):
super(Redis, self).__init__(name, 'Redis')
self.host = host
self.port = port
self.conn = redis.StrictRedis(host=host,
port=port,
decode_responses=True)
def check_connection(self):
conn = redis.StrictRedis(host=self.host, port=self.port,
decode_responses=True)
conn.client_list()
@abstractmethod
def count(self):
raise NotImplementedError
class RedisSet(Redis):
def add(self, values):
return self.conn.sadd(self.name, values)
def count(self):
return self.conn.scard(self.name)
def empty(self):
return self.conn.scard(self.name) <= 0
def pop(self):
return self.conn.spop(self.name)
def remove(self, values):
return self.conn.srem(self.name, values)
def rand(self, number=None):
if number:
return self.conn.srandmember(self.name, number)
else:
return self.conn.srandmember(self.name)
def is_member(self, value):
return self.conn.sismember(self.name, value)
def all(self):
return self.conn.smembers(self.name)
def flush_all(self):
return self.conn.delete(self.name)
def __contains__(self, item):
return self.is_member(item)
class RedisHash(Redis):
def add(self, key):
return self.conn.hsetnx(self.name, key, 0)
def count(self):
return self.conn.hlen(self.name)
def empty(self):
return self.conn.hlen(self.name) <= 0
def remove(self, keys):
return self.conn.hdel(self.name, keys)
def exists(self, key):
return self.conn.hexists(self.name, key)
def all(self):
return self.conn.hgetall(self.name)
def get(self, keys):
"""
:param keys: a single key or a list of keys
:return: a string, or a list of string correspondingly
"""
if type(keys) is list:
return self.conn.hmget(self.name, keys)
else:
return self.conn.hget(self.name, keys)
def set(self, mapping: dict):
if len(mapping) > 1:
return self.conn.hmset(self.name, mapping)
elif len(mapping) == 1:
(key, value), = mapping.items()
return self.conn.hset(self.name, key, value)
def increment(self, key, value: int = 1):
return self.conn.hincrby(self.name, key, value)
def __contains__(self, item):
return self.exists(item)
| [
"[email protected]"
]
| |
6b2d37b9bb8908aad59c1df2361d6a6fdbb066f1 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02763/s621426373.py | 7750cf1024ddffc0ab4f803b496ccb47188b9281 | []
| no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 498 | py | n=int(input())
l=list(input())
q=int(input())
bit=[[0]*(n+1) for i in range(26)]
def bit_sum(o,i):
s=0
while i:
s+=bit[o][i]
i-=i&-i
return s
def bit_add(o,i,x):
while i<=n:
bit[o][i] += x
i+=i&-i
for i in range(n):
bit_add(ord(l[i])-97,i+1,1)
for i in range(q):
a,b,c=input().split()
b=int(b)-1
if a=='1':
bit_add(ord(l[b])-97,b+1,-1)
l[b]=c
bit_add(ord(c)-97,b+1,1)
else:
c=int(c)
print(sum(1 for o in range(26) if bit_sum(o,c)-bit_sum(o,b))) | [
"[email protected]"
]
| |
c57634c144704ce971b204af1b8d2cac44f8071c | fc314838b18c14a00310f0059d5358c7c4afabd6 | /social_auth/backends/contrib/readability.py | 523b72af00dadb415ab123cb0fea283636071724 | [
"MIT"
]
| permissive | opendream/asip | 5cb4b997fab2438193ae7490c159efced6dc3d91 | 20583aca6393102d425401d55ea32ac6b78be048 | refs/heads/master | 2022-11-28T23:28:18.405604 | 2020-03-10T04:56:23 | 2020-03-10T04:56:23 | 190,504,979 | 1 | 1 | MIT | 2022-11-22T01:10:46 | 2019-06-06T03:06:03 | HTML | UTF-8 | Python | false | false | 3,847 | py | """
Readability OAuth support.
This contribution adds support for Readability OAuth service. The settings
READABILITY_CONSUMER_KEY and READABILITY_CONSUMER_SECRET must be defined with
the values given by Readability in the Connections page of your account
settings."""
try:
import json as simplejson
except ImportError:
try:
import simplejson
except ImportError:
from django.utils import simplejson
from social_auth.backends import ConsumerBasedOAuth, OAuthBackend
from social_auth.exceptions import AuthCanceled
from social_auth.utils import setting
# Readability configuration
READABILITY_SERVER = 'www.readability.com'
READABILITY_API = 'https://%s/api/rest/v1' % READABILITY_SERVER
READABILITY_AUTHORIZATION_URL = '%s/oauth/authorize/' % READABILITY_API
READABILITY_ACCESS_TOKEN_URL = '%s/oauth/access_token/' % READABILITY_API
READABILITY_REQUEST_TOKEN_URL = '%s/oauth/request_token/' % READABILITY_API
READABILITY_USER_DATA_URL = '%s/users/_current' % READABILITY_API
class ReadabilityBackend(OAuthBackend):
"""Readability OAuth authentication backend"""
name = 'readability'
EXTRA_DATA = [('date_joined', 'date_joined'),
('kindle_email_address', 'kindle_email_address'),
('avatar_url', 'avatar_url'),
('email_into_address', 'email_into_address')]
def get_user_details(self, response):
username = response['username']
first_name, last_name = response['first_name'], response['last_name']
return {'username': username,
'first_name': first_name,
'last_name': last_name}
def get_user_id(self, details, response):
"""Returns a unique username to use"""
return response['username']
@classmethod
def tokens(cls, instance):
"""Return the tokens needed to authenticate the access to any API the
service might provide. Readability uses a pair of OAuthToken consisting
of an oauth_token and oauth_token_secret.
instance must be a UserSocialAuth instance.
"""
token = super(ReadabilityBackend, cls).tokens(instance)
if token and 'access_token' in token:
# Split the OAuth query string and only return the values needed
token = dict(
filter(
lambda x: x[0] in ['oauth_token', 'oauth_token_secret'],
map(
lambda x: x.split('='),
token['access_token'].split('&'))))
return token
class ReadabilityAuth(ConsumerBasedOAuth):
"""Readability OAuth authentication mechanism"""
AUTHORIZATION_URL = READABILITY_AUTHORIZATION_URL
REQUEST_TOKEN_URL = READABILITY_REQUEST_TOKEN_URL
ACCESS_TOKEN_URL = READABILITY_ACCESS_TOKEN_URL
SERVER_URL = READABILITY_SERVER
AUTH_BACKEND = ReadabilityBackend
SETTINGS_KEY_NAME = 'READABILITY_CONSUMER_KEY'
SETTINGS_SECRET_NAME = 'READABILITY_CONSUMER_SECRET'
def user_data(self, access_token, *args, **kwargs):
url = READABILITY_USER_DATA_URL
request = self.oauth_request(access_token, url)
json = self.fetch_response(request)
try:
return simplejson.loads(json)
except ValueError:
return None
def auth_complete(self, *args, **kwargs):
"""Completes login process, must return user instance"""
if 'error' in self.data:
raise AuthCanceled(self)
else:
return super(ReadabilityAuth, self).auth_complete(*args, **kwargs)
@classmethod
def enabled(cls):
"""Return backend enabled status by checking basic settings"""
return setting('READABILITY_CONSUMER_KEY') \
and setting('READABILITY_CONSUMER_SECRET')
BACKENDS = {
'readability': ReadabilityAuth,
}
| [
"[email protected]"
]
| |
ad79d5a8f637b483bf00fffe02a7da7f9ca7320d | b59372692c912ba17ec2e6812983663a6deccdaf | /.history/bsServer/models_20200502170040.py | 07d1890682045d1abd590e7a1188498f9ddaf520 | []
| no_license | nanjigirl/bs-server-project | 2d7c240ddf21983ed0439829a7995bde94082467 | 7863aed279b233d359c540c71fdd08ce8633976b | refs/heads/master | 2022-08-02T17:33:48.201967 | 2020-05-25T15:18:34 | 2020-05-25T15:18:34 | 261,204,713 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 65 | py | from django.db import models
# Create your models here.
#创建 | [
"[email protected]"
]
| |
f867030fa583ee7514c9a37ddb4674b41cbfbdd5 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/verbs/_eliding.py | f677e02f7c87edb7af849d872c93967c71742b22 | [
"MIT"
]
| permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 233 | py |
from xai.brain.wordbase.verbs._elide import _ELIDE
#calss header
class _ELIDING(_ELIDE, ):
def __init__(self,):
_ELIDE.__init__(self)
self.name = "ELIDING"
self.specie = 'verbs'
self.basic = "elide"
self.jsondata = {}
| [
"[email protected]"
]
| |
610b849a4b31a941063ad9ba3e13828b8b594e22 | f7f58aa4ea9ec78b20532971ddebe1e3d985dc23 | /practica1/practica1/urls.py | 66ebebc339bdf88ba5711d6e0f5a396babb137cb | []
| no_license | guille1194/Django-Practices | 10b9ff4817d41cb086e198c07bb82aee201fb049 | 738cbfdd4a12089d93cd68a0cde8653c490e7fd9 | refs/heads/master | 2021-03-08T19:30:11.229921 | 2016-05-23T05:38:53 | 2016-05-23T05:38:53 | 59,388,217 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 759 | py | """practica1 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
Including another URLconf
1. Add an import: from blog import urls as blog_urls
2. Add a URL to urlpatterns: url(r'^blog/', include(blog_urls))
"""
from django.conf.urls import include, url
from django.contrib import admin
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
]
| [
"[email protected]"
]
| |
f290584c3c4c816e376a560b93bb832d10eb65b4 | e3cb522fc2ce289c0604f6a6950838cde91ea07a | /config.py | 157bfbae4fa468ff111acbaf7d8e6e0436c25cdf | [
"MIT"
]
| permissive | zwkj099/pythonApiTest | b6127847c78234c3bc9e77c5ab0e129de6efd11b | 3aeca12c4771885f1c4c52378131bf32295e9a8a | refs/heads/master | 2022-11-19T01:52:35.522016 | 2020-05-05T00:24:36 | 2020-05-05T00:24:36 | 279,872,762 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,169 | py | #!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author: leeyoshinari
import os
# 是否在Linux上使用,0为在Windows上使用,1为在Linux上使用
IS_LINUX = 1
# 日志级别
LOG_LEVEL = 'INFO'
# 接口响应超时时间
TIMEOUT = 0.5
# 检查端口是否存在间隔时间
SLEEP = 60
# ip地址和端口
IP = '127.0.0.1'
PORT = '8888'
# 请求头
HEADERS = {"Accept": "application/json, text/plain, */*",
"Accept-Encoding": "gzip, deflate",
"Content-Type": "application/json; charset=UTF-8"}
# 定时任务设置
# 0为只执行一次,1为每隔INTERVAL(单位s)执行一次,2为每天TIMER_SET执行一次
# 在Linux和Windows上均可以设置为0,1和2仅对Linux上有效
QUERY_TYPE = 0
# 执行间隔时间,单位为秒
INTERVAL = 120
# 定时任务执行时间
TIMER_SET = '23:59:00'
# 服务重启后是否执行。如果服务重新启动,则立即执行,仅QUERY_TYPE为1或2时有效,如果QUERY_TYPE为1,INTERVAL将重新计算
IS_START = True
# 测试用例路径
TESTCASE_PATH = os.path.join(os.path.dirname(__file__), 'testCase', 'testCase.xlsx')
# 测试结果存放路径
RESULT_PATH = os.path.join(os.path.dirname(__file__), 'result')
# 日志路径
LOG_PATH = os.path.join(os.path.dirname(__file__), 'result')
# 数据库相关配置
# 配置使用数据库名称,MYSQL、ORACLE
DATABASE_NAME = 'MYSQL'
# MySQL数据库配置
MYSQL_IP = '127.0.0.1'
MYSQL_USERNAME = 'root'
MYSQL_PASSWORD = '123456'
MYSQL_DATABASE = 'ATI'
# ORACLE数据库配置
ORACLE_HOST = '127.0.0.1:1521/orcl'
ORACLE_USERNAME = 'root'
ORACLE_PASSWORD = '123456'
# 是否将测试结果保存到excel
IS_TO_EXCEL = True
# Excel测试结果保存路径
EXCEL_RESULT_PATH = os.path.join(os.path.dirname(__file__), 'result')
# 测试完成后是否自动发送邮件
IS_EMAIL = True
# 邮箱配置,qq邮箱为smtp.qq.com
# 所用的发件邮箱必须开启SMTP服务
SMTP_SERVER = 'smtp.sina.com'
# 发件人
SENDER_NAME = '张三'
SENDER_EMAIL = '[email protected]'
# 邮箱登陆密码,经过base64编码
PASSWORD = 'UjBWYVJFZE9RbFpIV1QwOVBUMDlQUT09'
# 收件人,对应 baidu_all.txt 文件,该文件为邮件组名。
RECEIVER_NAME = 'baidu_all'
# RECEIVER_EMAIL = 'baidu_all.txt' 多个收件人用英文逗号分隔
# 测试报告相关的html,可不用修改
# 每行表格背景颜色,白灰相间,根据用例ID计算得到
BG_COLOR = ['FFFFFF', 'E8E8E8']
# 表格模板
HEADER = '接口自动化测试报告'
HTML = '<html><meta http-equiv="Content-Type";content="text/html";charset="utf-8"><body>{}</body></html>'
TITLE = '<h2 align="center">{}</h2>'
TEST_TIME = '<p align="right">测试时间:{}</p>'
H3 = '<h3>{}</h3>'
SPAN = '<span style="font-size:14px; font-weight:normal"> 所有用例测试结果见邮件附件</span>'
OVERVIEW1 = '<p> 用例总数:<font color="blue">{}</font> 用例执行总耗时:<font color="blue">{:.2f}</font> s</p>'
OVERVIEW2 = '<p> 用例执行成功数:<font color="blue">{}</font> 用例执行失败数:<font color="red">{}</font> 成功率:<font color="red">{:.2f}%</font></p>'
TABLE = '<table width="100%" border="1" cellspacing="0" cellpadding="6" align="center" style="table-layout:fixed; word-wrap:break-word;>{}</table>'
TABLE_HEAD = '<tr bgcolor="#99CCFF" align="center"><th width="8%">用例ID</th><th width="15%">用例名称</th><th width="15%">请求接口</th><th width="5%">请求方式</th><th width="19%">请求参数</th><th width="14%">响应值</th><th width="5%">响应时间</th><th width="5%">测试结果</th><th width="14%">失败原因</th></tr>'
TR = '<tr bgcolor="#{}">{}</tr>'
TD = '<td>{}</td>'
TD_FAIL = '<td><font color="red">Failure</font></td>'
TD_SUCCESS = '<td><font color="blue">Success</font></td>'
LAST = '<p style="color:blue">此邮件自动发出,如有疑问,请直接回复。</p>'
| [
"[email protected]"
]
| |
531e05c9e284bdac8bcfc77fbbe12ea390bb3b49 | 4f1c6b2a953035e2be265c75d48fdcaa3e9983e1 | /scrape/migrations/0003_scrapelog_message.py | 25fb03a3423d181caedb044ab7b4058fd3315f53 | [
"MIT"
]
| permissive | azul-cloud/tbscraper | 577dc783041a40b4fb6cc2b4c41c63ec95027cf2 | f6edabe5c2d9e9531097bdf9d0428d138717f64f | refs/heads/master | 2021-01-10T21:37:48.421837 | 2014-12-26T20:29:46 | 2014-12-26T20:29:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 462 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('scrape', '0002_auto_20141223_1711'),
]
operations = [
migrations.AddField(
model_name='scrapelog',
name='message',
field=models.CharField(null=True, blank=True, max_length=255),
preserve_default=True,
),
]
| [
"[email protected]"
]
| |
9a9b1c004f4479ff0dd5144a044820c794c51bb9 | bb0eeade4685dc89ff8a53beb813afdf7394989d | /gaosuan/第三次课后作业/006.py | e693ec464824c0bc07034e7dfe1242c2f51c770f | []
| no_license | zhaocheng1996/pyproject | 72929cd0ba2f0486d7dc87a7defa82656bf75a8e | 0a1973dda314f844f9898357bc4a5c8ee3f2246d | refs/heads/master | 2021-10-26T08:38:43.675739 | 2019-04-11T13:52:46 | 2019-04-11T13:52:46 | 176,939,063 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,286 | py | '''
分治法解最近对问题
Description
最近对问题:使用分治算法解决最近对问题。
Input
第一行为测试用例个数。后面每一行表示一个用例,一个用例为一些平面上点的集合,点与点之间用逗号隔开,一个点的两个坐标用空格隔开。坐标值都是正数。
Output
对每一个用例输出两个距离最近的点(坐标使用空格隔开),用逗号隔开,先按照第一个坐标大小排列,再按照第二个坐标大小排列。如果有多个解,则按照每个解的第一个点的坐标排序,连续输出多个解,用逗号隔开。
Sample Input 1
1
1 1,2 2,3 3,4 4,5 5,1.5 1.5
Sample Output 1
1 1,1.5 1.5,1.5 1.5,2 2
'''
import math
class Node_nearst(object):
res = []
dist = 100000 # 一个比较大的数
def add(self, node_pair):
node_pair = sorted(node_pair, key=lambda n: (n.x, n.y))
# 判断是否重复添加
for np in self.res:
if node_pair[0].x == np[0].x and node_pair[0].y == np[0].y \
and node_pair[1].x == np[1].x and node_pair[1].y == np[1].y:
return
self.res.append(node_pair)
def clear_add(self, node_pair):
self.res.clear()
node_pair = sorted(node_pair, key=lambda n: (n.x, n.y))
self.res.append(node_pair)
def sort(self):
self.res = sorted(self.res, key=lambda np: (np[0].x, np[0].y))
def print(self):
s = ''
for node_pair in self.res:
n1, n2 = node_pair
n1 = self.__toInt(n1)
n2 = self.__toInt(n2)
s += str(n1.x) + " " + str(n1.y) + ',' + str(n2.x) + " " + str(n2.y) + ','
print(s[:len(s) - 1])
def __toInt(self, n):
x, y = n.x, n.y
n.x = int(x) if x == int(x) else x
n.y = int(y) if y == int(y) else y
return n
node_nearst = Node_nearst()
class Node(object):
def __init__(self, x, y):
self.x = x
self.y = y
def distance(n1, n2):
return math.sqrt((n1.x - n2.x) ** 2 + (n1.y - n2.y) ** 2)
def isNearst(dist, n1, n2):
if dist == node_nearst.dist:
node_nearst.add([n1, n2])
elif dist < node_nearst.dist:
node_nearst.clear_add([n1, n2])
node_nearst.dist = dist
def f(s, left, right):
if right - left == 1: # 仅两个点
d = distance(s[left], s[right])
isNearst(d, s[left], s[right])
return d
if right - left == 2: # 仅三个点
d1 = distance(s[left], s[left + 1])
d2 = distance(s[left + 1], s[right])
d3 = distance(s[left], s[right])
min_d = min(d1, d2, d3)
if d1 == min_d:
isNearst(d1, s[left], s[left + 1])
if d2 == min_d:
isNearst(d1, s[left + 1], s[right])
if d3 == min_d:
isNearst(d1, s[left], s[right])
return min_d
mid = (right - left) // 2 + left
d_left = f(s, left, mid)
d_right = f(s, mid + 1, right)
dist = min(d_left, d_right)
inner_s = []
for i in range(mid, left - 1, -1):
if s[mid].x - s[i].x < dist:
inner_s.append(s[i])
else:
break
for i in range(mid + 1, right + 1):
if s[i].x - s[mid].x < dist:
inner_s.append(s[i])
else:
break
# 按照 y 升序
inner_s = sorted(inner_s, key=lambda n: n.y)
for i in range(len(inner_s)):
for j in range(i + 1, i + 7): # 6个点
if j < len(inner_s):
if inner_s[j].y - inner_s[i].y >= dist:
break
else:
d = distance(inner_s[j], inner_s[i])
if d <= dist:
#print(inner_s[j].x,inner_s[i].x)
isNearst(d, inner_s[j], inner_s[i])
dist = d
else:
break
return dist
cases = int(input())
for case in range(cases):
nodes = input().strip().split(',')
s = []
for node in nodes:
x, y = list(map(float, node.split()))
node = Node(x, y)
s.append(node)
# 按照 x 升序
s = sorted(s, key=lambda n: n.x)
f(s, 0, len(s) - 1)
# print(node_nearst.dist)
node_nearst.sort()
node_nearst.print()
| [
"[email protected]"
]
| |
85e8d525463c18ce01066ae724d8d7dcba3c0dfa | d26652c7774e1b5c0a7cb2f8d20d36c77b192bec | /env/bin/futurize | ed8d1440ca071c11e2a22808ea67626061406579 | []
| no_license | teknofage/blockchain_tutorial | 41c38f1d4610e885881d99f95023b3fb1bed3966 | dbb99e2c3ba3749d6d861199b016a6555456233f | refs/heads/master | 2022-12-08T05:57:38.172539 | 2020-09-03T23:44:35 | 2020-09-03T23:44:35 | 290,911,358 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 452 | #!/Users/Funkhauser/dev/Courses/BEW-2.4/blockchain/blockchain_tutorial/env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','futurize'
__requires__ = 'future==0.18.2'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('future==0.18.2', 'console_scripts', 'futurize')()
)
| [
"[email protected]"
]
| ||
4c84e4fa25fbaecc72158befe736472736cf14a5 | d8e8e528b1942b3528c88b12729f0cbc7b7d606f | /pipenv/vendor/vistir/cursor.py | 22d643e13ae72bfa897e9c5c7933b93dbc2cb4e3 | [
"MIT",
"BSD-3-Clause",
"ISC"
]
| permissive | frostming/pipenv | 997e5f71ac5a4bbac3aacd1fa000da6e0c8161eb | 661184e5ccf9bec3e3b4b03af778e54fe2fbc1a2 | refs/heads/master | 2021-04-15T03:33:03.817473 | 2019-03-18T03:14:33 | 2019-03-18T03:14:33 | 126,263,945 | 1 | 1 | MIT | 2019-03-19T09:44:03 | 2018-03-22T01:48:41 | Python | UTF-8 | Python | false | false | 2,099 | py | # -*- coding=utf-8 -*-
from __future__ import absolute_import, print_function
import ctypes
import os
import sys
__all__ = ["hide_cursor", "show_cursor"]
class CONSOLE_CURSOR_INFO(ctypes.Structure):
_fields_ = [("dwSize", ctypes.c_int), ("bVisible", ctypes.c_int)]
WIN_STDERR_HANDLE_ID = ctypes.c_ulong(-12)
WIN_STDOUT_HANDLE_ID = ctypes.c_ulong(-11)
def get_stream_handle(stream=sys.stdout):
"""
Get the OS appropriate handle for the corresponding output stream.
:param str stream: The the stream to get the handle for
:return: A handle to the appropriate stream, either a ctypes buffer
or **sys.stdout** or **sys.stderr**.
"""
handle = stream
if os.name == "nt":
from ctypes import windll
handle_id = WIN_STDOUT_HANDLE_ID
handle = windll.kernel32.GetStdHandle(handle_id)
return handle
def hide_cursor(stream=sys.stdout):
"""
Hide the console cursor on the given stream
:param stream: The name of the stream to get the handle for
:return: None
:rtype: None
"""
handle = get_stream_handle(stream=stream)
if os.name == "nt":
from ctypes import windll
cursor_info = CONSOLE_CURSOR_INFO()
windll.kernel32.GetConsoleCursorInfo(handle, ctypes.byref(cursor_info))
cursor_info.visible = False
windll.kernel32.SetConsoleCursorInfo(handle, ctypes.byref(cursor_info))
else:
handle.write("\033[?25l")
handle.flush()
def show_cursor(stream=sys.stdout):
"""
Show the console cursor on the given stream
:param stream: The name of the stream to get the handle for
:return: None
:rtype: None
"""
handle = get_stream_handle(stream=stream)
if os.name == "nt":
from ctypes import windll
cursor_info = CONSOLE_CURSOR_INFO()
windll.kernel32.GetConsoleCursorInfo(handle, ctypes.byref(cursor_info))
cursor_info.visible = True
windll.kernel32.SetConsoleCursorInfo(handle, ctypes.byref(cursor_info))
else:
handle.write("\033[?25h")
handle.flush()
| [
"[email protected]"
]
| |
e74d44531671aadc3201722996969924f6623ae3 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/adjectives/_grating.py | 799b17e241893c3b44ad883736c6a1fff89d0a00 | [
"MIT"
]
| permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 403 | py |
#calss header
class _GRATING():
def __init__(self,):
self.name = "GRATING"
self.definitions = [u'A grating sound is unpleasant and annoying.']
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.specie = 'adjectives'
def run(self, obj1, obj2):
self.jsondata[obj2] = {}
self.jsondata[obj2]['properties'] = self.name.lower()
return self.jsondata
| [
"[email protected]"
]
| |
808454c879c3cf4cddf8607025629c89cfbd67e7 | 39ab815dfdbab9628ede8ec3b4aedb5da3fd456a | /aql/benchmark/lib_18/SConscript | 3f6a3ee8108f8af55b77427a21087d2b0d74442b | [
"MIT"
]
| permissive | menify/sandbox | c03b1bf24c1527b47eb473f1acc433f17bfb1d4f | 32166c71044f0d5b414335b2b6559adc571f568c | refs/heads/master | 2016-09-05T21:46:53.369065 | 2015-04-20T06:35:27 | 2015-04-20T06:35:27 | 25,891,580 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 236 | Import('env')
list = Split("""
class_0.cpp
class_1.cpp
class_2.cpp
class_3.cpp
class_4.cpp
class_5.cpp
class_6.cpp
class_7.cpp
class_8.cpp
class_9.cpp
""")
env.StaticLibrary("lib_18", list)
| [
"menify@a28edc5c-ec3e-0410-a3da-1b30b3a8704b"
]
| menify@a28edc5c-ec3e-0410-a3da-1b30b3a8704b |
|
10c5e92d9c8b905381d80777b881d54bf21ed936 | 803ff496aff9eef77f3186991878b6f16e54ba0a | /inital_setup.py | b42b48736c6f0b6eb008cde29203c230f49a41eb | []
| no_license | gopal1992/ssadmin | c54dae22dd69e48730affc1cdba0c0ee17b1e48c | 96370e8fc108843a70b326d5b136be94ae0b3084 | refs/heads/master | 2016-09-09T22:44:35.003945 | 2015-01-24T10:15:12 | 2015-01-24T10:15:12 | 29,772,729 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 434 | py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
from django.contrib.auth.models import Group
GROUP_NAMES = ["subscriber_admin",
"subscriber_user",
"shield_square_customer_support",
"shield_square_super_admin",
"demo_user"]
def create_groups():
for group in GROUP_NAMES:
Group.objects.get_or_create(name=group)
if __name__ == "__main__":
create_groups()
| [
"[email protected]"
]
| |
ca256811fee23d941f3d1b5ff262f9bbf44ab758 | a1c166a1ac4782f1f0792e0fd21741360373b376 | /backEnd/explorer/__init__.py | 2a36bacaa299ec747655ed024864550acf83062d | []
| no_license | xiaomapython/QlaskExplor | 3c7b75866b8276a5c2de3fbfddf779e1a66691d0 | c8b1757d08d06d350f7ca41897bbf4378fde3911 | refs/heads/master | 2020-06-23T08:08:45.169160 | 2019-05-15T02:05:17 | 2019-05-15T02:05:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,756 | py | # _*_ coding:utf-8 _*_
# company: RuiDa Futures
# author: zizle
import redis
import logging
from concurrent_log_handler import ConcurrentRotatingFileHandler
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_session import Session
from config import config
from explorer.modules.users import users_blu
db = SQLAlchemy()
redis_store = None
def setup_log(environment):
"""根据环境配置日志"""
# 设置日志的记录等级
logging.basicConfig(level=config[environment].LOG_LEVEL) # 调试debug级
# 创建日志记录器, 指明日志保存的路径, 每个日志文件的最大大小,保存日志的文件上限个数
file_log_handler = ConcurrentRotatingFileHandler("logs/log", maxBytes=1024 * 1024, backupCount=10)
# 创建日志文件的记录格式 时间 文件名 行数 等级 信息
formatter = logging.Formatter('%(asctime)s - %(filename)s[line:%(lineno)d] - %(levelname)s: %(message)s')
# 为日志记录器设置日志的记录格式
file_log_handler.setFormatter(formatter)
# 为全局的日志对象添加日志记录器
logging.getLogger().addHandler(file_log_handler)
def create_app(environment):
"""通过指定environment,初始化不同配置的app"""
setup_log(environment)
app = Flask(__name__) # 实例化app
app.register_blueprint(users_blu) # 将用户模块蓝图注册到app
app.config.from_object(config[environment])
db.init_app(app) # 配置数据库
global redis_store
redis_store = redis.StrictRedis(host=config[environment].REDIS_HOST, port=config[environment].REDIS_PORT) # 配置redis
Session(app) # 设置session的保存位置
return app
| [
"[email protected]"
]
| |
503a626fb48d5dfd37006db6436d65939dd6e970 | 313bb88c43d74995e7426f9482c6c8e670fdb63c | /02-instructions/if_zadanie2.py | fefd981cfb8a89b55f6868644e4b98563a298b0f | []
| no_license | martakedzior/python-course | 8e93fcea3e9e1cb51920cb1fcf3ffbb310d1d654 | 3af2296c2092023d91ef5ff3b4ef9ea27ec2f227 | refs/heads/main | 2023-05-06T07:26:58.452520 | 2021-05-26T16:50:26 | 2021-05-26T16:50:26 | 339,822,876 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 503 | py | # Pobierz dwie liczby całkowite od użytkownika i oblicz ich sumę.
# Jeśli suma jest większa niż 100, wyświetl wynik, w przeciwnym wypadku wyświetl “Koniec”.
print('Podaj proszę dwie liczby całkowite.')
user_input1 = int(input('Podaj proszę pierwszą liczbę całkowitą: '))
user_input2 = int(input('Podaj proszę drugą liczbę całkowitą: '))
user_summ = user_input1 + user_input2
if user_summ >= 100:
print(f"Suma wprowadzonych liczb to: {user_summ}")
else:
print("Koniec") | [
"[email protected]"
]
| |
5553da7294564691ff4a70f68d17f1e7aded2e74 | 930a868ae9bbf85df151b3f54d04df3a56bcb840 | /benchmark/union_find_decoder/XZZX_code/decoding_time_comparison_low_p/process_data_UF_multiple_p_max_half_weight_1.py | a95feb630ff0945ef8aa35c409f48053efbab981 | [
"MIT"
]
| permissive | yuewuo/QEC-Playground | 1148f3c5f4035c069986d8b4103acf7f1e34f9d4 | 462208458cdf9dc8a33d4553a560f8a16c00e559 | refs/heads/main | 2023-08-10T13:05:36.617858 | 2023-07-22T23:48:49 | 2023-07-22T23:48:49 | 312,809,760 | 16 | 1 | MIT | 2023-07-22T23:48:51 | 2020-11-14T12:10:38 | Python | UTF-8 | Python | false | false | 3,135 | py | import sys, os, json, math
import scipy.stats
fixed_configuration = None
configurations = []
data_vec = []
with open("decoding_time_UF_multiple_p_max_half_weight_1.txt", "r", encoding="utf-8") as f:
lines = f.readlines()
for line in lines:
line = line.strip(" \r\n")
if line == "": # ignore empty line
continue
if line[:3] == "#f ":
fixed_configuration = json.loads(line[3:])
elif line[:2] == "# ":
configurations.append(json.loads(line[2:]))
data_vec.append([])
else:
data_vec[-1].append(json.loads(line))
print(fixed_configuration)
def average(lst):
return sum(lst) / len(lst)
p_vec = [0.01 * (10 ** (- i / 2)) for i in range(6)]
fitting_data_vec = [[] for di in range(len(p_vec))]
for i in range(0, len(configurations)):
config = configurations[i]
vec = data_vec[i]
idx = -1
for i in range(len(p_vec)):
p = p_vec[i]
ratio = config["p"] / p
if ratio > 0.99 and ratio < 1.01:
idx = i
assert idx >= 0, "must find similar p"
fitting_data = fitting_data_vec[idx]
error_count = 0
success_count = 0
# these only accounts successful cases
time_build_decoders_vec = []
time_run_to_stable_vec = []
time_build_decoders_run_to_stable_vec = []
for e in vec:
if e["error"]:
error_count += 1
else:
success_count += 1
time_build_decoders_vec.append(e["time_build_decoders"])
time_run_to_stable_vec.append(e["time_run_to_stable"])
time_build_decoders_run_to_stable_vec.append(e["time_build_decoders"] + e["time_run_to_stable"])
upper_idx = min(max(0, int(success_count - error_count * 0.1)), success_count - 1) # this will lead to error rate of 110% x original error rate
print(f"error: {error_count}, success_count: {success_count}, error_rate: {error_count/(error_count+success_count)}")
print(f"time_build_decoders: {average(time_build_decoders_vec)}, {sorted(time_build_decoders_vec)[upper_idx]}")
print(f"time_run_to_stable: {average(time_run_to_stable_vec)}, {sorted(time_run_to_stable_vec)[upper_idx]}")
print(f"time_build_decoders_run_to_stable: {average(time_build_decoders_run_to_stable_vec)}, {sorted(time_build_decoders_run_to_stable_vec)[upper_idx]}")
if config["di"] >= 4:
fitting_data.append((config["di"], average(time_run_to_stable_vec)))
for i in range(len(p_vec)):
p = p_vec[i]
fitting_data = fitting_data_vec[i]
X = [math.log(e[0]) for e in fitting_data]
Y = [math.log(e[1]) for e in fitting_data]
slope, intercept, r, _, _ = scipy.stats.linregress(X, Y)
print("\n\n")
print(f"p = {p}")
print(fitting_data)
print(f"slope = {slope}")
print(f"intercept = {intercept}")
print(f"r_square = {r**2}")
for i in range(len(p_vec)):
p = p_vec[i]
fitting_data = fitting_data_vec[i]
X = [math.log(e[0]) for e in fitting_data]
Y = [math.log(e[1]) for e in fitting_data]
slope, intercept, r, _, _ = scipy.stats.linregress(X, Y)
print(f"{p} {slope} {r**2}")
| [
"[email protected]"
]
| |
1b27b010f72b216dfebe00127d885f4b9ae7397e | 8771c94dce3c7e30c9e5b5f45cf8683ba9cac6fd | /leetcode/algorithms/p0239_sliding_window_maximum_1.py | 54942cedb6ca1bf7d876b84fd48fc9d653af8800 | []
| no_license | J14032016/LeetCode-Python | f2a80ecb7822cf12a8ae1600e07e4e6667204230 | 9a8f5329d7c48dd34de3105c88afb5e03c2aace4 | refs/heads/master | 2023-03-12T02:55:45.094180 | 2021-03-07T07:55:03 | 2021-03-07T07:55:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 517 | py | from heapq import heapify, heappop, heappush
from typing import List
class Solution:
def maxSlidingWindow(self, nums: List[int], k: int) -> List[int]:
heap = [(-nums[i], i) for i in range(k)]
heapify(heap)
result = [-heap[0][0]] if heap else []
for i in range(1, len(nums) - k + 1):
while heap and heap[0][1] < i:
heappop(heap)
heappush(heap, (-nums[i + k - 1], i + k - 1))
result.append(-heap[0][0])
return result
| [
"[email protected]"
]
| |
d05b8cf82a83f9d930040cf3d63c6fa5c002635f | 438393f27396d80b9304d07c811ae6cc28978f54 | /g_intim/portation/__init__.py | ee2a4cfd9f227136e4878e89224d4a8b09f2cab4 | []
| no_license | vladimirmyshkovski/g_intim | be2b8106ddbe0bb9e91ed31ee91f386e2ad9437a | 5084dd7fef32179bd9a13b83221c8050b601949b | refs/heads/master | 2021-08-30T12:23:44.109163 | 2017-12-17T23:17:34 | 2017-12-17T23:17:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 72 | py | default_app_config = (
'portation.config.PortationDashboardConfig')
| [
"[email protected]"
]
| |
bb134be3f5aee7803f010ae126fb295143bb8e11 | 76dab6591cb9c7ee566b76a0adc7b0b0c4086592 | /main/tests/test_forms.py | 043e0dfb18a0e9d453a719f41d6dc5b2f4f54591 | []
| no_license | gray-adeyi/booktime | 87962321e380cfa779b24f2bd6fa8c434687d084 | fb54bc35739b28b5a71a5cf0c1067f38140559ba | refs/heads/main | 2023-04-05T02:44:01.992984 | 2021-05-03T01:37:01 | 2021-05-03T01:37:25 | 363,434,043 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,544 | py | from django.test import TestCase
from django.core import mail
from unittest.mock import patch
from django.urls import reverse
from django.contrib import auth
from main import forms
from main import models
class TestForm(TestCase):
def test_valid_contact_us_form_sends_email(self):
form = forms.ContactForm({
'name': 'Luke Skywalker',
'message': 'Hi there'
})
self.assertTrue(form.is_valid())
with self.assertLogs('main.forms', level='INFO') as cm:
form.send_mail()
self.assertEqual(len(mail.outbox), 1)
self.assertEqual(mail.outbox[0].subject, 'Site message')
self.assertGreaterEqual(len(cm.output), 1)
def test_invalid_contact_us_form(self):
form = forms.ContactForm({
'message': 'Hi there'
})
self.assertFalse(form.is_valid())
def test_valid_signup_form_sends_email(self):
form = forms.UserCreationForm(
{
"email": "[email protected]",
"password1": "abcabcabc",
"password2": "abcabcabc",
}
)
self.assertTrue(form.is_valid())
with self.assertLogs("main.forms", level="INFO") as cm:
form.send_mail()
self.assertEqual(len(mail.outbox), 1)
self.assertEqual(
mail.outbox[0].subject, "Welcome to BookTime"
)
self.assertGreaterEqual(len(cm.output), 1)
def test_user_signup_page_loads_correctly(self):
response = self.client.get(reverse("signup"))
self.assertEqual(response.status_code, 200)
self.assertTemplateUsed(response, "signup.html")
self.assertContains(response, "BookTime")
self.assertIsInstance(
response.context["form"], forms.UserCreationForm
)
def test_user_signup_page_submission_works(self):
post_data = {
"email": "[email protected]",
"password1": "abcabcabc",
"password2": "abcabcabc",
}
with patch.object(
forms.UserCreationForm, "send_mail"
) as mock_send:
response = self.client.post(
reverse("signup"), post_data
)
self.assertEqual(response.status_code, 302)
self.assertTrue(
models.User.objects.filter(
email="[email protected]"
).exists()
)
self.assertTrue(
auth.get_user(self.client).is_authenticated
)
mock_send.assert_called_once()
| [
"[email protected]"
]
| |
b989b224d13ef5e656c848699d9ca920d77932bc | 5cc4c0048d5ef16b0dd14d903d99b399b02b99ed | /core_file/file-line-iterate.py | 6ce1a731fb8f438fb73e9b238fdfd8e28de21f82 | [
"MIT-0"
]
| permissive | dmilos/python_tutorial | c09261c3a5a704030834d7814a6e47ddbfbe4402 | f2f901a68cbc696e19350455da9b7db312d1a9fa | refs/heads/master | 2021-01-10T13:02:36.763154 | 2018-02-22T20:14:20 | 2018-02-22T20:14:20 | 53,527,554 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 152 | py | #!/usr/bin/env python
myfile = open( "./test.txt", "r" )
# Line include new line at the end
for line in myfile :
print( "linija %s", line ) | [
"[email protected]"
]
| |
1e146d845d313b11524d950a0d28443076052f4a | 786027545626c24486753351d6e19093b261cd7d | /ghidra9.2.1_pyi/ghidra/javaclass/format/attributes/StackMapTableAttribute.pyi | f6201fa5b74458d446d4a3944b3ecdfa9b7c6897 | [
"MIT"
]
| permissive | kohnakagawa/ghidra_scripts | 51cede1874ef2b1fed901b802316449b4bf25661 | 5afed1234a7266c0624ec445133280993077c376 | refs/heads/main | 2023-03-25T08:25:16.842142 | 2021-03-18T13:31:40 | 2021-03-18T13:31:40 | 338,577,905 | 14 | 1 | null | null | null | null | UTF-8 | Python | false | false | 880 | pyi | import ghidra.javaclass.format.attributes
import ghidra.program.model.data
import java.lang
class StackMapTableAttribute(ghidra.javaclass.format.attributes.AbstractAttributeInfo):
def __init__(self, __a0: ghidra.app.util.bin.BinaryReader): ...
def equals(self, __a0: object) -> bool: ...
def getAttributeLength(self) -> int: ...
def getAttributeNameIndex(self) -> int: ...
def getClass(self) -> java.lang.Class: ...
def getOffset(self) -> long: ...
def hashCode(self) -> int: ...
def notify(self) -> None: ...
def notifyAll(self) -> None: ...
def toDataType(self) -> ghidra.program.model.data.DataType: ...
def toString(self) -> unicode: ...
@overload
def wait(self) -> None: ...
@overload
def wait(self, __a0: long) -> None: ...
@overload
def wait(self, __a0: long, __a1: int) -> None: ...
| [
"[email protected]"
]
| |
00234a17532502f91ddf425841d5d93e5ac7f756 | a2e638cd0c124254e67963bda62c21351881ee75 | /Python modules/collateral_cashflow_upload.py | 34c9fb5c9ecfddfb13e5e677400582a6070bce6b | []
| no_license | webclinic017/fa-absa-py3 | 1ffa98f2bd72d541166fdaac421d3c84147a4e01 | 5e7cc7de3495145501ca53deb9efee2233ab7e1c | refs/heads/main | 2023-04-19T10:41:21.273030 | 2021-05-10T08:50:05 | 2021-05-10T08:50:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,643 | py | ''' Cashflow upload file processing module.
This processor handles a file used for cashflow insertion on Call
Accounts in FA.
Date: 2014-02-24
Requester: Alex Boshoff
Developer: Jan Sinkora
'''
import os
import acm
import codecs
from at_feed_processing import SimpleCSVFeedProcessor, notify_log
import at_addInfo
class CashflowCSVFeedProcessor(SimpleCSVFeedProcessor):
'''Processor used for cashflow insertion.'''
# This must be platform and locale independent.
# In this case it's simpler to put the list here than using complex
# tools like calendar or locale.
MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
'Oct', 'Nov', 'Dec']
# Required columns.
COLUMN_ACCOUNT_NUMBER = 'Account_Number'
COLUMN_FIXED_AMOUNT = 'CM_Nominal'
COLUMN_PAY_DATE = 'Settlement_Date'
_required_columns = [COLUMN_PAY_DATE, COLUMN_ACCOUNT_NUMBER,
COLUMN_FIXED_AMOUNT]
def parse_date(self, raw_date):
'''Parses the input date.
The expected format is D-Mon-YYYY where Mon is a three-letter
abbreviation of the month name in english.
Returns an ACM time.
'''
(day, month, year) = raw_date.split('-')
return acm.Time.DateFromYMD(
int(year), self.MONTHS.index(month) + 1, int(day))
def parse_amount(self, raw_amount):
'''Converts the input amount to a float.
The expected input is str('A,BCD.EFGH')
'''
return float(raw_amount.replace(',', ''))
@staticmethod
def _prepare_csv_line(line):
'''The file is in a weird MS Excel csv format, each line needs to be
prepared first.
Input line format:
u'\n"column1,column2,""column,with,commas"",column3"\r'
Output line format:
u'column1,column2,"column,with,commas",column3'
'''
return line.strip()[1:-1].replace('""', '"')
def _generate_records(self):
'''Handles file decoding before the DictReader opens the file.'''
# This replaces self._data with a generator.
decoded_lines = codecs.iterdecode(self._data, 'utf-16')
self._data = (self._prepare_csv_line(line) for line in decoded_lines)
return super(CashflowCSVFeedProcessor, self)._generate_records()
def _process_record(self, record, dry_run):
'''Handles the individual cashflow inserting instructions.'''
index, cashflow_data = record
account_number = cashflow_data[self.COLUMN_ACCOUNT_NUMBER].strip()
# -9,955.95
raw_fixed_amount = cashflow_data[self.COLUMN_FIXED_AMOUNT]
fixed_amount = self.parse_amount(raw_fixed_amount)
# 1-Oct-13
raw_date = cashflow_data[self.COLUMN_PAY_DATE]
date = self.parse_date(raw_date)
date_today = acm.Time.DateToday()
if date < date_today:
message = 'Cashflow on line {0} is backdated, skipping.'
raise self.RecordProcessingException(message.format(index))
if date > date_today:
message = 'Cashflow on line {0} is dated in the future, skipping.'
raise self.RecordProcessingException(message.format(index))
# Look for the exact object ID of the instrument.
instrument = acm.FDeposit[account_number]
if not instrument:
self._log_line(index, 'Call account {0} not found'.format(
account_number))
# Try to remove the dashes (the old naming convention).
account_number = account_number.replace('-', '')
self._log_line(index, 'Looking for call account {0}'.format(
account_number))
instrument = acm.FDeposit[account_number]
if not instrument:
self._log_line(index,
'Call account {0} not found either, aborting.'.format(
account_number))
message = 'Line {0}: Call account {1} not found.'.format(
index, account_number)
raise self.RecordProcessingException(message)
self._log_line(index, 'Instrument found: ' + instrument.Name())
self._create_cashflow(instrument, fixed_amount, date, dry_run)
def _create_cashflow(self, instrument, fixed_amount, date, dry_run):
'''Creates the cashflow on the instrument if it doesn't exist yet.'''
statuses = ('BO-BO Confirmed', 'BO Confirmed', 'FO Confirmed')
selected_trade = None
trades = [trade for trade in instrument.Trades()
if trade.Status() != 'Void']
# Look for the selected trade according to the priority
# defined in the tuple statuses (higher priority statuses
# are in the beginning of the tuple).
for status in statuses:
if not selected_trade:
for trade in trades:
if trade.Status() == status:
selected_trade = trade
break
if not selected_trade:
msg = 'A confirmed trade was not found for {0}.'.format(
instrument.Name())
raise self.RecordProcessingException(msg)
instrument_trades = acm.FList()
instrument_trades.Add(selected_trade)
leg = instrument.Legs()[0]
for cashflow in leg.CashFlows():
if (cashflow.PayDate() == date
and cashflow.CashFlowType() == 'Fixed Amount'
and cashflow.FixedAmount() == fixed_amount):
msg = ('There is already a cashflow with the specified nominal '
'and date: {0} on {1}')
raise self.RecordProcessingException(msg.format(
date, instrument.Name()))
self._log('Adjusting deposit with Fixed Amount: '
'{0} and date: {1}'.format(fixed_amount, date))
if dry_run:
self._log('Dry run: No cashflows are being added.')
else:
# Adjust the deposit. The method requires trade quantity
# because the cashflow will get automatically adjusted so that
# cashflow_fixed_amount * trade_quantity = requested fixed amount
action_result = instrument.AdjustDeposit(fixed_amount, date,
selected_trade.Quantity())
if action_result:
acm.PollDbEvents()
cashflows = instrument.Legs()[0].CashFlows()
last_cashflow = max(cashflows,
key=lambda cashflow: cashflow.Oid())
# This addinfo is required for filtering in Settlement Manager.
at_addInfo.save_or_delete(last_cashflow, 'Settle_Type',
'Settle')
self._log('Successfully adjusted deposit.')
else:
message = ('Failed to adjust deposit {0}, most likely due to '
'balance limit breach. See log for detailed info.')
raise self.RecordProcessingException(message.format(
instrument.Name()))
ael_variables = CashflowCSVFeedProcessor.ael_variables(
file_dir='C:/_temp',
file_name='CollateralMovementsExtractFrontArenaAbsa.csv')
def ael_main(params):
'''Entry point for task execution.'''
file_dir = params['file_dir']
file_name = params['file_name']
file_path = os.path.join(file_dir, file_name)
dry_run = params['dry_run']
processor = CashflowCSVFeedProcessor(file_path)
processor.add_error_notifier(notify_log)
processor.process(dry_run)
if not processor.errors:
print("Completed successfully")
| [
"[email protected]"
]
| |
b64644642055cc1cb33c6efcb1e586cbf510f178 | 46404c77e04907225475e9d8be6e0fd33227c0b1 | /recur val.py | b7b3e808a31c1be5b2231896db312a9a7beaae49 | []
| no_license | govardhananprabhu/DS-task- | 84b46e275406fde2d56c301fd1b425b256b29064 | bf54f3d527f52f61fefc241f955072f5ed9a6558 | refs/heads/master | 2023-01-16T07:41:27.064836 | 2020-11-27T11:52:50 | 2020-11-27T11:52:50 | 272,928,074 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 861 | py | """
Given a fraction, find a recurring sequence of digits if exists, otherwise, print -1.
H 5 T 1500
Tag math
In des
First line contains 2 space separated integers N, D, denotes numerator and denominator.
Ot des
Print the sequence else -1.
8 3
6
50 22
27
11 2
-1
23 4
-1
12 5
-1
Exp
8/3 = 2.66666666.......
Hint
Find the quotient value with decimal values and check any recurring occurs.
"""
def fractionToDecimal(numr, denr):
res = ""
mp = {}
rem = numr % denr
while ((rem != 0) and (rem not in mp)):
mp[rem] = len(res)
rem = rem * 10
res_part = rem // denr
res += str(res_part)
rem = rem % denr
if (rem == 0):
return ""
else:
return res[mp[rem]:]
numr, denr = map(int,input().split())
res = fractionToDecimal(numr, denr)
if (res == ""):
print("-1")
else:
print(res)
| [
"[email protected]"
]
| |
84e0d8697dea8055b305290bddb9cddcbace2a64 | e5bbdd55b78285c6d3348f0212654ab8cad65ad7 | /src/di_replication/repl_select/repl_select.py | 494f35cb4a7ea6ffca0dd80360416741a72168e9 | [
"Apache-2.0"
]
| permissive | jeremyyma/data-intelligence-replication | 49892c99f2f528e565a0d6704304c294fa5dfb3c | 0d657b47a5a67fbaf2ae717a206db309ac49f592 | refs/heads/main | 2023-02-02T20:43:11.040492 | 2020-12-14T11:22:42 | 2020-12-14T11:22:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,589 | py | import sdi_utils.gensolution as gs
import os
import subprocess
import logging
import io
try:
api
except NameError:
class api:
queue = list()
class Message:
def __init__(self, body=None, attributes=""):
self.body = body
self.attributes = attributes
def send(port, msg):
if port == outports[1]['name']:
api.queue.append(msg)
class config:
## Meta data
config_params = dict()
version = '0.0.1'
tags = {}
operator_name = 'repl_select'
operator_description = "Repl. Select"
operator_description_long = "Creates SELECT SQL-statement for replication."
add_readme = dict()
add_readme["References"] = ""
format = '%(asctime)s | %(levelname)s | %(name)s | %(message)s'
logging.basicConfig(level=logging.DEBUG, format=format, datefmt='%H:%M:%S')
logger = logging.getLogger(name=config.operator_name)
# catching logger messages for separate output
log_stream = io.StringIO()
sh = logging.StreamHandler(stream=log_stream)
sh.setFormatter(logging.Formatter('%(asctime)s | %(levelname)s | %(name)s | %(message)s', datefmt='%H:%M:%S'))
api.logger.addHandler(sh)
def process(msg):
att = dict(msg.attributes)
att['operator'] = 'repl_select'
api.logger.info("Process started")
api.logger.debug('Attributes: {} - {}'.format(str(msg.attributes),str(att)))
sql = 'SELECT * FROM {table} WHERE \"DIREPL_STATUS\" = \'B\' AND \"DIREPL_PID\" = \'{pid}\' '.\
format(table=att['replication_table'],pid= att['pid'])
att['sql'] = sql
msg = api.Message(attributes=att,body = sql)
api.logger.info('SELECT statement: {}'.format(sql))
api.send(outports[1]['name'], msg)
log = log_stream.getvalue()
if len(log) > 0 :
api.send(outports[0]['name'], log )
inports = [{'name': 'trigger', 'type': 'message.table', "description": "Input data"}]
outports = [{'name': 'log', 'type': 'string', "description": "Logging data"}, \
{'name': 'msg', 'type': 'message', "description": "message with sql statement"}]
#api.set_port_callback(inports[0]['name'], process)
def test_operator():
msg = api.Message(attributes={'pid': 123123213, 'replication_table':'REPL_TABLE','base_table':'REPL_TABLE','latency':30,'data_outcome':True},body='')
process(msg)
for m in api.queue:
print('Attributes: \n{}'.format(m.attributes))
print('Body: \n{}'.format(m.body))
if __name__ == '__main__':
test_operator()
if True:
basename = os.path.basename(__file__[:-3])
package_name = os.path.basename(os.path.dirname(os.path.dirname(__file__)))
project_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
solution_name = '{}_{}.zip'.format(basename, api.config.version)
package_name_ver = '{}_{}'.format(package_name, api.config.version)
solution_dir = os.path.join(project_dir, 'solution/operators', package_name_ver)
solution_file = os.path.join(project_dir, 'solution/operators', solution_name)
# rm solution directory
subprocess.run(["rm", '-r', solution_dir])
# create solution directory with generated operator files
gs.gensolution(os.path.realpath(__file__), api.config, inports, outports)
# Bundle solution directory with generated operator files
subprocess.run(["vctl", "solution", "bundle", solution_dir, "-t", solution_file])
| [
"[email protected]"
]
| |
818923ccce4bf77935b2fddf1d893a41888b262d | d2845579ea6aa51a2e150f0ffe6ccfda85d035ce | /kernel/components/deeplearning/vertnn/strategy/comparision.py | 1d5e89515b51b6fc36998443c53c9efe2699fe86 | [
"Apache-2.0"
]
| permissive | as23187/WeFe | d8de9ff626f9f3e5d98e0850b0b717a80fd73e72 | ba92871d4b1d2eef6c606c34795f4575e84703bd | refs/heads/main | 2023-08-22T12:01:06.718246 | 2021-10-28T01:54:05 | 2021-10-28T01:54:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,202 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2021 Tianmian Tech. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Copyright 2019 The FATE Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import collections
from sortedcontainers import SortedList
class Comparision(object):
def __init__(self, size):
self._histograms = collections.deque(maxlen=size)
self._sorted_hist = SortedList()
def add(self, value):
if len(self._histograms) == self._histograms.maxlen:
self._sorted_hist.remove(self._histograms[0])
self._histograms.append(value)
self._sorted_hist.add(value)
def _get_lt_count(self, value):
return self._sorted_hist.bisect_left(value=value)
def _get_le_count(self, value):
return self._sorted_hist.bisect_right(value=value)
def _get_size(self):
return len(self._histograms)
def get_rate(self, value):
return self._get_lt_count(value) / self._get_size()
def is_topk(self, value, k):
if self._get_size() <= k:
return True
return self._get_size() - self._get_le_count(value) < k
| [
"[email protected]"
]
| |
edb564ba939ea966c5b45a3dd7d01f63a02ba3d4 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/116/usersdata/246/26079/submittedfiles/al1.py | 935a3c4a0c1e0e425ef0a807d2b02ca8247cab6f | []
| no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 193 | py | from __future__ import division
#INICIE AQUI SEU CODIGO
r = float(input'Digite um valor para raio de uma lata: ')
a = float(input'Digite um valor para altura de uma lata: ')
v = (1314159*r*r*a) | [
"[email protected]"
]
| |
4bb146066e78746ff4f0372de20a9f1c49acb2e5 | aee7a6cca6a2674f044d7a1cacf7c72d7438b8b1 | /cup_skills/stats/average_rewardpdg_all_5_1.py | 582c12cf4f3633ac20a9f379890193040cc2084b | []
| no_license | lagrassa/rl-erase | efd302526504c1157fa5810e886caccba8570f1b | 0df5c8ce4835c4641a2303d11095e9c27307f754 | refs/heads/master | 2021-05-13T13:36:12.901945 | 2019-08-01T02:13:15 | 2019-08-01T02:13:15 | 116,709,555 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,395 | py | 14.4144144144,2.25225225225,21.6216216216,20.7207207207,19.3693693694,22.0720720721,19.8198198198,21.1711711712,19.8198198198,20.7207207207,19.8198198198,20.7207207207,22.0720720721,18.9189189189,20.2702702703,21.6216216216,18.9189189189,20.7207207207,18.4684684685,20.2702702703,22.972972973,18.4684684685,22.0720720721,20.2702702703,21.1711711712,19.8198198198,21.6216216216,21.1711711712,18.9189189189,21.1711711712,21.6216216216,22.5225225225,20.7207207207,21.1711711712,19.3693693694,19.8198198198,20.7207207207,21.1711711712,22.5225225225,16.2162162162,22.0720720721,17.5675675676,18.9189189189,21.1711711712,21.1711711712,17.5675675676,21.6216216216,21.1711711712,22.0720720721,20.7207207207,19.8198198198,22.972972973,21.1711711712,20.2702702703,21.6216216216,22.5225225225,22.972972973,20.2702702703,20.7207207207,21.1711711712,21.6216216216,19.3693693694,21.6216216216,19.3693693694,21.6216216216,21.6216216216,21.1711711712,23.4234234234,22.0720720721,21.1711711712,22.5225225225,0.900900900901,22.972972973,21.1711711712,23.4234234234,20.7207207207,21.1711711712,22.972972973,21.1711711712,18.9189189189,20.7207207207,9.45945945946,21.1711711712,20.7207207207,21.1711711712,21.6216216216,21.6216216216,20.7207207207,21.1711711712,22.5225225225,22.5225225225,19.8198198198,20.2702702703,21.1711711712,22.972972973,20.2702702703,20.2702702703,22.0720720721,22.5225225225,21.1711711712, | [
"[email protected]"
]
| |
055f804ec52dcf7c05f7497a79d0205ddbe13427 | da3df36ce182dcbe08c8addb1e979019b456be9f | /mysite/settings/local.py | 0a0733fe80e0a92a50795f6f9f373f2a14f9599e | []
| no_license | miyanda2/Soduku | 4cfc0a1913539a4828f85969d162368358909a5c | 6bf563f264a6585fb9382bebc3a706247eb703a2 | refs/heads/master | 2022-11-27T04:35:48.235690 | 2019-11-13T12:24:41 | 2019-11-13T12:24:41 | 221,199,889 | 0 | 2 | null | 2022-11-22T04:49:00 | 2019-11-12T11:17:38 | Python | UTF-8 | Python | false | false | 3,088 | py | """
Django settings for mysite project.
Generated by 'django-admin startproject' using Django 2.2.7.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'h%33kmk8g+gk)mg#zd^j0zw(#)c5&hc494(&#tc7en0+#ta9n6'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'mysite.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'mysite.wsgi.application'
# Database
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
# Password validation
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
# Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.2/howto/static-files/
STATIC_URL = '/static/'
| [
"[email protected]"
]
| |
4276a7df350ae4e7a94297215ce00af87d663830 | 31e32761e3572f8adeb690053ebfcc26390a87b5 | /leetcode/wiggle_sort.py | 7c59f03736ff4408f768d39e0d8396028ae29ab6 | []
| no_license | sanshitsharma/pySamples | 738b95c758d65e3360f3ee7221591d7b78c7ba1d | ce06f1e38e0c7a142af26e8883c81b7a5dfc7edc | refs/heads/master | 2021-06-05T19:01:40.279148 | 2021-02-02T21:52:31 | 2021-02-02T21:52:31 | 110,218,258 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,403 | py | #!/usr/bin/python
class Solution(object):
def wiggleSort(self, nums):
"""
:type nums: List[int]
:rtype: void Do not return anything, modify nums in-place instead.
"""
xL = True
for i in range(len(nums)-1):
if xL:
if nums[i] > nums[i+1]:
nums[i], nums[i+1] = nums[i+1], nums[i]
elif nums[i] == nums[i+1]:
# Find next bigger number and swap with i+1
j = i + 1
while j < len(nums) and nums[j] <= nums[i]:
j += 1
if j < len(nums):
nums[i+1], nums[j] = nums[j], nums[i+1]
elif not xL:
if nums[i] < nums[i+1]:
nums[i], nums[i+1] = nums[i+1], nums[i]
elif nums[i] == nums[i+1]:
# Find next smaller number and swap with i+1
j = i + 1
while j < len(nums) and nums[j] >= nums[i]:
j += 1
if j < len(nums):
nums[i+1], nums[j] = nums[j], nums[i+1]
xL = not xL
if __name__ == "__main__":
#s = [3, 5, 2, 1, 6, 4]
#s = [5, 4, 3, 7, 9]
#s = [1, 2, 1, 1, 3, 6]
s = [1,1,1,1,2,2,2]
print "Before:", s
Solution().wiggleSort(s)
print "After :", s | [
"[email protected]"
]
| |
122007de19f703c44d45c1a7664727c0419ff266 | eda134f2b06c3e1f7a2337971b61822469ba699b | /xos/synchronizers/onboarding/xosbuilder.py | e7a3e1c4015884b815ad8ae56fd8b62e1ce4a7c4 | [
"Apache-2.0"
]
| permissive | arpiagariu/xos | cbf9049ce66bca36a0388d7d2328384823f383ba | 62b23d1bb40604b19d2e86a2aed1a8bc686723eb | refs/heads/master | 2021-01-09T05:48:13.290227 | 2016-06-15T20:35:08 | 2016-06-15T20:35:08 | 58,976,999 | 0 | 0 | null | 2016-05-20T18:40:16 | 2016-05-17T00:21:15 | Python | UTF-8 | Python | false | false | 14,585 | py | import os
import base64
import jinja2
import string
import sys
import urllib2
import urlparse
import xmlrpclib
from xos.config import Config
from core.models import Service, ServiceController, ServiceControllerResource, XOS
from xos.logger import Logger, logging
logger = Logger(level=logging.INFO)
class XOSBuilder(object):
UI_KINDS=["models", "admin", "admin_template", "django_library", "rest_service", "rest_tenant", "tosca_custom_types", "tosca_resource","public_key"]
SYNC_CONTROLLER_KINDS=["synchronizer", "private_key", "public_key"]
SYNC_ALLCONTROLLER_KINDS=["models", "django_library"]
def __init__(self):
self.source_ui_image = "xosproject/xos"
self.source_sync_image = "xosproject/xos-synchronizer-openstack"
self.build_dir = "/opt/xos/BUILD/"
# stuff that has to do with downloading
def get_dest_dir(self, scr):
xos_base = "opt/xos"
service_name = scr.service_controller.name
base_dirs = {"models": "%s/services/%s/" % (xos_base, service_name),
"admin": "%s/services/%s/" % (xos_base, service_name),
"admin_template": "%s/services/%s/templates/" % (xos_base, service_name),
"django_library": "%s/services/%s/" % (xos_base, service_name),
"synchronizer": "%s/synchronizers/%s/" % (xos_base, service_name),
"tosca_custom_types": "%s/tosca/custom_types/" % (xos_base),
"tosca_resource": "%s/tosca/resources/" % (xos_base),
"rest_service": "%s/api/service/" % (xos_base),
"rest_tenant": "%s/api/tenant/" % (xos_base),
"private_key": "%s/services/%s/keys/" % (xos_base, service_name),
"public_key": "%s/services/%s/keys/" % (xos_base, service_name)}
dest_dir = base_dirs[scr.kind]
if scr.subdirectory:
dest_dir = os.path.join(dest_dir, scr.subdirectory)
return dest_dir
def get_build_fn(self, scr):
dest_dir = self.get_dest_dir(scr)
dest_fn = os.path.split(urlparse.urlsplit(scr.full_url).path)[-1]
return os.path.join(dest_dir, dest_fn)
def get_download_fn(self, scr):
dest_fn = self.get_build_fn(scr)
return os.path.join(self.build_dir, dest_fn)
def read_manifest(self, scr, fn):
manifest = []
manifest_lines = file(fn).readlines()
manifest_lines = [x.strip() for x in manifest_lines]
manifest_lines = [x for x in manifest_lines if x]
for line in manifest_lines:
url_parts = urlparse.urlsplit(scr.full_url)
new_path = os.path.join(os.path.join(*os.path.split(url_parts.path)[:-1]),line)
url = urlparse.urlunsplit( (url_parts.scheme, url_parts.netloc, new_path, url_parts.query, url_parts.fragment) )
build_fn = os.path.join(self.get_dest_dir(scr), line)
download_fn = os.path.join(self.build_dir, build_fn)
manifest.append( (url, download_fn, build_fn) )
return manifest
def download_file(self, url, dest_fn):
logger.info("Download %s to %s" % (url, dest_fn))
if not os.path.exists(os.path.dirname(dest_fn)):
os.makedirs(os.path.dirname(dest_fn))
obj = urllib2.urlopen(url)
file(dest_fn,"w").write(obj.read())
# make python files executable
if dest_fn.endswith(".py"): # and contents.startswith("#!"):
os.chmod(dest_fn, 0755)
def download_resource(self, scr):
if scr.format == "manifest":
manifest_fn = self.get_download_fn(scr)
self.download_file(scr.full_url, manifest_fn)
manifest = self.read_manifest(scr, manifest_fn)
for (url, download_fn, build_fn) in manifest:
self.download_file(url, download_fn)
else:
self.download_file(scr.full_url, self.get_download_fn(scr))
# XXX docker creates a new container and commits it for every single COPY
# line in the dockerfile. This causes services with many files (for example,
# vsg) to take ~ 10-15 minutes to build the docker file. So instead we'll copy
# the whole build directory, and then run a script that copies the files
# we want.
# def get_docker_lines(self, scr):
# if scr.format == "manifest":
# manifest_fn = self.get_download_fn(scr)
# manifest = self.read_manifest(scr, manifest_fn)
# lines = []
# for (url, download_fn, build_fn) in manifest:
# script.append("mkdir -p
# #lines.append("COPY %s /%s" % (build_fn, build_fn))
# return lines
# else:
# build_fn = self.get_build_fn(scr)
# #return ["COPY %s /%s" % (build_fn, build_fn)]
# def get_controller_docker_lines(self, controller, kinds):
# need_service_init_py = False
# dockerfile=[]
# for scr in controller.service_controller_resources.all():
# if scr.kind in kinds:
# lines = self.get_docker_lines(scr)
# dockerfile = dockerfile + lines
# if scr.kind in ["admin", "models"]:
# need_service_init_py = True
#
# if need_service_init_py:
# file(os.path.join(self.build_dir, "opt/xos/empty__init__.py"),"w").write("")
# dockerfile.append("COPY opt/xos/empty__init__.py /opt/xos/services/%s/__init__.py" % controller.name)
#
# return dockerfile
def get_script_lines(self, scr):
if scr.format == "manifest":
manifest_fn = self.get_download_fn(scr)
manifest = self.read_manifest(scr, manifest_fn)
lines = []
for (url, download_fn, build_fn) in manifest:
lines.append("mkdir -p /%s" % os.path.dirname(build_fn))
lines.append("cp /build/%s /%s" % (build_fn, build_fn))
return lines
else:
build_fn = self.get_build_fn(scr)
return ["mkdir -p /%s" % os.path.dirname(build_fn),
"cp /build/%s /%s" % (build_fn, build_fn)]
def get_controller_script_lines(self, controller, kinds):
need_service_init_py = False
script=[]
for scr in controller.service_controller_resources.all():
if scr.kind in kinds:
lines = self.get_script_lines(scr)
script = script + lines
if scr.kind in ["admin", "models"]:
need_service_init_py = True
if need_service_init_py:
script.append("echo > /opt/xos/services/%s/__init__.py" % controller.name)
return script
def check_controller_unready(self, controller):
unready_resources=[]
for scr in controller.service_controller_resources.all():
if (not scr.backend_status) or (not scr.backend_status.startswith("1")):
unready_resources.append(scr)
return unready_resources
# stuff that has to do with building
def create_xos_app_data(self, name, script, app_list, migration_list):
if not os.path.exists(os.path.join(self.build_dir,"opt/xos/xos")):
os.makedirs(os.path.join(self.build_dir,"opt/xos/xos"))
if app_list:
script.append("mkdir -p /opt/xos/xos")
script.append("cp /build/opt/xos/xos/%s_xosbuilder_app_list /opt/xos/xos/xosbuilder_app_list" % name)
#dockerfile.append("COPY opt/xos/xos/%s_xosbuilder_app_list /opt/xos/xos/xosbuilder_app_list" % name)
file(os.path.join(self.build_dir, "opt/xos/xos/%s_xosbuilder_app_list") % name, "w").write("\n".join(app_list)+"\n")
if migration_list:
script.append("mkdir -p /opt/xos/xos")
script.append("cp /build/opt/xos/xos/%s_xosbuilder_migration_list /opt/xos/xos/xosbuilder_migration_list" % name)
#dockerfile.append("COPY opt/xos/xos/%s_xosbuilder_migration_list /opt/xos/xos/xosbuilder_migration_list" % name)
file(os.path.join(self.build_dir, "opt/xos/xos/%s_xosbuilder_migration_list") % name, "w").write("\n".join(migration_list)+"\n")
def create_ui_dockerfile(self):
dockerfile_fn = "Dockerfile.UI"
app_list = []
migration_list = []
dockerfile = ["FROM %s" % self.source_ui_image]
script = []
for controller in ServiceController.objects.all():
if self.check_controller_unready(controller):
logger.warning("Controller %s has unready resources" % str(controller))
continue
#dockerfile = dockerfile + self.get_controller_docker_lines(controller, self.UI_KINDS)
script = script + self.get_controller_script_lines(controller, self.UI_KINDS)
if controller.service_controller_resources.filter(kind="models").exists():
app_list.append("services." + controller.name)
migration_list.append(controller.name)
self.create_xos_app_data("ui", script, app_list, migration_list)
file(os.path.join(self.build_dir, "install-xos.sh"), "w").write("\n".join(script)+"\n")
dockerfile.append("COPY . /build/")
dockerfile.append("RUN bash /build/install-xos.sh")
file(os.path.join(self.build_dir, dockerfile_fn), "w").write("\n".join(dockerfile)+"\n")
return {"dockerfile_fn": dockerfile_fn,
"docker_image_name": "xosproject/xos-ui"}
def create_synchronizer_dockerfile(self, controller):
# bake in the synchronizer from this controller
sync_lines = self.get_controller_script_lines(controller, self.SYNC_CONTROLLER_KINDS)
if not sync_lines:
return []
dockerfile_fn = "Dockerfile.%s" % controller.name
dockerfile = ["FROM %s" % self.source_sync_image]
script = []
# Now bake in models from this controller as well as the others
# It's important to bake all services in, because some services'
# synchronizers may depend on models from another service.
app_list = []
for c in ServiceController.objects.all():
#dockerfile = dockerfile + self.get_controller_docker_lines(c, self.SYNC_ALLCONTROLLER_KINDS)
script = script + self.get_controller_script_lines(c, self.SYNC_ALLCONTROLLER_KINDS)
if controller.service_controller_resources.filter(kind="models").exists():
app_list.append("services." + c.name)
self.create_xos_app_data(controller.name, script, app_list, None)
script = script + sync_lines
file(os.path.join(self.build_dir, "install-%s.sh" % controller.name), "w").write("\n".join(script)+"\n")
dockerfile.append("COPY . /build/")
dockerfile.append("RUN bash /build/install-%s.sh" % controller.name)
file(os.path.join(self.build_dir, dockerfile_fn), "w").write("\n".join(dockerfile)+"\n")
return {"dockerfile_fn": dockerfile_fn,
"docker_image_name": "xosproject/xos-synchronizer-%s" % controller.name}
def create_docker_compose(self):
xos = XOS.objects.all()[0]
volume_list = []
for volume in xos.volumes.all():
volume_list.append({"host_path": volume.host_path,
"container_path": volume.container_path,
"read_only": volume.read_only})
containers = {}
containers["xos_db"] = \
{"image": "xosproject/xos-postgres",
"expose": [5432]}
db_container_name = xos.docker_project_name + "_xos_db_1"
containers["xos_ui"] = \
{"image": "xosproject/xos-ui",
"command": "python /opt/xos/manage.py runserver 0.0.0.0:%d --insecure --makemigrations" % xos.ui_port,
"ports": {"%d"%xos.ui_port : "%d"%xos.ui_port},
"links": ["xos_db"],
#"external_links": [db_container_name],
"volumes": volume_list}
# containers["xos_bootstrap_ui"] = {"image": "xosproject/xos",
# "command": "python /opt/xos/manage.py runserver 0.0.0.0:%d --insecure --makemigrations" % xos.bootstrap_ui_port,
# "ports": {"%d"%xos.bootstrap_ui_port : "%d"%xos.bootstrap_ui_port},
# #"external_links": [db_container_name],
# "links": ["xos_db"],
# "volumes": volume_list}
if not xos.frontend_only:
for c in ServiceController.objects.all():
if self.check_controller_unready(c):
logger.warning("Controller %s has unready resources" % str(c))
continue
if c.service_controller_resources.filter(kind="synchronizer").exists():
if c.synchronizer_run and c.synchronizer_config:
command = 'bash -c "sleep 120; cd /opt/xos/synchronizers/%s; python ./%s -C %s"' % (c.name, c.synchronizer_run, c.synchronizer_config)
else:
command = 'bash -c "sleep 120; cd /opt/xos/synchronizers/%s; bash ./run.sh"' % c.name
containers["xos_synchronizer_%s" % c.name] = \
{"image": "xosproject/xos-synchronizer-%s" % c.name,
"command": command,
#"external_links": [db_container_name],
"links": ["xos_db"],
"volumes": volume_list}
vars = { "containers": containers }
template_loader = jinja2.FileSystemLoader( "/opt/xos/synchronizers/onboarding/templates/" )
template_env = jinja2.Environment(loader=template_loader)
template = template_env.get_template("docker-compose.yml.j2")
buffer = template.render(vars)
if not os.path.exists("/opt/xos/synchronizers/onboarding/docker-compose"):
os.makedirs("/opt/xos/synchronizers/onboarding/docker-compose")
file("/opt/xos/synchronizers/onboarding/docker-compose/docker-compose.yml", "w").write(buffer)
# def build_xos(self):
# dockerfiles=[]
# dockerfiles.append(self.create_ui_dockerfile())
#
# for controller in ServiceController.objects.all():
# dockerfiles.append(self.create_synchronizer_dockerfile(controller))
| [
"[email protected]"
]
| |
10515301924f9f176672d3cbe62d8bf843c421a8 | 212d39dd0e12d42ce9b830de7e8738504dda2428 | /concurrency/example2_server.py | 30adec7d39b47f771181c70d78f25b4bfc47d703 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
]
| permissive | waveform80/presentations | a0c7869f5acd699922f84ed1b510519c00472887 | 9e8d9f63d4e841e573d5b9b01c234128d49c29c5 | refs/heads/master | 2023-05-12T21:29:29.083191 | 2023-05-04T07:29:59 | 2023-05-04T07:29:59 | 21,940,196 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 346 | py | import zmq
from random import random
from time import time, sleep
def get_random(lo=0, hi=1):
start = time()
sleep(lo + random() * (hi - lo))
return time() - start
ctx = zmq.Context.instance()
sock = ctx.socket(zmq.REP)
sock.bind('ipc:///tmp/random')
while True:
lo, hi = sock.recv_json()
sock.send_json(get_random(lo, hi))
| [
"[email protected]"
]
| |
885d53423108c9a0f036b95a5545abcea83be000 | e262e64415335060868e9f7f73ab8701e3be2f7b | /.history/Test_001.py/test_feature_story_20201125100407.py | d418b5c89b1e03e1134aa5f12ed28b99ae92cbcd | []
| no_license | Allison001/developer_test | 6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63 | b8e04b4b248b0c10a35e93128a5323165990052c | refs/heads/master | 2023-06-18T08:46:40.202383 | 2021-07-23T03:31:54 | 2021-07-23T03:31:54 | 322,807,303 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 24 | py | import pytest
import all | [
"[email protected]"
]
| |
f8d62ee48c69b5de4b90aeafd2ff92dae774784e | fef66ed221eecdcb2e14a4b69c83a031ff4c7ef8 | /pydantic/generics.py | ab3ea52811062ebc1c559a039bd2185d007dd626 | [
"MIT"
]
| permissive | haizaar/pydantic | 5d60de8573ad847b39cde1b2dfc691be0a243388 | a0c48d62ad0fc614bb5810191cddbdbe11f697af | refs/heads/master | 2020-07-13T10:42:56.016274 | 2019-09-30T11:45:06 | 2019-09-30T11:45:06 | 205,067,533 | 0 | 0 | null | 2019-08-29T02:53:29 | 2019-08-29T02:53:29 | null | UTF-8 | Python | false | false | 3,723 | py | from typing import Any, ClassVar, Dict, Generic, Tuple, Type, TypeVar, Union, get_type_hints
from pydantic.class_validators import gather_validators
from pydantic.main import BaseModel, create_model
_generic_types_cache: Dict[Tuple[Type[Any], Union[Any, Tuple[Any, ...]]], Type[BaseModel]] = {}
GenericModelT = TypeVar('GenericModelT', bound='GenericModel')
class GenericModel(BaseModel):
__slots__ = ()
__concrete__: ClassVar[bool] = False
def __new__(cls, *args: Any, **kwargs: Any) -> Any:
if cls.__concrete__:
return super().__new__(cls)
else:
raise TypeError(f'Type {cls.__name__} cannot be used without generic parameters, e.g. {cls.__name__}[T]')
def __class_getitem__( # type: ignore
cls: Type[GenericModelT], params: Union[Type[Any], Tuple[Type[Any], ...]]
) -> Type[BaseModel]:
cached = _generic_types_cache.get((cls, params))
if cached is not None:
return cached
if cls.__concrete__:
raise TypeError('Cannot parameterize a concrete instantiation of a generic model')
if not isinstance(params, tuple):
params = (params,)
if any(isinstance(param, TypeVar) for param in params): # type: ignore
raise TypeError(f'Type parameters should be placed on typing.Generic, not GenericModel')
if Generic not in cls.__bases__:
raise TypeError(f'Type {cls.__name__} must inherit from typing.Generic before being parameterized')
check_parameters_count(cls, params)
typevars_map: Dict[Any, Any] = dict(zip(cls.__parameters__, params)) # type: ignore
type_hints = get_type_hints(cls).items()
instance_type_hints = {k: v for k, v in type_hints if getattr(v, '__origin__', None) is not ClassVar}
concrete_type_hints: Dict[str, Type[Any]] = {
k: resolve_type_hint(v, typevars_map) for k, v in instance_type_hints.items()
}
model_name = concrete_name(cls, params)
validators = gather_validators(cls)
fields: Dict[str, Tuple[Type[Any], Any]] = {
k: (v, cls.__fields__[k].default) for k, v in concrete_type_hints.items() if k in cls.__fields__
}
created_model = create_model(
model_name=model_name,
__module__=cls.__module__,
__base__=cls,
__config__=None,
__validators__=validators,
**fields,
)
created_model.Config = cls.Config
created_model.__concrete__ = True # type: ignore
_generic_types_cache[(cls, params)] = created_model
if len(params) == 1:
_generic_types_cache[(cls, params[0])] = created_model
return created_model
def concrete_name(cls: Type[Any], params: Tuple[Type[Any], ...]) -> str:
param_names = [param.__name__ if hasattr(param, '__name__') else str(param) for param in params]
params_component = ', '.join(param_names)
return f'{cls.__name__}[{params_component}]'
def resolve_type_hint(type_: Any, typevars_map: Dict[Any, Any]) -> Type[Any]:
if hasattr(type_, '__origin__') and getattr(type_, '__parameters__', None):
concrete_type_args = tuple([typevars_map[x] for x in type_.__parameters__])
return type_[concrete_type_args]
return typevars_map.get(type_, type_)
def check_parameters_count(cls: Type[GenericModel], parameters: Tuple[Any, ...]) -> None:
actual = len(parameters)
expected = len(cls.__parameters__) # type: ignore
if actual != expected:
description = 'many' if actual > expected else 'few'
raise TypeError(f'Too {description} parameters for {cls.__name__}; actual {actual}, expected {expected}')
| [
"[email protected]"
]
| |
d89386a8b3057ede1f292266eb6b418f4e670398 | 6323bd983f6304d95e62909bfc4883d2f9ef1a14 | /Random/Functions_class.py | dc04ad7ddbe0ea85a2697cee2d8df0d092d98f84 | []
| no_license | akshay-sahu-dev/PySolutions | 4c2d67d5f66fe83a6e302e1742a5bf17dafe2b99 | 83552962805768914034a284bf39197f52ca5017 | refs/heads/master | 2023-06-17T06:36:50.252943 | 2021-07-09T17:28:53 | 2021-07-09T17:28:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 239 | py | def count_digit(Num):
# Num = int(input("Enter a number: ")) # 1234
Q = Num//10 # 123
D = 1
while Q != 0:
Q = Q // 10
D += 1
print("Total digits in given number is: ", D)
count_digit(7645344) | [
"[email protected]"
]
| |
27e8262bff5c1d44e27db03475b3794d498a8fbe | beebc5ff44407f3f3a4c1463cd09f0917dbe5391 | /pytype/tools/merge_pyi/test_data/imports_alias.pep484.py | a2ccb207ed16c5bc74d13d337de115c132217ce0 | [
"Apache-2.0",
"MIT"
]
| permissive | mraarif/pytype | 4f190cb2591896133761295f3d84d80602dffb58 | 546e8b8114c9af54a409985a036398c4f6955677 | refs/heads/master | 2023-01-23T09:48:06.239353 | 2020-12-02T06:08:27 | 2020-12-02T06:08:27 | 303,069,915 | 1 | 0 | NOASSERTION | 2020-12-02T06:08:28 | 2020-10-11T07:53:55 | null | UTF-8 | Python | false | false | 227 | py | """Test import-as."""
from m1 import A_old as A
from m2 import B_old as B
from m3 import C_old as C
import m4_old as m4
import m5.D_old as D
import m5.something.E_old as E
def f(a: A, b: B, c: C, d: D, e: E) -> m4.D:
pass
| [
"[email protected]"
]
| |
987aaf69923d261f667c20c540bde052a6714ff7 | d8dd4ce3e943ea23586bba9df9c7bf978efa8a8b | /get_data.py | 37ad3f72ee4fb2ee78728251fd50a8aa8978cd9f | []
| no_license | mdekauwe/world_clim | 2785ff77f0b503dfa2b7e8e93dec80cf13ccc723 | 410dbf6756ee1c638134ec30dab45056531f1a09 | refs/heads/master | 2021-01-07T22:41:28.981349 | 2020-02-20T09:14:58 | 2020-02-20T09:14:58 | 241,840,482 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 812 | py | #!/usr/bin/env python
"""
Get WorldClim version 2 climate data for various vars between 1970-2000.
"""
__author__ = "Martin De Kauwe"
__version__ = "1.0 (20.02.2020)"
__email__ = "[email protected]"
from urllib.request import urlretrieve
from pathlib import Path
import os
res = "10m" #"5m" "2.5m", "30s"
#vars = ["tmin", "tmax", "tavg", "prec", "srad", "wind", "vapr"]
vars = ["tavg"]
base_address = 'http://biogeo.ucdavis.edu/data/worldclim/v2.0/tif/base/'
for var in vars:
print(var)
fname = "wc2.0_%s_%s.zip" % (res, var)
address = base_address + fname
output_dir = "data/%s" % (var)
if not os.path.exists(output_dir):
os.makedirs(output_dir)
output_fname = os.path.join(output_dir, fname)
if not Path(fname).exists():
urlretrieve(address, output_fname)
| [
"[email protected]"
]
| |
901f8ba62645588778d2832e39b89af3a55ba4ed | 37f55335f6b078d5bf95db00c62efb7d78d2411a | /game/interactive_shocks/admin.py | 6efb5d638ceff94549cb89b877651f297202470e | [
"MIT"
]
| permissive | adminq80/Interactive_estimation | 14df57e4ee9513528e7f49ae0239638c24d8e763 | d62de66189ee15c5c9f23938da148dfd5ed08573 | refs/heads/master | 2020-12-05T16:30:49.506392 | 2017-04-28T21:10:19 | 2017-04-28T21:10:19 | 67,538,528 | 5 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,051 | py | from django.contrib import admin
from .forms import SettingsForm
from .models import Settings, Survey, InteractiveShocks, InteractiveShocksRound
@admin.register(Settings)
class SettingsAdmin(admin.ModelAdmin):
form = SettingsForm
readonly_fields = ('id',)
search_fields = ['id', ]
list_display = ('max_rounds', 'max_users', 'max_following')
@admin.register(InteractiveShocksRound)
class AdminSite(admin.ModelAdmin):
readonly_fields = ('id',)
list_display = ('user', 'guess', 'influenced_guess', 'outcome')
search_fields = ['user', 'guess', 'influenced_guess']
@admin.register(Survey)
class SurveyAdminSite(admin.ModelAdmin):
readonly_fields = ('id', 'username', 'game', 'age', 'gender', 'feedback', 'bugs', 'pay', 'education')
list_display = ('username', 'game', 'gender')
search_fields = ['id', 'user']
@admin.register(InteractiveShocks)
class GameAdminSite(admin.ModelAdmin):
readonly_fields = ('id',)
list_display = ('id', 'start_time', 'started', 'end_time', )
search_fields = ['id', ]
| [
"[email protected]"
]
| |
f2c8f422eb2ce001ffa86826001f8fedd048f8b8 | f3997f566695a78d09fcab688db88499223dca17 | /nematic_polar_order_collective/plot_phase_corr_len_nematic.py | adbc83e544b0b487d8ea979701cd2f787b9d85e4 | []
| no_license | melampyge/CollectiveFilament | 600d7a426d88a7f8f31702edb2b1fea7691372d2 | 7d2659bee85c955c680eda019cbff6e2b93ecff2 | refs/heads/master | 2020-07-23T05:58:55.383746 | 2017-06-25T14:55:14 | 2017-06-25T14:55:14 | 94,351,294 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,447 | py | # Load needed libraries and necessary files
import argparse
import numpy as np
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
import os.path
import glob
import pandas as pd
from string import atof
from matplotlib.offsetbox import AnnotationBbox, OffsetImage
from matplotlib._png import read_png
import colorsys
import sys
#
# Function definitions
#
# Check minimum and maximum values
def checkMinMax(mini, minprev, maxi, maxprev):
if mini < minprev:
minprev = mini
if maxi > maxprev:
maxprev = maxi
return minprev, maxprev
# Load initial simulation data
def loadSimData(datafile):
global dt, ti, Lx, Ly, nsamp, N, M, L, B, totalStep, Fmc, Kbend, kT, \
dtSamp, T, box_area, nt, body_length, Pe, persistence
datafile = open(datafile,"r")
for line in datafile:
A = line.split()
if A[0] == "dt": # Time interval between MD steps
dt = float(A[-1])
elif A[0] == "ti": # Beginning time for data acquisition
ti = float(A[-1])
elif A[0] == "Lx": # Box size in x
Lx = float(A[-1])
elif A[0] == "Ly": # Box size in y
Ly = float(A[-1])
elif A[0] == "totalStep": # Total MD steps
totalStep = float(A[-1])
elif A[0] == "nsamp": # Data sampling frequency
nsamp = float(A[-1])
elif A[0] == "nfil": # Number of particles per polymer
N = float(A[-1])
elif A[0] == "L": # Number of particles
L = float(A[-1])
elif A[0] == "B": # Bond length between particles of a body
B = float(A[-1])
elif A[0] == "kT": # Boltzmann constant*Temperature
kT = float(A[-1])
elif A[0] == "Fmc": # Self propulsion force constant
Fmc = float(A[-1])
elif A[0] == "Kbend": # Bending constant
Kbend = float(A[-1])
Lx /= B
Ly /= B
M = L/N
dtSamp = dt*nsamp
T = totalStep - ti
nt = T/nsamp
box_area = Lx*Ly
body_length = B*N
Pe = Fmc*body_length**2/kT
persistence = Kbend/(kT*body_length)
#
# Class definitions
#
# Arrange subplot grid structure (square box is assumed)
class Subplots:
totcnt = -1 # Total number of subplots
# Constructor
def __init__(self, f, l, s, b, t):
self.fig = f # Figure axes handle
self.length = l # Length of the subplot box
self.sep = s # Separation distance between subplots
self.beg = b # Beginning (offset) in the figure box
self.tot = t # Total number of subplots in y direction
# Add a subplot in the grid structure
def addSubplot(self):
# Increase the number of subplots in the figure
self.totcnt += 1
# Indices of the subplot in the figure
self.nx = self.totcnt/(self.tot)
self.ny = self.totcnt%(self.tot)
self.xbeg = self.beg + self.nx*self.length + self.nx*self.sep
self.ybeg = self.beg + self.ny*self.length + self.ny*self.sep
return self.fig.add_axes([self.xbeg,self.ybeg,self.length,self.length])
def main():
# Argument parsing (command line options)
parser = argparse.ArgumentParser()
parser.add_argument("datafile", help="Folder containing data")
parser.add_argument("analysis", help="Type of analysis")
parser.add_argument("savefile", help="Folder in which figures should be saved")
args = parser.parse_args()
# Load saved preliminary simulation data into relevant variables
loadSimData(args.datafile+'/density_0.08/kappa_5.0/fp_0.24/init_info.txt')
# Plot properties
ax_len = 0.3 # Length of one subplot square box
ax_b = 0.1 # Beginning/offset of the subplot in the box
ax_sep = ax_len/1.3 # Separation length between two subplots
total_subplots_in_y = 2 # Total number of subplots
# Index the data
# density = [2.0, 5.0, 10.0, 20.0]
# kappa = [2.5, 12.5, 62.5, 200.0]
# fp = [0.0, 0.08, 0.024, 0.24, 0.8, 2.4]
density = [0.08, 0.2]
kappa = [2.5, 5.0, 25.0, 62.5, 125.0]
fp = [0.0, 0.024, 0.08, 0.24, 0.8, 1.2, 2.4, 7.0]
folders = []
for d in density:
for k in kappa:
for f in fp:
folders.append( args.datafile + '/density_' + str(d) + \
'/kappa_' + str(k) + '/fp_' + str(f) )
# Format the data
files = []
tmp = {}
for folder in folders:
tmp = {}
dname = folder.split('/')[-3]
ddict = dict(zip(dname.split('_')[::2],map(atof,dname.split('_')[1::2])))
kname = folder.split('/')[-2]
kdict = dict(zip(kname.split('_')[::2],map(atof,kname.split('_')[1::2])))
fname = folder.split('/')[-1]
fdict = dict(zip(fname.split('_')[::2],map(atof,fname.split('_')[1::2])))
tmp.update(ddict)
tmp.update(kdict)
tmp.update(fdict)
peclet = tmp['fp']*body_length**2/kT
persistence_over_L = tmp['kappa']/(body_length*kT)
tmp.update({'folder':folder, 'Pe':peclet, 'xi_L':persistence_over_L})
files.append(tmp)
Data = pd.DataFrame(files,columns=files[0].keys())
# Choose the comparison parameter for plotting
comparison_array = ['density', 'Pe', 'xi_L']
compareby = 'density' # make this a command line option
constants = []
for element in comparison_array:
if element != compareby:
constants.append(element)
# Group the data accordingly with the chosen comparison parameter
group = Data.groupby(compareby)
# Labels
labels={'Pe':r"Pe",
'xi_L':r"$\xi_p/L$",
'density':'Density'}
# Plot the data
ax = []
fig = plt.figure()
subp = Subplots(fig, ax_len, ax_sep, ax_b, total_subplots_in_y)
subcnt = -1
minx = Data[constants[0]].min()
maxx = Data[constants[0]].max()
print minx, '\t', maxx
#label_cnt = -1
#i0prev = density[0]
for i, grp in group:
# i are the key values, [tuple]
# grp is the grouped element [DataFrame]
# print i, '\t', grp
# if i0prev != i:
# label_cnt = -1
#
# i0prev = i
# Comparison parameter will determine the subplots in the figure
# (density, in this case)
ax.append( subp.addSubplot() )
subcnt += 1
# To color the labels in the legend
color = iter(plt.cm.rainbow(np.linspace(0,1,len(kappa))))
# One of the constants will be the x axis, (Pe, in this case)
# while the other one is the legend/label (xi_L, in this case)
C = []
x = []
C_cnt = 0
# j is index, f is the folder in the grouped elements
# (grouping is based on density, in this case)
# by the end of the following for loop, all the correlation lengths
# for this folder will be filled up in the list C
for j, f in enumerate(grp['folder']):
#print j, '\t', f, '\n'
# Load initial simulation data from the folder
loadSimData(f+'/init_info.txt')
C_cnt += 1
x.append( grp[constants[0]].iloc[j] )
# Get the correlation length from the folder
f += args.analysis+'.data'
if os.path.exists(f):
data = np.loadtxt(f)
#print data, '\t', np.size(data), '\t', f, '\n'
if np.size(data) != 0:
C.append(float(data))
else:
C.append(-1)
else:
C.append(-1)
# Plot when one set of the group is finished
if C_cnt == np.size(fp):
# Plot correlation length as a function of one of the constants
c = next(color)
#print x, '\t', C, '\n'
ax[subcnt].loglog(x, C, 'o', \
label=labels[constants[1]] + " = " + "{0:.1f}".format(grp[constants[1]].iloc[j]), color=c)
ax[subcnt].plot(x, C, \
linewidth = 1., color=c)
C = []
x = []
C_cnt = 0
# This extracted correlation length belongs to a single folder
# with a given Pe and xi_L
#print grp[constants[0]].iloc[j] '\t', grp[constants[1]].iloc[j], '\t', C
ax[subcnt].set_title( labels[compareby] + " = " + "{0:.2f}".format(i), \
weight='bold', size='medium' )
ax[subcnt].legend(bbox_to_anchor=(1.05,1), loc=2, borderaxespad=0., prop={'size': 12})
ax[subcnt].set_xlabel(labels[constants[0]], size='small')
ax[subcnt].set_ylabel('$\\eta_{n_{e}}$', size='small')
#ax[subcnt].set_xlim((minx-5,maxx+5))
#ax[subcnt].set_ylim((miny-5,maxy+5))
#ax[subcnt].xaxis.set_ticks( np.arange(int(minx),int(maxx),int((maxx-minx)/4)) )
#ax[subcnt].yaxis.set_ticks( np.arange(int(miny-5),int(maxy+5),int((maxy-miny)/3)) )
ax[subcnt].tick_params(axis='both', which='major', labelsize=12)
#plt.figtext(subp.xbeg-ax_len, subp.ybeg+ax_len+0.1, \
# 'Corr. Length of Polarity', size='xx-large', weight='bold')
path1 = args.savefile + '/plots/phase'
path2 = args.savefile + '/plots/phase/ORDER_PARAMETER'
if os.path.exists(path1) == False:
os.mkdir(path1)
if os.path.exists(path2) == False:
os.mkdir(path2)
# plt.savefig(path2 + '/corr_len_nematic_order_set_' + \
# labels[compareby] + '.png', dpi=200, bbox_inches='tight', pad_inches=0.08)
plt.savefig(path2 + '/corr_len_nematic_order_set_' + \
labels[compareby] + '.png', dpi=200, bbox_inches='tight', pad_inches=0.08)
plt.clf()
if __name__ == '__main__':
main()
| [
"[email protected]"
]
| |
c5ce1b8002e32799a2450ab83bd3cecadf713ef1 | 46244bb6af145cb393846505f37bf576a8396aa0 | /leetcode/138.copy_list_with_random_pointer.py | 762548d65e258634741a2eb557eaef046abec80d | []
| no_license | aoeuidht/homework | c4fabfb5f45dbef0874e9732c7d026a7f00e13dc | 49fb2a2f8a78227589da3e5ec82ea7844b36e0e7 | refs/heads/master | 2022-10-28T06:42:04.343618 | 2022-10-15T15:52:06 | 2022-10-15T15:52:06 | 18,726,877 | 4 | 3 | null | null | null | null | UTF-8 | Python | false | false | 799 | py | # Definition for singly-linked list with a random pointer.
# class RandomListNode:
# def __init__(self, x):
# self.label = x
# self.next = None
# self.random = None
class Solution:
# @param head, a RandomListNode
# @return a RandomListNode
def copyRandomList(self, head):
if not head:
return None
dh = RandomListNode(0)
oh = head
nh = dh
mp = {}
while oh:
n = RandomListNode(oh.label)
nh.next = n
nh = n
mp[id(oh)] = n
oh = oh.next
oh = head
nh = dh.next
while oh:
if oh.random:
nh.random = mp[id(oh.random)]
oh = oh.next
nh = nh.next
return dh.next
| [
"[email protected]"
]
| |
010098539d158776c87c6dbbf5537e153b379a41 | 4b7806dd0ea8f7eb54bec25eb5afcdfdc02d91cf | /NEURON/mosinit.py | a0a21cdf9fa5deba5f8fcf755eefaa0e347ce538 | []
| permissive | OpenSourceBrain/IzhikevichModel | ab6018e8392b073d17cb4e29c68108a4397f098a | 83fe93ea390bb240f31e7352f6a4ad744dec43ca | refs/heads/master | 2023-08-31T00:01:19.985460 | 2023-08-18T15:13:31 | 2023-08-18T15:13:31 | 4,956,319 | 23 | 10 | BSD-3-Clause | 2023-09-04T11:06:46 | 2012-07-09T10:41:31 | Jupyter Notebook | UTF-8 | Python | false | false | 23 | py | execfile('izhiGUI.py')
| [
"[email protected]"
]
| |
8b099f05a23b2d43867113efc23d597e34dbaf19 | bbf9d848948a446299d9e2aa016249ce327d22bc | /pymoo/factory.py | b673d0ff8de85970bfa3ec2e2bbfcf465d3dff07 | [
"Apache-2.0"
]
| permissive | temaurer/pymoo | 07dfc84b390b014d00ec062a75f3aae3a86ae006 | 1a2f3e0944ef7094df7518623e3ce23f94a39a39 | refs/heads/master | 2020-06-12T06:15:49.823082 | 2019-07-18T07:16:24 | 2019-07-18T07:16:24 | 194,217,929 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,194 | py | """
This module is a factory method what allows to import various objects, such as algorithms, crossover, mutation.
The definitions for each object are purposely defined as a list and not as a dictionary to keep an order for the documentation.
"""
import re
import numpy as np
from pymoo.algorithms.moead import moead
from pymoo.algorithms.nsga2 import nsga2
from pymoo.algorithms.nsga3 import nsga3
from pymoo.algorithms.rnsga2 import rnsga2
from pymoo.algorithms.rnsga3 import rnsga3
from pymoo.algorithms.so_de import de
from pymoo.algorithms.so_genetic_algorithm import ga
from pymoo.algorithms.unsga3 import unsga3
from pymoo.docs import parse_doc_string
from pymoo.model.termination import MaximumFunctionCallTermination, MaximumGenerationTermination, IGDTermination
from pymoo.operators.crossover.differental_evolution_crossover import DifferentialEvolutionCrossover
from pymoo.operators.crossover.exponential_crossover import ExponentialCrossover
from pymoo.operators.crossover.half_uniform_crossover import HalfUniformCrossover
from pymoo.operators.crossover.point_crossover import PointCrossover
from pymoo.operators.crossover.simulated_binary_crossover import SimulatedBinaryCrossover
from pymoo.operators.crossover.uniform_crossover import UniformCrossover
from pymoo.operators.mutation.bitflip_mutation import BinaryBitflipMutation
from pymoo.operators.mutation.polynomial_mutation import PolynomialMutation
from pymoo.operators.sampling.latin_hypercube_sampling import LatinHypercubeSampling
from pymoo.operators.sampling.random_sampling import RandomSampling
from pymoo.operators.selection.random_selection import RandomSelection
from pymoo.operators.selection.tournament_selection import TournamentSelection
# =========================================================================================================
# Generic
# =========================================================================================================
def get_from_list(l, name, args, kwargs):
i = None
for k, e in enumerate(l):
if re.match(e[0], name):
i = k
break
if i is not None:
if len(l[i]) == 2:
name, clazz = l[i]
elif len(l[i]) == 3:
name, clazz, default_kwargs = l[i]
# overwrite the default if provided
for key, val in kwargs.items():
default_kwargs[key] = val
kwargs = default_kwargs
return clazz(*args, **kwargs)
else:
raise Exception("Object '%s' for not found in %s" % (name, [e[0] for e in l]))
def get_options(l):
return ", ".join(["'%s'" % k[0] for k in l])
def dummy(name, kwargs):
"""
A convenience method to get an {type} object just by providing a string.
Parameters
----------
name : {{ {options} }}
Name of the {type}.
kwargs : dict
Dictionary that should be used to call the method mapped to the {type} factory function.
Returns
-------
algorithm : {clazz}
An {type} object based on the string. `None` if the {type} was not found.
"""
pass
# =========================================================================================================
# Algorithms
# =========================================================================================================
ALGORITHMS = [
("ga", ga),
("de", de),
("nsga2", nsga2),
("rnsga2", rnsga2),
("nsga3", nsga3),
("unsga3", unsga3),
("rnsga3", rnsga3),
("moead", moead),
]
def get_algorithm(name, *args, d={}, **kwargs):
return get_from_list(ALGORITHMS, name, args, {**d, **kwargs})
parse_doc_string(dummy, get_algorithm, {"type": "algorithm",
"clazz": ":class:`~pymoo.model.algorithm.Algorithm`",
"options": get_options(ALGORITHMS)
})
# =========================================================================================================
# Sampling
# =========================================================================================================
SAMPLING = [
("real_random", RandomSampling, {'var_type': np.real}),
("real_lhs", LatinHypercubeSampling),
("bin_random", RandomSampling, {'var_type': np.bool}),
("int_random", RandomSampling, {'var_type': np.int})
]
def get_sampling(name, *args, d={}, **kwargs):
return get_from_list(SAMPLING, name, args, {**d, **kwargs})
parse_doc_string(dummy, get_sampling, {"type": "sampling",
"clazz": ":class:`~pymoo.model.sampling.Sampling`",
"options": get_options(SAMPLING)
})
# =========================================================================================================
# Selection
# =========================================================================================================
SELECTION = [
("random", RandomSelection),
("tournament", TournamentSelection)
]
def get_selection(name, *args, d={}, **kwargs):
return get_from_list(SELECTION, name, args, {**d, **kwargs})
parse_doc_string(dummy, get_selection, {"type": "selection",
"clazz": ":class:`~pymoo.model.selection.Selection`",
"options": get_options(SELECTION)
})
# =========================================================================================================
# Crossover
# =========================================================================================================
CROSSOVER = [
("real_sbx", SimulatedBinaryCrossover, dict(prob=1.0, eta=30, var_type=np.double)),
("int_sbx", SimulatedBinaryCrossover, dict(prob=1.0, eta=30, var_type=np.int)),
("real_de", DifferentialEvolutionCrossover),
("(real|bin|int)_ux", UniformCrossover),
("(bin|int)_hux", HalfUniformCrossover),
("(real|bin|int)_exp", ExponentialCrossover),
("(real|bin|int)_one_point", PointCrossover, {'n_points': 1}),
("(real|bin|int)_two_point", PointCrossover, {'n_points': 2}),
("(real|bin|int)_k_point", PointCrossover)
]
def get_crossover(name, *args, d={}, **kwargs):
return get_from_list(CROSSOVER, name, args, {**d, **kwargs})
parse_doc_string(dummy, get_crossover, {"type": "crossover",
"clazz": ":class:`~pymoo.model.crossover.Crossover`",
"options": get_options(CROSSOVER)
})
# =========================================================================================================
# Mutation
# =========================================================================================================
MUTATION = [
("real_pm", PolynomialMutation),
("int_pm", PolynomialMutation, dict(var_type=np.int)),
("bin_bitflip", BinaryBitflipMutation)
]
def get_mutation(name, *args, d={}, **kwargs):
return get_from_list(MUTATION, name, args, {**d, **kwargs})
parse_doc_string(dummy, get_mutation, {"type": "mutation",
"clazz": ":class:`~pymoo.model.mutation.Mutation`",
"options": get_options(MUTATION)
})
# =========================================================================================================
# Termination
# =========================================================================================================
TERMINATION = [
("n_eval", MaximumFunctionCallTermination),
("n_gen", MaximumGenerationTermination),
("igd", IGDTermination)
]
def get_termination(name, *args, d={}, **kwargs):
return get_from_list(TERMINATION, name, args, {**d, **kwargs})
parse_doc_string(dummy, get_termination, {"type": "termination",
"clazz": ":class:`~pymoo.model.termination.Termination`",
"options": get_options(TERMINATION)
})
| [
"[email protected]"
]
| |
1978f4dde31af4260b41b0c1313a8a07b4e808ec | 466912406272829982f75854cf0104c6ce8c9814 | /data/spider2/parser/recruit/lagou/lagou_company_full_name_check.py | 27f5e56d02301c67526cc2ac7563834476c6b449 | []
| no_license | logonmy/Codes | 9631fa103fc499663361fa7eeccd7cedb9bb08e4 | 92723efdeccfc193f9ee5d0ab77203c254f34bc2 | refs/heads/master | 2021-09-21T18:07:22.985184 | 2018-08-30T05:53:26 | 2018-08-30T05:53:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,619 | py | # -*- coding: utf-8 -*-
import os, sys
import datetime
import json
from bson import json_util
from pyquery import PyQuery as pq
from bs4 import BeautifulSoup
import lxml.html
import time
import lagou_job_parser
reload(sys)
sys.setdefaultencoding("utf-8")
sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../../../util'))
sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../../support'))
import loghelper
import util, download, name_helper,url_helper
sys.path.append(os.path.join(os.path.split(os.path.realpath(__file__))[0], '../../util'))
import parser_db_util
#logger
loghelper.init_logger("lagou_company_parser", stream=True)
logger = loghelper.get_logger("lagou_company_parser")
SOURCE = 13050 #Lgou
TYPE = 36001 #公司信息
aa =0
cnt = 0
download_crawler = download.DownloadCrawler(use_proxy=True)
def process():
global aa,cnt
logger.info("lagou_company_parser begin...")
while True:
items = parser_db_util.find_all_limit(SOURCE, TYPE, aa,1000)
#items = [parser_db_util.find_process_one(SOURCE, TYPE, 128040)]
aa += 1000
for item in items:
r = parse_company(item)
if r["status"] == "Sub_company":
#parser_db_util.update_active(SOURCE, item["key"], 'N')
#parser_db_util.update_processed(item["_id"])
logger.info("Fullname %s, %s", r["name"], item["url"])
cnt += 1
continue
#exit()
if len(items) == 0:
break
logger.info("total : %s", cnt)
#break
logger.info("lagou_company_parser end.")
def parse_company(item):
if item is None:
return None
#logger.info("*** base ***")
company_key = item["key"]
html = item["content"]
#logger.info(html)
d = pq(html)
logo = d('.top_info_wrap > img').attr('src')
if logo.startswith("http") or logo.startswith("https"):
pass
else:
logo = "http:"+logo
name = d('.company_main > h1 > a').text()
fullName = d('.company_main > h1 > a').attr('title')
fullName = name_helper.company_name_normalize(fullName)
if name is None or fullName is None:
return {
"status": "No_Name",
}
if len(name) > len(fullName):
name = fullName
if fullName.find("分公司") >= 0:
return {
"status": "Sub_company",
"name": fullName
}
return {
"status": "good"
}
if __name__ == "__main__":
while True:
process()
time.sleep(60*30) | [
"[email protected]"
]
| |
97022c7ccd61935cf15a4d7f498ef6eb96146876 | 6ec91b363b077bffd33f15300a0935124e9fb915 | /Cracking_the_Code_Interview/Leetcode/6.Binary_Tree/Recursive/236.Lowest_Common_Ancestor.py | 9ac1728927a25df30cb8e000485c15831b3d1727 | []
| no_license | lzxyzq/Cracking_the_Coding_Interview | 03232515ae8eb50394d46322d36b230d1a626fcf | 79dee7dab41830c4ff9e38858dad229815c719a0 | refs/heads/master | 2023-06-05T19:52:15.595289 | 2021-06-23T22:46:02 | 2021-06-23T22:46:02 | 238,068,000 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,042 | py | '''
@Author: your name
@Date: 2020-05-23 17:38:48
@LastEditTime: 2020-05-23 18:39:01
@LastEditors: Please set LastEditors
@Description: In User Settings Edit
@FilePath: /Cracking_the_Code_Interview/Leetcode/Binary_Tree/Recursive/236.Lowest_Common_Ancestor.py
'''
# Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.
# According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes p and q as the lowest node in T that has both p and q as descendants (where we allow a node to be a descendant of itself).”
# Given the following binary tree: root = [3,5,1,6,2,0,8,null,null,7,4]
''' Example 1:
Input: root = [3,5,1,6,2,0,8,null,null,7,4], p = 5, q = 1
Output: 3
Explanation: The LCA of nodes 5 and 1 is 3.
'''
''' Example 2:
Input: root = [3,5,1,6,2,0,8,null,null,7,4], p = 5, q = 4
Output: 5
Explanation: The LCA of nodes 5 and 4 is 5, since a node can be a descendant of itself according to the LCA definition.
'''
class Solution:
def lowestCommonAncestor(self, root: 'TreeNode', p: 'TreeNode', q: 'TreeNode') -> 'TreeNode':
if not root:
return None
if root and ( root is p or root is q ):
return root
else:
# common ancestor of p, q exists in left sub-tree
left_ancestor = self.lowestCommonAncestor( root.left, p ,q)
# common ancestor of p, q exists in right sub-tree
right_ancestor = self.lowestCommonAncestor( root.right, p ,q)
if left_ancestor and right_ancestor:
# p, q reside in two sides, one in left sub-tree, the other in right sub-tree
return root
elif left_ancestor:
# both p, q reside in left sub-tree
return left_ancestor
elif right_ancestor:
# both p, q reside in right sub-tree
return right_ancestor
else:
# both p, q do not exist in current binary tree
return None | [
"[email protected]"
]
| |
3f44a42e4f9ed4912c78cf3ede0b26b75c9c1ca8 | 50008b3b7fb7e14f793e92f5b27bf302112a3cb4 | /recipes/Python/577477_Select_some_nth_smallest_elements_quickselect/recipe-577477.py | 0f4ecc1b0f7ca5e97f9c49953f132ec863b022ab | [
"Python-2.0",
"MIT"
]
| permissive | betty29/code-1 | db56807e19ac9cfe711b41d475a322c168cfdca6 | d097ca0ad6a6aee2180d32dce6a3322621f655fd | refs/heads/master | 2023-03-14T08:15:47.492844 | 2021-02-24T15:39:59 | 2021-02-24T15:39:59 | 341,878,663 | 0 | 0 | MIT | 2021-02-24T15:40:00 | 2021-02-24T11:31:15 | Python | UTF-8 | Python | false | false | 1,358 | py | import random
def select(data, positions, start=0, end=None):
'''For every n in *positions* find nth rank ordered element in *data*
inplace select'''
if not end: end = len(data) - 1
if end < start:
return []
if end == start:
return [data[start]]
pivot_rand_i = random.randrange(start,end)
pivot_rand = data[pivot_rand_i] # get random pivot
data[end], data[pivot_rand_i] = data[pivot_rand_i], data[end]
pivot_i = start
for i in xrange(start, end): # partitioning about the pivot
if data[i] < pivot_rand:
data[pivot_i], data[i] = data[i], data[pivot_i]
pivot_i += 1
data[end], data[pivot_i] = data[pivot_i], data[end]
under_positions, over_positions, mid_positions = [],[],[]
for position in positions:
if position == pivot_i:
mid_positions.append(position)
elif position < pivot_i:
under_positions.append(position)
else:
over_positions.append(position)
result = []
if len(under_positions) > 0:
result.extend(select(data, under_positions, start, pivot_i-1))
if len(mid_positions) > 0:
result.extend([data[position] for position in mid_positions])
if len(over_positions) > 0:
result.extend(select(data, over_positions, pivot_i+1, end))
return result
| [
"[email protected]"
]
| |
f446ee466529f2d2f57c1633179f7e771628ff47 | 7cf0a3b4429e01b46bb8b8f4a742046953c32dfa | /Scraping attempt/scripts/web_scraper/csv_summary.py | c1a7288c1fe4dbb4943457e01e0895372440e235 | []
| no_license | kafitz/assessment_scraper | 3969d9e48c0c48d436ccc164f584bec44f59a02b | 9eb5d2660774d8cdf58993ccbe84f6e131bf22dd | refs/heads/master | 2020-06-09T05:39:15.052316 | 2014-05-20T01:37:08 | 2014-05-20T01:37:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,679 | py | #!/usr/bin/python
# coding=utf-8
# 2013 Kyle Fitzsimmons
import os
import csv
import xlwt
file_tuple = [x for x in os.walk('output/')][0]
files = [str(file_tuple[0] + filename) for filename in file_tuple[2]]
workbook = xlwt.Workbook(encoding='utf-8')
sheet = workbook.add_sheet('summary', cell_overwrite_ok=True)
match_found = False
number_of_2011_sales = 0
index_row = 0
header_list_1 = ['Input', '', 'Scraped results for',
'', 'Assessments', '', '', '', 'MLS Data']
header_list_2 = [
'Address searched', 'Input arrondissement', 'Returned address', 'Return arrondissement',
'First year', 'Price', 'Last year', 'Price', 'Date sold', 'Price sold']
for header in [header_list_1, header_list_2]:
for index_column, word in enumerate(header):
sheet.write(index_row, index_column, word)
index_row += 1
for filename in files:
with open(filename, 'rb') as csv_file:
reader = csv.reader(csv_file)
last_section_heading = ''
for row in reader:
if str(row[0]) != '' and len(row) == 1:
last_section_heading = str(row[0])
else:
if 'input_search' in str(row[0]):
input_search = str(row[1])
if 'geocoded_arrondissement' in str(row[0]):
arrondissement = str(row[1])
if 'address' in str(row[0]):
scraped_address = str(row[1])
if 'neighborhood' in str(row[0]):
scraped_arrondissement = str(row[1])
if 'ANTERIEUR' in last_section_heading:
if 'role_year' in str(row[0]):
first_assessment_year = str(row[1])
if 'total_property_value' in str(row[0]):
first_assessment_price = str(row[1])
if 'EN DATE DU' in last_section_heading:
last_assessment_year = str(last_section_heading.split()[3])
if 'total_property_value' in str(row[0]):
last_assessment_price = str(row[1])
if 'date_sold' in str(row[0]):
date_sold = str(row[1])
if 'price_sold' in str(row[0]):
price_sold = str(row[1])
output_row = [
input_search, arrondissement, scraped_address, scraped_arrondissement,
first_assessment_year, first_assessment_price, last_assessment_year,
last_assessment_price, date_sold, price_sold]
for index_column, word in enumerate(output_row):
sheet.write(index_row, index_column, word)
index_row += 1
workbook.save('summary.xls')
| [
"[email protected]"
]
| |
771eb99c5e6276951fa1be1be0bc7479d3f2cf98 | 2111dac9168ef9651296f859428a4d3461356107 | /tests/test_shellutils.py | 1ef5ea2eda2371fed2f83257d13ec9c12dc294cc | []
| no_license | BasementCat/gitastic | 366f3016ef1fab692b4401520b5a6013ebb2344f | 44f5e9e7d093c754797f934645b1b6f674393cb9 | refs/heads/master | 2020-12-24T13:44:06.372591 | 2014-05-14T03:33:42 | 2014-05-14T03:33:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,541 | py | import unittest
import sys
import os
import StringIO
# import subprocess
# import threading
# import socket
# import time
# import tempfile
# import shutil
# import copy
# import getpass
# import signal
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), "gitastic"))
from lib import shellutils
class MockSys(object):
stderr=StringIO.StringIO()
stdin=StringIO.StringIO("Test Standard Input")
stdout=StringIO.StringIO()
_exit_code=None
@classmethod
def exit(self, code=0):
self._exit_code=code
@classmethod
def reset(self):
self.stderr.close()
self.stdin.close()
self.stdout.close()
self.stderr=StringIO.StringIO()
self.stdin=StringIO.StringIO("Test Standard Input")
self.stdout=StringIO.StringIO()
self._exit_code=None
class MockRawInput_Base(object):
def __init__(self):
self.prompt=None
self.values=["Test Raw Input", "Test Raw Input 2"]
self.calls=0
def __call__(self, prompt=None):
self.prompt=prompt
if self.calls>=len(self.values):
self.calls=0
out=self.values[self.calls]
self.calls+=1
return out
def reset(self):
self.prompt=None
self.values=["Test Raw Input", "Test Raw Input 2"]
self.calls=0
MockRawInput=MockRawInput_Base()
class TestShellUtils(unittest.TestCase):
def setUp(self):
if shellutils.sys is not MockSys:
shellutils.sys=MockSys
MockSys.reset()
if not hasattr(shellutils, "raw_input") or shellutils.raw_input is not MockRawInput:
shellutils.raw_input=MockRawInput
MockRawInput.reset()
def tearDown(self):
MockSys.reset()
MockRawInput.reset()
def test_DieWithMessage(self):
shellutils.die("TestMessage")
self.assertEqual(MockSys.stderr.getvalue(), "TestMessage\n")
self.assertEqual(MockSys._exit_code, 1)
def test_DieWithMessage_interpolation(self):
shellutils.die("TestMessage %s #%d", "Hello world", 7)
self.assertEqual(MockSys.stderr.getvalue(), "TestMessage Hello world #7\n")
self.assertEqual(MockSys._exit_code, 1)
def test_DieWithMessage_code(self):
shellutils.die("TestMessage", code=25)
self.assertEqual(MockSys.stderr.getvalue(), "TestMessage\n")
self.assertEqual(MockSys._exit_code, 25)
def test_DieWithMessage_interpolation_code(self):
shellutils.die("TestMessage %s #%d", "Hello", 12, code=9)
self.assertEqual(MockSys.stderr.getvalue(), "TestMessage Hello #12\n")
self.assertEqual(MockSys._exit_code, 9)
# def get_input(prompt=None, default=None, require=False, restrict=None):
def test_input_noprompt(self):
var=shellutils.get_input()
self.assertEqual(MockRawInput.prompt, "")
self.assertEqual(var, "Test Raw Input")
def test_input_prompt(self):
var=shellutils.get_input("Test Prompt")
self.assertEqual(MockRawInput.prompt, "Test Prompt: ")
self.assertEqual(var, "Test Raw Input")
def test_input_default(self):
MockRawInput.values=[""]
var=shellutils.get_input("Test Prompt", default="Hello world")
self.assertEqual(MockRawInput.prompt, "Test Prompt [Hello world]: ")
self.assertEqual(var, "Hello world")
def test_input_require(self):
MockRawInput.values=["", "Test asdfasd"]
var=shellutils.get_input("Test Prompt", require=True)
self.assertEqual(MockRawInput.prompt, "Test Prompt: ")
self.assertEqual(var, "Test asdfasd")
self.assertEqual(MockSys.stderr.getvalue(), "An answer is required\n")
def test_input_restrict(self):
MockRawInput.values=["baz", "", "bar"]
var=shellutils.get_input("Test Prompt", require=True, restrict=["foo", "bar"])
self.assertEqual(MockRawInput.prompt, "Test Prompt (foo,bar): ")
self.assertEqual(var, "bar")
self.assertEqual(MockSys.stderr.getvalue(), "Answer must be one of foo, bar\nAn answer is required\n")
def test_input_restrict_default(self):
MockRawInput.values=["baz", "", "bar"]
var=shellutils.get_input("Test Prompt", require=True, restrict=["foo", "bar"], default="foo")
self.assertEqual(MockRawInput.prompt, "Test Prompt (foo,bar) [foo]: ")
self.assertEqual(var, "foo")
self.assertEqual(MockSys.stderr.getvalue(), "Answer must be one of foo, bar\n")
if __name__ == '__main__':
unittest.main() | [
"[email protected]"
]
| |
b68ced78051a5675e37a4be4514db25f58d205d4 | 07c5656f004b6a444e22ff7b4c3b6802d027f759 | /week_9/class_0420/common/context.py | 1903c5527c8b1a20ab201514e9e0300f06dbf62c | []
| no_license | EuniceHu/python15_api_test | de2a0f0bec8057edb27c8d1f82a438da3e9c105c | 1313e56ddfa67a2490e703a1a5ef4a6967565849 | refs/heads/master | 2020-05-20T13:30:41.686327 | 2019-05-14T11:00:52 | 2019-05-14T11:00:52 | 185,599,046 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 656 | py | #-*- coding:utf-8 _*-
"""
@author:小胡
@file: context.py
@time: 2019/04/26
"""
import re
from week_9.class_0420.common.config import config
def replace(data):
p = "#(.*?)#"
while re.search(p, data): # 找到返回True
print('data是', data)
m = re.search(p, data)
# 从任意位置开始找,找第一个就放回Match object ,如果没有就返回None
g = m.group(1) # 拿到参数化的key
v = config.get('data', g) # 根据KEY取配置文件里面的值
print(v)
# 记得替换后的内容,继续用data接收
data = re.sub(p, v, data, count=1)
return data | [
"[email protected]"
]
| |
1c5b1bb646d11c9145fc9dc37a2f71bbc43aa9d7 | bbc3ff5dc623774d8cd4e8d8154da353b7523552 | /While.py | 41afc9111d19cc3d8e50fce636b8a8618eb93f20 | []
| no_license | millanmilu/Learn-Python | e78b562e212fb1854322e726f5663c7f74d3b7f7 | ab5f55a86686d1c7bb5ccbe5201f4186ad8fdbc8 | refs/heads/master | 2020-04-13T20:01:01.892395 | 2019-01-05T14:18:34 | 2019-01-05T14:18:34 | 163,418,697 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 38 | py | i = 1
while i < 60:
print(i)
i+=1 | [
"[email protected]"
]
| |
20d8efe21e7db069ec1875cf83867a99cdc802c1 | 565548ff49844ed69ae16d5104e500f01c973402 | /app/auth/decorators.py | e1fb953361c57a1bf98525d9bfc42b83f1712c06 | []
| no_license | jaisenbe58r/Pebrassos | 159ce5a8b372590fd9368d9b5b3c1b0513895bba | 7516a1f7bbba78547af86a9858ee381224964d28 | refs/heads/master | 2023-02-27T05:42:50.652697 | 2021-01-31T20:57:59 | 2021-01-31T20:57:59 | 299,698,630 | 3 | 1 | null | 2021-01-31T20:58:01 | 2020-09-29T18:04:36 | Jupyter Notebook | UTF-8 | Python | false | false | 608 | py | """Copyright (c) 2020 Jaime Sendra Berenguer & Carlos Mahiques Ballester
Pebrassos - Machine Learning Library Extensions
Author:Jaime Sendra Berenguer & Carlos Mahiques Ballester
<www.linkedin.com/in/jaisenbe>
License: MIT
FECHA DE CREACIÓN: 13/01/2020
"""
from functools import wraps
from flask import abort
from flask_login import current_user
def admin_required(f):
@wraps(f)
def decorated_function(*args, **kws):
is_admin = getattr(current_user, 'is_admin', False)
if not is_admin:
abort(401)
return f(*args, **kws)
return decorated_function
| [
"[email protected]"
]
| |
1d01f9ac3154b7eb00b084cdc5cdc48a7909e1c9 | 29442d22b0413f8a7e50a37654e89e429684e297 | /idaes/property_models/examples/saponification_thermo.py | 4d8c5a5742b6ecb63b63a85082424aa76d4db59c | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
]
| permissive | tony121psu/idaes-pse | 75f5056b9a96201a8499901ef8885bef32eef8e2 | bdfddf1d1761bdba408567a83e198d549e8c741d | refs/heads/master | 2020-05-27T06:04:41.551792 | 2019-05-14T00:14:05 | 2019-05-14T00:14:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,485 | py | ##############################################################################
# Institute for the Design of Advanced Energy Systems Process Systems
# Engineering Framework (IDAES PSE Framework) Copyright (c) 2018-2019, by the
# software owners: The Regents of the University of California, through
# Lawrence Berkeley National Laboratory, National Technology & Engineering
# Solutions of Sandia, LLC, Carnegie Mellon University, West Virginia
# University Research Corporation, et al. All rights reserved.
#
# Please see the files COPYRIGHT.txt and LICENSE.txt for full copyright and
# license information, respectively. Both files are also available online
# at the URL "https://github.com/IDAES/idaes-pse".
##############################################################################
"""
Example property package for the saponification of Ethyl Acetate with NaOH
Assumes dilute solutions with properties of H2O.
"""
# Chages the divide behavior to not do integer division
from __future__ import division
# Import Python libraries
import logging
# Import Pyomo libraries
from pyomo.environ import (Constraint,
NonNegativeReals,
Param,
PositiveReals,
Reals,
Set,
value,
Var)
from pyomo.opt import SolverFactory
# Import IDAES cores
from idaes.core import (declare_process_block_class,
MaterialFlowBasis,
PhysicalParameterBlock,
StateBlockData,
StateBlock)
from idaes.core.util.misc import add_object_reference
from idaes.ui.report import degrees_of_freedom
# Some more inforation about this module
__author__ = "Andrew Lee"
# Set up logger
_log = logging.getLogger(__name__)
@declare_process_block_class("SaponificationParameterBlock")
class PhysicalParameterData(PhysicalParameterBlock):
"""
Property Parameter Block Class
Contains parameters and indexing sets associated with properties for
superheated steam.
"""
def build(self):
'''
Callable method for Block construction.
'''
super(PhysicalParameterData, self).build()
self.state_block_class = SaponificationStateBlock
# List of valid phases in property package
self.phase_list = Set(initialize=['Liq'])
# Component list - a list of component identifiers
self.component_list = Set(initialize=['H2O', 'NaOH',
'EthylAcetate',
'SodiumAcetate',
'Ethanol'])
# Heat capacity of water
self.cp_mol = Param(mutable=False,
initialize=75.327,
doc="Molar heat capacity of water [J/mol.K]")
# Density of water
self.dens_mol = Param(mutable=False,
initialize=55388.0,
doc="Molar density of water [mol/m^3]")
# Thermodynamic reference state
self.pressure_ref = Param(within=PositiveReals,
mutable=True,
default=101325.0,
doc='Reference pressure [Pa]')
self.temperature_ref = Param(within=PositiveReals,
mutable=True,
default=298.15,
doc='Reference temperature [K]')
@classmethod
def define_metadata(cls, obj):
obj.add_properties({
'flow_vol': {'method': None, 'units': 'm^3/s'},
'pressure': {'method': None, 'units': 'Pa'},
'temperature': {'method': None, 'units': 'K'},
'conc_mol_comp': {'method': None, 'units': 'mol/m^3'},
'cp_mol': {'method': None, 'units': 'J/mol.K'},
'dens_mol': {'method': None, 'units': 'mol/m^3'}})
obj.add_default_units({'time': 's',
'length': 'm',
'mass': 'g',
'amount': 'mol',
'temperature': 'K',
'energy': 'J',
'holdup': 'mol'})
class _StateBlock(StateBlock):
"""
This Class contains methods which should be applied to Property Blocks as a
whole, rather than individual elements of indexed Property Blocks.
"""
def initialize(blk, flow_vol=None, temperature=None, pressure=None,
conc_mol_comp=None, state_vars_fixed=False,
hold_state=False, outlvl=0,
solver='ipopt', optarg={'tol': 1e-8}):
'''
Initialisation routine for property package.
Keyword Arguments:
flow_mol_comp : value at which to initialize component flows
(default=None)
pressure : value at which to initialize pressure (default=None)
temperature : value at which to initialize temperature
(default=None)
outlvl : sets output level of initialisation routine
* 0 = no output (default)
* 1 = return solver state for each step in routine
* 2 = include solver output infomation (tee=True)
state_vars_fixed: Flag to denote if state vars have already been
fixed.
- True - states have already been fixed by the
control volume 1D. Control volume 0D
does not fix the state vars, so will
be False if this state block is used
with 0D blocks.
- False - states have not been fixed. The state
block will deal with fixing/unfixing.
optarg : solver options dictionary object (default=None)
solver : str indicating whcih solver to use during
initialization (default = 'ipopt')
hold_state : flag indicating whether the initialization routine
should unfix any state variables fixed during
initialization (default=False).
- True - states varaibles are not unfixed, and
a dict of returned containing flags for
which states were fixed during
initialization.
- False - state variables are unfixed after
initialization by calling the
relase_state method
Returns:
If hold_states is True, returns a dict containing flags for
which states were fixed during initialization.
'''
# Deactivate the constraints specific for outlet block i.e.
# when defined state is False
for k in blk.keys():
if blk[k].config.defined_state is False:
blk[k].conc_water_eqn.deactivate()
if state_vars_fixed is False:
# Fix state variables if not already fixed
Fflag = {}
Pflag = {}
Tflag = {}
Cflag = {}
for k in blk.keys():
# Fix state vars if not already fixed
if blk[k].flow_vol.fixed is True:
Fflag[k] = True
else:
Fflag[k] = False
if flow_vol is None:
blk[k].flow_vol.fix(1.0)
else:
blk[k].flow_vol.fix(flow_vol)
for j in blk[k]._params.component_list:
if blk[k].conc_mol_comp[j].fixed is True:
Cflag[k, j] = True
else:
Cflag[k, j] = False
if conc_mol_comp is None:
if j == "H2O":
blk[k].conc_mol_comp[j].fix(55388.0)
else:
blk[k].conc_mol_comp[j].fix(100.0)
else:
blk[k].conc_mol_comp[j].fix(conc_mol_comp[j])
if blk[k].pressure.fixed is True:
Pflag[k] = True
else:
Pflag[k] = False
if pressure is None:
blk[k].pressure.fix(101325.0)
else:
blk[k].pressure.fix(pressure)
if blk[k].temperature.fixed is True:
Tflag[k] = True
else:
Tflag[k] = False
if temperature is None:
blk[k].temperature.fix(298.15)
else:
blk[k].temperature.fix(temperature)
# If input block, return flags, else release state
flags = {"Fflag": Fflag, "Pflag": Pflag,
"Tflag": Tflag, "Cflag": Cflag}
else:
# Check when the state vars are fixed already result in dof 0
for k in blk.keys():
if degrees_of_freedom(blk[k]) != 0:
raise Exception("State vars fixed but degrees of freedom "
"for state block is not zero during "
"initialization.")
opt = SolverFactory(solver)
opt.options = optarg
# Post initialization reactivate constraints specific for
# all blocks other than the inlet
for k in blk.keys():
if not blk[k].config.defined_state:
blk[k].conc_water_eqn.activate()
if state_vars_fixed is False:
if hold_state is True:
return flags
else:
blk.release_state(flags)
if outlvl > 0:
if outlvl > 0:
_log.info('{} Initialisation Complete.'.format(blk.name))
def release_state(blk, flags, outlvl=0):
'''
Method to relase state variables fixed during initialisation.
Keyword Arguments:
flags : dict containing information of which state variables
were fixed during initialization, and should now be
unfixed. This dict is returned by initialize if
hold_state=True.
outlvl : sets output level of of logging
'''
if flags is None:
return
# Unfix state variables
for k in blk.keys():
if flags['Fflag'][k] is False:
blk[k].flow_vol.unfix()
for j in blk[k]._params.component_list:
if flags['Cflag'][k, j] is False:
blk[k].conc_mol_comp[j].unfix()
if flags['Pflag'][k] is False:
blk[k].pressure.unfix()
if flags['Tflag'][k] is False:
blk[k].temperature.unfix()
if outlvl > 0:
if outlvl > 0:
_log.info('{} State Released.'.format(blk.name))
@declare_process_block_class("SaponificationStateBlock",
block_class=_StateBlock)
class SaponificationStateBlockData(StateBlockData):
"""
An example property package for properties for saponification of ethyl
acetate
"""
def build(self):
"""
Callable method for Block construction
"""
super(SaponificationStateBlockData, self).build()
# Create state variables
self.flow_vol = Var(initialize=1.0,
domain=NonNegativeReals,
doc='Total volumentric flowrate [m^3/s]')
self.pressure = Var(domain=Reals,
initialize=101325.0,
bounds=(1e3, 1e6),
doc='State pressure [Pa]')
self.temperature = Var(domain=Reals,
initialize=298.15,
bounds=(298.15, 323.15),
doc='State temperature [K]')
self.conc_mol_comp = Var(self._params.component_list,
domain=NonNegativeReals,
initialize=100.0,
doc='Component molar concentrations '
'[mol/m^3]')
if self.config.defined_state is False:
self.conc_water_eqn = Constraint(expr=self.conc_mol_comp["H2O"] ==
self._params.dens_mol)
def get_material_flow_terms(b, p, j):
return b.flow_vol*b.conc_mol_comp[j]
def get_enthalpy_flow_terms(b, p):
return (b.flow_vol*b._params.dens_mol*b._params.cp_mol *
(b.temperature - b._params.temperature_ref))
def get_material_density_terms(b, p, j):
return b.conc_mol_comp[j]
def get_enthalpy_density_terms(b, p):
return b._params.dens_mol*b._params.cp_mol*(
b.temperature - b._params.temperature_ref)
def define_state_vars(b):
return {"flow_vol": b.flow_vol,
"conc_mol_comp": b.conc_mol_comp,
"temperature": b.temperature,
"pressure": b.pressure}
def get_material_flow_basis(b):
return MaterialFlowBasis.molar
def model_check(blk):
"""
Model checks for property block
"""
# Check temperature bounds
if value(blk.temperature) < blk.temperature.lb:
_log.error('{} Temperature set below lower bound.'
.format(blk.name))
if value(blk.temperature) > blk.temperature.ub:
_log.error('{} Temperature set above upper bound.'
.format(blk.name))
# Check pressure bounds
if value(blk.pressure) < blk.pressure.lb:
_log.error('{} Pressure set below lower bound.'.format(blk.name))
if value(blk.pressure) > blk.pressure.ub:
_log.error('{} Pressure set above upper bound.'.format(blk.name))
| [
"[email protected]"
]
| |
61b9ba02c484f8ecfdc2518c853008b583932a77 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5631989306621952_0/Python/mtbrown/last_word.py | d49456d039c3911948a4ad406bd8bb587ab53f5e | []
| no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | Python | false | false | 433 | py | def main():
cases = int(input())
for case in range(1, cases + 1):
str = input()
print("Case #{0}: {1}".format(case, last_word(str)))
def last_word(str):
last = ""
for c in str:
if last == "":
last += c
else:
if c >= last[0]:
last = c + last
else:
last += c
return last
if __name__ == "__main__":
main() | [
"[email protected]"
]
| |
aae92cb8610f4c1884f46dbf03874c26b2016cf9 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02709/s610629838.py | 27cbe84220422c9db5900aecef0078cf7d118da8 | []
| no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 455 | py | n = int(input())
a = [(int(j), i) for i, j in enumerate(input().split())]
a.sort(reverse=1)
dp = [[0] * (n+1) for _ in range(n + 1)]
for i in range(1, n + 1):
for j in range(i + 1):
k = i - j
if j != 0:
dp[i][j] = dp[i - 1][j - 1] + a[i-1][0] * (abs(j - 1 - a[i-1][1]))
if k != 0:
dp[i][j] = max(dp[i][j],
dp[i - 1][j] + a[i-1][0] * (abs(n-k - a[i-1][1])))
print(max(dp[-1])) | [
"[email protected]"
]
| |
99c55d6a4179e07399e896535602bb4422a8420e | 90f02d834e45b5087313cecb0c6e6e24b078e35c | /students/views.py | dd5197e486e15ffe6f84243cb6d1105e24231929 | []
| no_license | Horlawhumy-dev/studentprofileapp | 1526034901c8f728455ec8ca1087e142579a961f | f1280a859593ad1760d636d97f08fa04c00108bf | refs/heads/master | 2023-07-04T11:31:01.642497 | 2021-08-06T10:52:10 | 2021-08-06T10:52:10 | 393,213,578 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 242 | py | from django.shortcuts import render
from account.models import StudentAccount
# Create your views here.
def index(request):
students = StudentAccount.objects.all()
return render(request, 'students/index.html',{'students': students}) | [
"[email protected]"
]
| |
cdae01d444d0aa4322a2e8ba855b71ac3b53928c | 17079988dedef6f830633a7a54b181355231fe3e | /Practice/n.py | d3a11bc9c638ef479ab7af3d21409277b9fb51e3 | []
| no_license | sum008/python-backup | cdf6eaff60d882c36fe86b47ad311955d5869b02 | 729fbe2a5220941f9ba085c693c871592a529da8 | refs/heads/master | 2022-12-12T21:21:48.259680 | 2020-09-12T15:36:05 | 2020-09-12T15:36:05 | 285,461,845 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,132 | py |
t=int(input())
for i in range(0,t):
n=int(input())
a = [int(x) for x in input().split()]
x=1
pos=0
while True:
if (a[pos]+a[x])%2==0:
y=(a[pos]+a[x])
a.pop(x)
a.pop(pos)
a.insert(0, y)
x=1
pos=0
print(a)
elif x<len(a)-1:
x+=1
else:
pos+=1
x=pos+1
if pos==len(a)-1:
break
print(len(a))
# t=int(input())
# for i in range(0,t):
#
# a = input().split(" ")
# l = int(a[0])
# r = int(a[1])
# if l%2==0 and r%2==0:
# y=r-l
# if y%2==0:
# print("Even")
# else:
# print("Odd")
# elif (l%2==0 and r%2!=0) or (l%2!=0 and r%2==0) :
# y=((r-l)+1)//2
# if y%2==0:
# print("Even")
# else:
# print("Odd")
# else:
# y=(((r-l)+1)//2)+1
# if y%2==0:
# print("Even")
# else:
# print("Odd") | [
"[email protected]"
]
| |
83c102d66660805ff74eee707b21f72c8b8ad3ef | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03844/s783234735.py | b447472faf28d917b2adb4a6a5940481ba134550 | []
| no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 92 | py | a,op,b=input().split() #文字列
if op=='+':print(int(a)+int(b))
else:print(int(a)-int(b))
| [
"[email protected]"
]
| |
ff20a850d7480c3854dd5604b141283d9d59f699 | e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f | /indices/nnwhue.py | 9716e8d0f9fb0ee21042753fa211539b5b231a7d | []
| no_license | psdh/WhatsintheVector | e8aabacc054a88b4cb25303548980af9a10c12a8 | a24168d068d9c69dc7a0fd13f606c080ae82e2a6 | refs/heads/master | 2021-01-25T10:34:22.651619 | 2015-09-23T11:54:06 | 2015-09-23T11:54:06 | 42,749,205 | 2 | 3 | null | 2015-09-23T11:54:07 | 2015-09-18T22:06:38 | Python | UTF-8 | Python | false | false | 65 | py | ii = [('FitzRNS3.py', 2), ('FerrSDO2.py', 2), ('FitzRNS4.py', 2)] | [
"[email protected]"
]
| |
7ebb0eb1be1374ea3347dcda29706127c9d8334f | 2ae0b8d95d439ccfd55ea7933ad4a2994ad0f6c5 | /tests/samples_tests/smoke_tests/test_hello_reshape_ssd.py | 7e89c01846a488bf21b14cffc2fa12251e2516bf | [
"Apache-2.0"
]
| permissive | openvinotoolkit/openvino | 38ea745a247887a4e14580dbc9fc68005e2149f9 | e4bed7a31c9f00d8afbfcabee3f64f55496ae56a | refs/heads/master | 2023-08-18T03:47:44.572979 | 2023-08-17T21:24:59 | 2023-08-17T21:24:59 | 153,097,643 | 3,953 | 1,492 | Apache-2.0 | 2023-09-14T21:42:24 | 2018-10-15T10:54:40 | C++ | UTF-8 | Python | false | false | 2,287 | py | """
Copyright (C) 2018-2023 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import os
import pytest
import logging as log
import sys
from common.samples_common_test_class import get_tests
from common.samples_common_test_class import SamplesCommonTestClass
from common.specific_samples_parsers import parse_hello_reshape_ssd
log.basicConfig(format="[ %(levelname)s ] %(message)s", level=log.INFO, stream=sys.stdout)
test_data_fp32 = get_tests(cmd_params={'i': [os.path.join('500x500', 'cat.bmp')],
'm': [os.path.join('ssd512', 'FP32', 'ssd512.xml')],
'sample_type': ['C++','Python'],
'd': ['CPU']},
use_device=['d'], use_batch=False
)
class TestHelloShape(SamplesCommonTestClass):
@classmethod
def setup_class(cls):
cls.sample_name = 'hello_reshape_ssd'
super().setup_class()
@pytest.mark.parametrize("param", test_data_fp32)
def test_hello_reshape_ssd_fp32(self, param):
"""
Hello_reshape_ssd has functional testing.
This function get stdout from hello_reshape_ssd (already splitted by new line)
The test check not if resulted class of object is accurate with reference, but that demo detected class with its box
and so on and so forth.
"""
# Run _test function, that returns stdout or 0.
stdout = self._test(param, use_preffix=False, get_cmd_func=self.get_hello_shape_cmd_line)
if not stdout:
return 0
stdout = stdout.split('\n')
is_ok = parse_hello_reshape_ssd(stdout)
assert is_ok, "[ERROR] Check failed"
log.info('Functional test passed')
| [
"[email protected]"
]
| |
635d6550345ddc391ea4c0098466411edfe54b7a | 0facb323be8a76bb4c168641309972fa77cbecf2 | /Configurations/HWWSemiLepHighMass/nanoAODv5/v6_production/2017/NJET_biined_WJets/SKIM10/OptimizeMEKD/Optimize_C.py | f8418aff17f796644d48eaf81cb933dde4ef8ed5 | []
| no_license | bhoh/SNuAnalytics | ef0a1ba9fa0d682834672a831739dfcfa1e7486b | 34d1fc062e212da152faa83be50561600819df0e | refs/heads/master | 2023-07-06T03:23:45.343449 | 2023-06-26T12:18:28 | 2023-06-26T12:18:28 | 242,880,298 | 0 | 1 | null | 2020-02-25T01:17:50 | 2020-02-25T01:17:49 | null | UTF-8 | Python | false | false | 1,617 | py | import ROOT
import math
if __name__ == '__main__':
#sig_MEKD_Bst_C_0.1_M1500;1
finput='RESULT_Boost/ele/ggf_signal_M1500/ROC_Obj_MEKD_Bst_C_0.1_M1500.root'
f=ROOT.TFile.Open(finput)
hsig=f.Get("sig_MEKD_Bst_C_0.1_M1500")
hbkg=f.Get("bkg_MEKD_Bst_C_0.1_M1500")
max_significance=-1
cut=-1
Nbins=hbkg.GetNbinsX()
print "Nbins",Nbins
for i in range(0,Nbins+1):
#weight=hbkg.GetBinContent(i)
bkgpass=hbkg.Integral(i,Nbins)
sigpass=hsig.Integral(i,Nbins)
score=hbkg.GetBinLowEdge(i)
significance=0
if bkgpass+sigpass>0:
significance=sigpass/math.sqrt(bkgpass+sigpass)
else:
significance=0
#print 'bkgpass,sigpass,score,significance=',bkgpass,sigpass,score,significance
if significance > max_significance:
max_significance = significance
cut=score
#if weight<0:weight=0
#weight=hsig.GetBinContent(i)
#score=hsig.GetBinCenter(i)
#if weight<0:weight=0
print 'cut,max_significance=',cut,max_significance
def my1st():
ginput=''
gname=''
Integral_bkg=100
Integral_sig=1
f=ROOT.TFile.Open(ginput)
gr=f.Get("MEKD_Bst_C_0.000003_M1500")
n=gr.GetN()
max_significance=-1
sig_max=-1
bkg_max=-1
for i in range(n):
bkg=(1-GetPointX(i))*Integral_bkg
sig=(GetPointY(i))*Integral_sig
significance=sig/math.sqrt(sig+bkg)
if significance>max_significance:
max_significance=significance
sig_max=sig
bkg_max=bkg
| [
"[email protected]"
]
| |
158efd76795e83067ca205acbffff90a53599dc9 | 77428d258556f1cae13c7435bcb5ee387d2f7ed9 | /src/program/python/flask/flask-app/surveyapi/application.py | eef9066cd334c752437184573f602856da4efbed | []
| no_license | imxood/imxood.github.io | d598d3d991f7e7d39787ecb2415ffe48489d9fd6 | a6fe8fe069b8af9d65b6afaabecfcfe99ed1ed21 | refs/heads/main | 2022-10-23T12:52:11.966389 | 2022-10-04T06:04:59 | 2022-10-04T06:04:59 | 47,911,256 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 399 | py | from flask import Flask
from flask_cors import CORS
def create_app(app_name='SURVEY_API'):
app = Flask(app_name)
app.config.from_object('surveyapi.config.BaseConfig')
cors = CORS(app, resources={r"/api/*": {"origins": "*"}})
from surveyapi.api import api
app.register_blueprint(api, url_prefix='/api')
from surveyapi.models import db
db.init_app(app)
return app
| [
"[email protected]"
]
| |
241c62bc22d28a7f01b9079e2f3ba8b9d6beda4c | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/73/usersdata/172/38992/submittedfiles/triangulo.py | 7acdb5069d932d6ac512549186e254efc272e19a | []
| no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 418 | py | # -*- coding: utf-8 -*-
import math
a=int(input('digite um valor:'))
b=int(input('digite um valor:'))
c=int(input('digite um valor:'))
a2=(a**2)
b2=(b**2)
c2=(c**2)
if a<b+c:
print('S')
if a2==b2+c2:
print('Re')
elif a2>b2+c2:
print('Ob')
else:
print('Ac')
elif a>b+c:
print('N')
if a==b==c:
print('Eq')
if b==c!=a:
print('Is')
if a!=b!=c:
print('Es') | [
"[email protected]"
]
| |
58a73aa4e11916f117d9e74c3cb04b066dfb7ec5 | 97ab50a083a5b183593f41e89853e429bc642190 | /hoover/csv.py | 504bac06572e4def4f65b674d589744de1e4f32d | [
"MIT"
]
| permissive | cmb-css/twitter-hoover | 1fc708d3e6c413498e49d830c1a9143e84681213 | ed22439881a7b5a1bdf8fd276920b0fab38231c8 | refs/heads/master | 2021-11-08T05:39:37.785441 | 2021-09-30T10:06:40 | 2021-09-30T10:06:40 | 183,235,719 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,595 | py | import csv
from os import listdir
from os.path import isfile, join
from hoover.simple import read_simple
FIELDS_TWEET = ('created_at',
'timestamp',
'id',
'text',
'retweet_count',
'favorite_count',
'lang')
FIELDS_USER = ('user_id', 'user_screen_name')
FIELDS_ALL = ('reply', 'retweet', 'quote')
FIELDS_REPLY = ('in_reply_to_status_id',
'in_reply_to_user_id',
'in_reply_to_screen_name')
FIELDS_PARENT_TWEET = ('quoted_text',)
FIELDS_RETWEET = ('retweeted_id',
'retweeted_user_id',
'retweeted_user_screen_name')
FIELDS_QUOTE = ('quoted_id',
'quoted_user_id',
'quoted_user_screen_name')
def _matches_filter(csv_type, tweet):
if csv_type in {'all', 'hashtags', 'mentions'}:
return True
elif csv_type == 'tweets':
return ((not tweet['reply']) and
(not tweet['retweet']) and
(not tweet['quote']))
elif csv_type == 'replies':
return tweet['reply']
elif csv_type == 'retweets':
return tweet['retweet']
elif csv_type == 'quotes':
return tweet['quote']
raise RuntimeError('Unknown csv type: {}.'.format(csv_type))
def tweets_to_csv(tweets, outfile, csv_type='all', user_data=True):
base_fields = FIELDS_TWEET
if user_data:
base_fields += FIELDS_USER
if csv_type == 'all':
fields = (base_fields + FIELDS_PARENT_TWEET + FIELDS_ALL +
FIELDS_REPLY + FIELDS_RETWEET + FIELDS_QUOTE)
elif csv_type == 'tweets':
fields = base_fields
elif csv_type == 'replies':
fields = base_fields + FIELDS_REPLY
elif csv_type == 'retweets':
fields = base_fields + FIELDS_PARENT_TWEET + FIELDS_RETWEET
elif csv_type == 'quotes':
fields = base_fields + FIELDS_PARENT_TWEET + FIELDS_QUOTE
else:
raise RuntimeError('Unknown csv type: {}'.format(csv_type))
if user_data:
fields += FIELDS_USER
with open(outfile, 'w') as outfile:
csvwriter = csv.writer(outfile)
csvwriter.writerow(fields)
for tweet in tweets:
csvwriter.writerow([tweet[field] for field in fields])
return 1
def hashtags(tweets, outfile, user_data):
counts = {}
for tweet in tweets:
user = tweet['user_screen_name']
if user not in counts:
counts[user] = {}
for occurrence in tweet['hashtags']:
if occurrence not in counts[user]:
counts[user][occurrence] = 0
counts[user][occurrence] += 1
if len(counts) == 0:
return 0
fields = ('hashtag', 'occurrences')
if user_data:
fields = ('user',) + fields
with open(outfile, 'w') as outfile:
csvwriter = csv.writer(outfile)
csvwriter.writerow(fields)
for user in counts:
for occurrence in counts[user]:
row = {'user': user,
'hashtag': occurrence,
'occurrences': counts[user][occurrence]}
csvwriter.writerow([row[field] for field in fields])
return 1
def mentions(tweets, outfile, user_data):
counts = {}
for tweet in tweets:
user = tweet['user_screen_name']
if user not in counts:
counts[user] = {}
for occurrence in tweet['mentions']:
if occurrence not in counts[user]:
counts[user][occurrence] = 0
counts[user][occurrence] += 1
if len(counts) == 0:
return 0
fields = ('mentioned_id', 'mentioned_screen_name', 'occurrences')
if user_data:
fields = ('user',) + fields
with open(outfile, 'w') as outfile:
csvwriter = csv.writer(outfile)
csvwriter.writerow(fields)
for user in counts:
for occurrence in counts[user]:
row = {'user': user,
'mentioned_id': occurrence[0],
'mentioned_screen_name': occurrence[1],
'occurrences': counts[user][occurrence]}
csvwriter.writerow([row[field] for field in fields])
return 1
def json_file_to_csv(infile, outfile, csv_type='all', user_data=True):
tweets = tuple(tweet for tweet in read_simple(infile)
if _matches_filter(csv_type, tweet))
if len(tweets) == 0:
return 0
if csv_type == 'hashtags':
return hashtags(tweets, outfile, user_data)
elif csv_type == 'mentions':
return mentions(tweets, outfile, user_data)
else:
return tweets_to_csv(tweets, outfile, csv_type, user_data)
def dir_to_csvs(indir, outdir, csv_type='all'):
files = [f for f in listdir(indir) if isfile(join(indir, f))]
n = 0
for file in files:
if file[-5:] == '.json':
infile = join(indir, file)
outfile = '{}-{}.csv'.format(file[:-5], csv_type)
outfile = join(outdir, outfile)
n += json_file_to_csv(
infile, outfile, csv_type, user_data=False)
return n
def to_csv(infile, outfile, indir, outdir, csv_type):
if csv_type:
filters = {csv_type}
else:
filters = ('all', 'tweets',
'replies', 'retweets', 'quotes',
'hashtags', 'mentions')
print('Using filters: {}.'.format(', '.join(filters)))
n = 0
if indir:
if infile:
raise RuntimeError(
'Only one of --infile or --indir should be provided.')
if outfile:
raise RuntimeError(
'Only one of --outfile or --indir should be provided.')
if not outdir:
raise RuntimeError('--outdir must be provided.')
for filt in filters:
print('Converting to csv type: {}'.format(filt))
n += dir_to_csvs(indir, outdir, filt)
elif infile:
if indir:
raise RuntimeError(
'Only one of --infile or --indir should be provided.')
if outdir:
raise RuntimeError(
'Only one of --infile or --outdir should be provided.')
if not outfile:
raise RuntimeError('--outfile must be provided.')
for filt in filters:
print('Converting to csv type: {}'.format(filt))
n += json_file_to_csv(infile, outfile, filt)
else:
raise RuntimeError('Either --infile or --indir must be provided.')
print('{} csv files created.'.format(str(n)))
| [
"[email protected]"
]
| |
68b2bc57d7156e26c1186631f1bca42f06f00ee0 | 592498a0e22897dcc460c165b4c330b94808b714 | /1000번/1978_소수 찾기.py | 7610212bd8ea4d8fe8dffaa19a1bc281c9a7c4d9 | []
| no_license | atom015/py_boj | abb3850469b39d0004f996e04aa7aa449b71b1d6 | 42b737c7c9d7ec59d8abedf2918e4ab4c86cb01d | refs/heads/master | 2022-12-18T08:14:51.277802 | 2020-09-24T15:44:52 | 2020-09-24T15:44:52 | 179,933,927 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 644 | py | def prime_number(num):
if num != 1: # 만약에 입력이 1이아니면
for i in range(2,num): #2부터 num-1,ex)3까지 반복을 돈다
if num % i == 0: #만약에 입력을 i로 나눈 나머지가 0이면 False를 리턴한다.
return False
else: #만약에 입력이 1이면
return False #False를 리턴 한다.
return True #만약에 3개의 if문 하나라도 해당이안되면 True를 리턴한다.
cnt = 0
t = int(input())
n = list(map(int,input().split()))
for i in n:
if prime_number(i) == True: #만약에 소수면 cnt에 1을더해준다.
cnt += 1
print(cnt)
| [
"[email protected]"
]
| |
fe8bd58c3101253540c2c6332815c1187b7be4a3 | 35b2ad0c656ff08234eee4c3f62208fa2dc4b893 | /e.g._call_overrided_method_using_super/py2_old_style.py | 830b0042f681ecb55548994805486e91b18370e5 | [
"Unlicense"
]
| permissive | thinkAmi-sandbox/python_misc_samples | 0d55b3d40c5983ca2870fdd34221264bf2f6822a | 7a33a803cd0bd13e68c87303ae3ebfbc5a573875 | refs/heads/master | 2021-01-18T16:02:19.890404 | 2018-05-30T23:22:17 | 2018-05-30T23:22:17 | 86,705,164 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,521 | py | class Parent:
def reply(self):
print '[parent - reply]{}'.format(type(self))
self.say()
def say(self):
print '[parent - say ]{}'.format(type(self))
print 'parent!'
class Child1(Parent):
def reply(self):
print '[child - reply]{}'.format(type(self))
Parent.reply(self)
def say(self):
print '[child - say ]{}'.format(type(self))
print 'child1!'
class Child2(Parent):
def reply(self):
print '[child - reply]{}'.format(type(self))
super(Child2, self).reply()
def say(self):
print '[child - say ]{}'.format(type(self))
print 'child2!'
if __name__ == '__main__':
print '--- parent reply --->'
p = Parent()
p.reply()
print '--- child1 reply --->'
c1 = Child1()
c1.reply()
print '--- child2 reply --->'
c2 = Child2()
c2.reply()
# =>
# --- parent reply --->
# [parent - reply]<type 'instance'>
# [parent - say ]<type 'instance'>
# parent!
# --- child1 reply --->
# [child - reply]<type 'instance'>
# [parent - reply]<type 'instance'>
# [child - say ]<type 'instance'>
# child1!
# --- child2 reply --->
# [child - reply]<type 'instance'>
# Traceback (most recent call last):
# File "py2_old_style.py", line 40, in <module>
# c2.reply()
# File "py2_old_style.py", line 24, in reply
# super(Child2, self).reply()
# TypeError: super() argument 1 must be type, not classobj
| [
"[email protected]"
]
| |
0cc48f6a05685d468c82658acedeef5493f40c04 | 3176145632467710f2041f4f5dcfa66b4d874991 | /reinforcement-learning/approximation-methods/iterative_policy_evaluation.py | 6b787fc557c736183567b921d1a5f210af6afb3e | []
| no_license | WyckliffeAluga/potential-happiness | 804d3a83fc323ea306bdfeec2926031eb0686278 | 0737fb5ce64dd3683090aa70e7adf37769a54544 | refs/heads/master | 2022-11-20T11:53:03.879258 | 2020-07-29T02:03:48 | 2020-07-29T02:03:48 | 258,029,642 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,405 | py | # -*- coding: utf-8 -*-
"""
Created on Thu May 14 16:42:07 2020
@author: wyckliffe
"""
import numpy as np
from grid_world import standard_grid
import matplotlib.pyplot as plt
e = 10e-4 # threshold for convergence
def print_values(V, g):
for i in range(g.width):
print("---------------------------")
for j in range(g.height):
v = V.get((i,j), 0)
if v >= 0:
print(" %.2f|" % v, end="")
else:
print("%.2f|" % v, end="") # -ve sign takes up an extra space
print("")
def print_policy(P, g):
for i in range(g.width):
print("---------------------------")
for j in range(g.height):
a = P.get((i,j), ' ')
print(" %s |" % a, end="")
print("")
if __name__ == "__main__" :
# iteractive policy evaluations
# given a policu, find v(s)
# use both uniform random policy and fixed p olicy
# sources of randomness:
# p(a|s) --> deciding what action to take given the state
# p(s' , r | s, a) --> the next state and reward given action-state pair
# let us modle p(a|s) = uniform
grid = standard_grid()
# states will be positions (i,j)
states = grid.all_states()
# uniformly random actions
# initialize V(s) = 0
V = {}
for s in states :
V[s] = 0
gamma = 1.0 # discount gactor
# repeat until convergence
while True :
biggest_change = 0
for s in states :
old_v = V[s]
# V(s) only has value if it is not a terminal state
if s in grid.actions:
new_v = 0 # we will accumulate the answer
p_a = 1.0 / len(grid.actions[s]) # each action has equal probability
for a in grid.actions[s] :
grid.set_state(s)
r = grid.move(a)
new_v += p_a * (r + gamma * V[grid.current_state()])
V[s] = new_v
biggest_change = max(biggest_change, np.abs(old_v - V[s]))
if biggest_change < e :
break
print("Values for uniformly rabdom actions")
print_values(V, grid)
print("\n\n")
# fixed policy
policy = {
(2, 0): 'U',
(1, 0): 'U',
(0, 0): 'R',
(0, 1): 'R',
(0, 2): 'R',
(1, 2): 'R',
(2, 1): 'R',
(2, 2): 'R',
(2, 3): 'U',
}
print_policy(policy, grid)
# initialize V(s) = 0
V = {}
for s in states :
V[s] = 0
# how does V(s) change as we get further away from the reward
gamma = 0.9 # discount factor
# repeat untill convergence
while True :
biggest_change = 0
for s in states:
old_v = V[s]
# V(s) only has value if it i snot a terminal state
if s in policy :
a = policy[s]
grid.set_state(s)
r = grid.move(a)
V[s] = r + gamma * V[grid.current_state()]
biggest_change = max(biggest_change , np.abs(old_v - V[s]))
if biggest_change < e :
break
print("Values for fixed policy.")
print_values(V, grid) | [
"[email protected]"
]
| |
b37f56bd891cc9c216a019d7cc8cf4c89065115f | dfaf6f7ac83185c361c81e2e1efc09081bd9c891 | /k8sdeployment/k8sstat/python/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py | b1e85c0e4ffff6429cf238d99e6d4e40127837b3 | [
"MIT",
"Apache-2.0"
]
| permissive | JeffYFHuang/gpuaccounting | d754efac2dffe108b591ea8722c831d979b68cda | 2c63a63c571240561725847daf1a7f23f67e2088 | refs/heads/master | 2022-08-09T03:10:28.185083 | 2022-07-20T00:50:06 | 2022-07-20T00:50:06 | 245,053,008 | 0 | 0 | MIT | 2021-03-25T23:44:50 | 2020-03-05T02:44:15 | JavaScript | UTF-8 | Python | false | false | 6,832 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
OpenAPI spec version: v1.15.6
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
class V2beta1HorizontalPodAutoscalerList(object):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
openapi_types = {
'api_version': 'str',
'items': 'list[V2beta1HorizontalPodAutoscaler]',
'kind': 'str',
'metadata': 'V1ListMeta'
}
attribute_map = {
'api_version': 'apiVersion',
'items': 'items',
'kind': 'kind',
'metadata': 'metadata'
}
def __init__(self, api_version=None, items=None, kind=None, metadata=None): # noqa: E501
"""V2beta1HorizontalPodAutoscalerList - a model defined in OpenAPI""" # noqa: E501
self._api_version = None
self._items = None
self._kind = None
self._metadata = None
self.discriminator = None
if api_version is not None:
self.api_version = api_version
self.items = items
if kind is not None:
self.kind = kind
if metadata is not None:
self.metadata = metadata
@property
def api_version(self):
"""Gets the api_version of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources # noqa: E501
:return: The api_version of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
:rtype: str
"""
return self._api_version
@api_version.setter
def api_version(self, api_version):
"""Sets the api_version of this V2beta1HorizontalPodAutoscalerList.
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources # noqa: E501
:param api_version: The api_version of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
:type: str
"""
self._api_version = api_version
@property
def items(self):
"""Gets the items of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
items is the list of horizontal pod autoscaler objects. # noqa: E501
:return: The items of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
:rtype: list[V2beta1HorizontalPodAutoscaler]
"""
return self._items
@items.setter
def items(self, items):
"""Sets the items of this V2beta1HorizontalPodAutoscalerList.
items is the list of horizontal pod autoscaler objects. # noqa: E501
:param items: The items of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
:type: list[V2beta1HorizontalPodAutoscaler]
"""
if items is None:
raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501
self._items = items
@property
def kind(self):
"""Gets the kind of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds # noqa: E501
:return: The kind of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
:rtype: str
"""
return self._kind
@kind.setter
def kind(self, kind):
"""Sets the kind of this V2beta1HorizontalPodAutoscalerList.
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds # noqa: E501
:param kind: The kind of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
:type: str
"""
self._kind = kind
@property
def metadata(self):
"""Gets the metadata of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
:return: The metadata of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
:rtype: V1ListMeta
"""
return self._metadata
@metadata.setter
def metadata(self, metadata):
"""Sets the metadata of this V2beta1HorizontalPodAutoscalerList.
:param metadata: The metadata of this V2beta1HorizontalPodAutoscalerList. # noqa: E501
:type: V1ListMeta
"""
self._metadata = metadata
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.openapi_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
result[attr] = value
return result
def to_str(self):
"""Returns the string representation of the model"""
return pprint.pformat(self.to_dict())
def __repr__(self):
"""For `print` and `pprint`"""
return self.to_str()
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, V2beta1HorizontalPodAutoscalerList):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
| [
"[email protected]"
]
| |
fbb5c5f76e930f5391b770c2043890ec54aeba71 | 6c57b1694817d1710335429c12c2d9774ff446e3 | /2017-08-07/AS-DA-DB_case10/generated_files/LEMS_c302_C2_AS_DA_DB_nrn.py | 690e7b1cb3085e5acff9404f23c5d8ddb12353ca | []
| no_license | lungd/openworm-experiments | cd3875e8071c35eacb919c318344bac56d0fe379 | 065f481fbb445ef12b8ab2110f501686d26c213c | refs/heads/master | 2021-01-01T04:41:38.397726 | 2017-09-12T13:55:40 | 2017-09-12T13:55:40 | 97,220,679 | 1 | 1 | null | 2017-09-01T17:10:28 | 2017-07-14T10:07:56 | Python | UTF-8 | Python | false | false | 782,591 | py | '''
Neuron simulator export for:
Components:
Leak (Type: ionChannelPassive: conductance=1.0E-11 (SI conductance))
k_fast (Type: ionChannelHH: conductance=1.0E-11 (SI conductance))
k_slow (Type: ionChannelHH: conductance=1.0E-11 (SI conductance))
ca_boyle (Type: ionChannelHH: conductance=1.0E-11 (SI conductance))
ca_simple (Type: ionChannelHH: conductance=1.0E-11 (SI conductance))
k_muscle (Type: ionChannelHH: conductance=1.0E-11 (SI conductance))
ca_muscle (Type: ionChannelHH: conductance=1.0E-11 (SI conductance))
null (Type: notes)
CaPool (Type: fixedFactorConcentrationModel: restingConc=0.0 (SI concentration) decayConstant=0.013811870945509265 (SI time) rho=2.38919E-4 (SI rho_factor))
neuron_to_neuron_elec_syn_2conns (Type: gapJunction: conductance=2.504E-11 (SI conductance))
neuron_to_neuron_elec_syn_7conns (Type: gapJunction: conductance=8.764000000000001E-11 (SI conductance))
neuron_to_neuron_elec_syn_6conns (Type: gapJunction: conductance=7.512000000000001E-11 (SI conductance))
neuron_to_neuron_elec_syn_4conns (Type: gapJunction: conductance=5.008E-11 (SI conductance))
neuron_to_neuron_elec_syn_10conns (Type: gapJunction: conductance=1.2520000000000002E-10 (SI conductance))
neuron_to_neuron_elec_syn_8conns (Type: gapJunction: conductance=1.0016E-10 (SI conductance))
neuron_to_neuron_elec_syn_1conns (Type: gapJunction: conductance=1.252E-11 (SI conductance))
neuron_to_neuron_elec_syn_3conns (Type: gapJunction: conductance=3.7560000000000004E-11 (SI conductance))
neuron_to_neuron_elec_syn_9conns (Type: gapJunction: conductance=1.1268E-10 (SI conductance))
neuron_to_neuron_elec_syn_5conns (Type: gapJunction: conductance=6.260000000000001E-11 (SI conductance))
neuron_to_neuron_elec_syn_13conns (Type: gapJunction: conductance=1.6276E-10 (SI conductance))
neuron_to_neuron_elec_syn_15conns (Type: gapJunction: conductance=1.8780000000000001E-10 (SI conductance))
DB1_to_DB2_elec_syn_5conns (Type: gapJunction: conductance=1.1260000000000002E-10 (SI conductance))
DB2_to_DB1_elec_syn_5conns (Type: gapJunction: conductance=1.1260000000000002E-10 (SI conductance))
DB2_to_DB3_elec_syn_14conns (Type: gapJunction: conductance=3.1528E-10 (SI conductance))
DB3_to_DB2_elec_syn_14conns (Type: gapJunction: conductance=3.1528E-10 (SI conductance))
DB3_to_DB4_elec_syn_1conns (Type: gapJunction: conductance=2.252E-11 (SI conductance))
DB4_to_DB3_elec_syn_1conns (Type: gapJunction: conductance=2.252E-11 (SI conductance))
DB4_to_DB5_elec_syn_5conns (Type: gapJunction: conductance=1.1260000000000002E-10 (SI conductance))
DB5_to_DB4_elec_syn_5conns (Type: gapJunction: conductance=1.1260000000000002E-10 (SI conductance))
DB5_to_DB6_elec_syn_5conns (Type: gapJunction: conductance=1.1260000000000002E-10 (SI conductance))
DB6_to_DB5_elec_syn_5conns (Type: gapJunction: conductance=1.1260000000000002E-10 (SI conductance))
DB6_to_DB7_elec_syn_5conns (Type: gapJunction: conductance=1.1260000000000002E-10 (SI conductance))
DB7_to_DB6_elec_syn_5conns (Type: gapJunction: conductance=1.1260000000000002E-10 (SI conductance))
muscle_to_muscle_elec_syn_15conns (Type: gapJunction: conductance=0.0 (SI conductance))
muscle_to_muscle_elec_syn_2conns (Type: gapJunction: conductance=0.0 (SI conductance))
silent (Type: silentSynapse)
neuron_to_neuron_exc_syn_2conns (Type: gradedSynapse: conductance=1.2E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_6conns (Type: gradedSynapse: conductance=3.6000000000000004E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_10conns (Type: gradedSynapse: conductance=6.000000000000001E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_12conns (Type: gradedSynapse: conductance=7.200000000000001E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_14conns (Type: gradedSynapse: conductance=8.4E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_4conns (Type: gradedSynapse: conductance=2.4E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_5conns (Type: gradedSynapse: conductance=3.0000000000000004E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_3conns (Type: gradedSynapse: conductance=1.8000000000000002E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_9conns (Type: gradedSynapse: conductance=5.4E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_8conns (Type: gradedSynapse: conductance=4.8E-9 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_20conns (Type: gradedSynapse: conductance=1.2000000000000002E-8 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_exc_syn_1conns (Type: gradedSynapse: conductance=6.0E-10 (SI conductance) delta=0.005 (SI voltage) k=500.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.01 (SI voltage))
neuron_to_neuron_inh_syn_28conns (Type: gradedSynapse: conductance=1.4000000000000001E-8 (SI conductance) delta=0.005 (SI voltage) k=15.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.07 (SI voltage))
neuron_to_neuron_inh_syn_4conns (Type: gradedSynapse: conductance=2.0E-9 (SI conductance) delta=0.005 (SI voltage) k=15.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.07 (SI voltage))
neuron_to_neuron_inh_syn_3conns (Type: gradedSynapse: conductance=1.5000000000000002E-9 (SI conductance) delta=0.005 (SI voltage) k=15.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.07 (SI voltage))
neuron_to_neuron_inh_syn_2conns (Type: gradedSynapse: conductance=1.0E-9 (SI conductance) delta=0.005 (SI voltage) k=15.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.07 (SI voltage))
neuron_to_neuron_inh_syn_1conns (Type: gradedSynapse: conductance=5.0E-10 (SI conductance) delta=0.005 (SI voltage) k=15.0 (SI per_time) Vth=0.0 (SI voltage) erev=-0.07 (SI voltage))
neuron_to_muscle_exc_syn_9conns (Type: gradedSynapse: conductance=9.000000000000001E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_8conns (Type: gradedSynapse: conductance=8.000000000000001E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_3conns (Type: gradedSynapse: conductance=3.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_1conns (Type: gradedSynapse: conductance=1.0000000000000002E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_5conns (Type: gradedSynapse: conductance=5.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_4conns (Type: gradedSynapse: conductance=4.0000000000000007E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_2conns (Type: gradedSynapse: conductance=2.0000000000000003E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_6conns (Type: gradedSynapse: conductance=6.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_7conns (Type: gradedSynapse: conductance=7.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_17conns (Type: gradedSynapse: conductance=1.7000000000000001E-9 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_12conns (Type: gradedSynapse: conductance=1.2E-9 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_14conns (Type: gradedSynapse: conductance=1.4E-9 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_10conns (Type: gradedSynapse: conductance=1.0E-9 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB1_to_MDL06_exc_syn_3conns (Type: gradedSynapse: conductance=3.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB1_to_MDL08_exc_syn_3conns (Type: gradedSynapse: conductance=3.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB1_to_MDL09_exc_syn_6conns (Type: gradedSynapse: conductance=6.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB1_to_MDR08_exc_syn_6conns (Type: gradedSynapse: conductance=6.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB1_to_MDR09_exc_syn_2conns (Type: gradedSynapse: conductance=2.0000000000000003E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB2_to_MDL09_exc_syn_2conns (Type: gradedSynapse: conductance=2.0000000000000003E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB2_to_MDL10_exc_syn_4conns (Type: gradedSynapse: conductance=4.0000000000000007E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB2_to_MDL11_exc_syn_5conns (Type: gradedSynapse: conductance=5.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB2_to_MDL12_exc_syn_1conns (Type: gradedSynapse: conductance=1.0000000000000002E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB2_to_MDR09_exc_syn_1conns (Type: gradedSynapse: conductance=1.0000000000000002E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB2_to_MDR10_exc_syn_6conns (Type: gradedSynapse: conductance=6.0E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
DB2_to_MDR11_exc_syn_8conns (Type: gradedSynapse: conductance=8.000000000000001E-10 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
neuron_to_muscle_exc_syn_13conns (Type: gradedSynapse: conductance=1.3E-9 (SI conductance) delta=0.019 (SI voltage) k=1205.0 (SI per_time) Vth=0.027 (SI voltage) erev=0.037 (SI voltage))
GenericMuscleCell (Type: cell)
GenericNeuronCell (Type: cell)
offset_current (Type: pulseGenerator: delay=0.0 (SI time) duration=2.0 (SI time) amplitude=0.0 (SI current))
stim_AVBL_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.5E-11 (SI current))
stim_AVBR_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.5E-11 (SI current))
stim_AS1_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS2_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS3_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS4_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS5_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS6_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS7_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS8_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS9_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS10_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
stim_AS11_1 (Type: pulseGenerator: delay=0.05 (SI time) duration=1.9000000000000001 (SI time) amplitude=1.05E-11 (SI current))
c302_C2_AS_DA_DB (Type: network)
sim_c302_C2_AS_DA_DB (Type: Simulation: length=2.0 (SI time) step=5.0E-5 (SI time))
This NEURON file has been generated by org.neuroml.export (see https://github.com/NeuroML/org.neuroml.export)
org.neuroml.export v1.5.2
org.neuroml.model v1.5.2
jLEMS v0.9.8.9
'''
import neuron
import time
import hashlib
h = neuron.h
h.load_file("stdlib.hoc")
h.load_file("stdgui.hoc")
h("objref p")
h("p = new PythonObject()")
class NeuronSimulation():
def __init__(self, tstop, dt, seed=123456789):
print("\n Starting simulation in NEURON generated from NeuroML2 model...\n")
self.seed = seed
self.randoms = []
self.next_global_id = 0 # Used in Random123 classes for elements using random(), etc.
self.next_spiking_input_id = 0 # Used in Random123 classes for elements using random(), etc.
'''
Adding simulation Component(id=sim_c302_C2_AS_DA_DB type=Simulation) of network/component: c302_C2_AS_DA_DB (Type: network)
'''
# ###################### Population: AS1
print("Population AS1 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS1 = []
h("{ n_AS1 = 1 }")
h("objectvar a_AS1[n_AS1]")
for i in range(int(h.n_AS1)):
h("a_AS1[%i] = new GenericNeuronCell()"%i)
h("access a_AS1[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS1[0].position(-0.275, -229.038000000000011, 4.738) }")
h("proc initialiseV_AS1() { for i = 0, n_AS1-1 { a_AS1[i].set_initial_v() } }")
h("objref fih_AS1")
h('{fih_AS1 = new FInitializeHandler(0, "initialiseV_AS1()")}')
h("proc initialiseIons_AS1() { for i = 0, n_AS1-1 { a_AS1[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS1")
h('{fih_ion_AS1 = new FInitializeHandler(1, "initialiseIons_AS1()")}')
# ###################### Population: AS10
print("Population AS10 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS10 = []
h("{ n_AS10 = 1 }")
h("objectvar a_AS10[n_AS10]")
for i in range(int(h.n_AS10)):
h("a_AS10[%i] = new GenericNeuronCell()"%i)
h("access a_AS10[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS10[0].position(-1.9, 278.25, -24.) }")
h("proc initialiseV_AS10() { for i = 0, n_AS10-1 { a_AS10[i].set_initial_v() } }")
h("objref fih_AS10")
h('{fih_AS10 = new FInitializeHandler(0, "initialiseV_AS10()")}')
h("proc initialiseIons_AS10() { for i = 0, n_AS10-1 { a_AS10[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS10")
h('{fih_ion_AS10 = new FInitializeHandler(1, "initialiseIons_AS10()")}')
# ###################### Population: AS11
print("Population AS11 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS11 = []
h("{ n_AS11 = 1 }")
h("objectvar a_AS11[n_AS11]")
for i in range(int(h.n_AS11)):
h("a_AS11[%i] = new GenericNeuronCell()"%i)
h("access a_AS11[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS11[0].position(-1.8750001, 315.699999999999989, -26.124998000000001) }")
h("proc initialiseV_AS11() { for i = 0, n_AS11-1 { a_AS11[i].set_initial_v() } }")
h("objref fih_AS11")
h('{fih_AS11 = new FInitializeHandler(0, "initialiseV_AS11()")}')
h("proc initialiseIons_AS11() { for i = 0, n_AS11-1 { a_AS11[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS11")
h('{fih_ion_AS11 = new FInitializeHandler(1, "initialiseIons_AS11()")}')
# ###################### Population: AS2
print("Population AS2 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS2 = []
h("{ n_AS2 = 1 }")
h("objectvar a_AS2[n_AS2]")
for i in range(int(h.n_AS2)):
h("a_AS2[%i] = new GenericNeuronCell()"%i)
h("access a_AS2[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS2[0].position(-1.8750001, -203.875, -12.725) }")
h("proc initialiseV_AS2() { for i = 0, n_AS2-1 { a_AS2[i].set_initial_v() } }")
h("objref fih_AS2")
h('{fih_AS2 = new FInitializeHandler(0, "initialiseV_AS2()")}')
h("proc initialiseIons_AS2() { for i = 0, n_AS2-1 { a_AS2[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS2")
h('{fih_ion_AS2 = new FInitializeHandler(1, "initialiseIons_AS2()")}')
# ###################### Population: AS3
print("Population AS3 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS3 = []
h("{ n_AS3 = 1 }")
h("objectvar a_AS3[n_AS3]")
for i in range(int(h.n_AS3)):
h("a_AS3[%i] = new GenericNeuronCell()"%i)
h("access a_AS3[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS3[0].position(-1.9, -151.400010000000009, -45.649997999999997) }")
h("proc initialiseV_AS3() { for i = 0, n_AS3-1 { a_AS3[i].set_initial_v() } }")
h("objref fih_AS3")
h('{fih_AS3 = new FInitializeHandler(0, "initialiseV_AS3()")}')
h("proc initialiseIons_AS3() { for i = 0, n_AS3-1 { a_AS3[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS3")
h('{fih_ion_AS3 = new FInitializeHandler(1, "initialiseIons_AS3()")}')
# ###################### Population: AS4
print("Population AS4 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS4 = []
h("{ n_AS4 = 1 }")
h("objectvar a_AS4[n_AS4]")
for i in range(int(h.n_AS4)):
h("a_AS4[%i] = new GenericNeuronCell()"%i)
h("access a_AS4[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS4[0].position(-1.8750001, -90.200005000000004, -65.375) }")
h("proc initialiseV_AS4() { for i = 0, n_AS4-1 { a_AS4[i].set_initial_v() } }")
h("objref fih_AS4")
h('{fih_AS4 = new FInitializeHandler(0, "initialiseV_AS4()")}')
h("proc initialiseIons_AS4() { for i = 0, n_AS4-1 { a_AS4[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS4")
h('{fih_ion_AS4 = new FInitializeHandler(1, "initialiseIons_AS4()")}')
# ###################### Population: AS5
print("Population AS5 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS5 = []
h("{ n_AS5 = 1 }")
h("objectvar a_AS5[n_AS5]")
for i in range(int(h.n_AS5)):
h("a_AS5[%i] = new GenericNeuronCell()"%i)
h("access a_AS5[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS5[0].position(-1.8750001, -3.7500002, -52.524999999999999) }")
h("proc initialiseV_AS5() { for i = 0, n_AS5-1 { a_AS5[i].set_initial_v() } }")
h("objref fih_AS5")
h('{fih_AS5 = new FInitializeHandler(0, "initialiseV_AS5()")}')
h("proc initialiseIons_AS5() { for i = 0, n_AS5-1 { a_AS5[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS5")
h('{fih_ion_AS5 = new FInitializeHandler(1, "initialiseIons_AS5()")}')
# ###################### Population: AS6
print("Population AS6 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS6 = []
h("{ n_AS6 = 1 }")
h("objectvar a_AS6[n_AS6]")
for i in range(int(h.n_AS6)):
h("a_AS6[%i] = new GenericNeuronCell()"%i)
h("access a_AS6[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS6[0].position(-1.9, 28.25, -34.25) }")
h("proc initialiseV_AS6() { for i = 0, n_AS6-1 { a_AS6[i].set_initial_v() } }")
h("objref fih_AS6")
h('{fih_AS6 = new FInitializeHandler(0, "initialiseV_AS6()")}')
h("proc initialiseIons_AS6() { for i = 0, n_AS6-1 { a_AS6[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS6")
h('{fih_ion_AS6 = new FInitializeHandler(1, "initialiseIons_AS6()")}')
# ###################### Population: AS7
print("Population AS7 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS7 = []
h("{ n_AS7 = 1 }")
h("objectvar a_AS7[n_AS7]")
for i in range(int(h.n_AS7)):
h("a_AS7[%i] = new GenericNeuronCell()"%i)
h("access a_AS7[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS7[0].position(-1.9, 119.900000000000006, 3.9500003) }")
h("proc initialiseV_AS7() { for i = 0, n_AS7-1 { a_AS7[i].set_initial_v() } }")
h("objref fih_AS7")
h('{fih_AS7 = new FInitializeHandler(0, "initialiseV_AS7()")}')
h("proc initialiseIons_AS7() { for i = 0, n_AS7-1 { a_AS7[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS7")
h('{fih_ion_AS7 = new FInitializeHandler(1, "initialiseIons_AS7()")}')
# ###################### Population: AS8
print("Population AS8 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS8 = []
h("{ n_AS8 = 1 }")
h("objectvar a_AS8[n_AS8]")
for i in range(int(h.n_AS8)):
h("a_AS8[%i] = new GenericNeuronCell()"%i)
h("access a_AS8[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS8[0].position(-1.9, 181.849999999999994, -1.7750001) }")
h("proc initialiseV_AS8() { for i = 0, n_AS8-1 { a_AS8[i].set_initial_v() } }")
h("objref fih_AS8")
h('{fih_AS8 = new FInitializeHandler(0, "initialiseV_AS8()")}')
h("proc initialiseIons_AS8() { for i = 0, n_AS8-1 { a_AS8[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS8")
h('{fih_ion_AS8 = new FInitializeHandler(1, "initialiseIons_AS8()")}')
# ###################### Population: AS9
print("Population AS9 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AS9 = []
h("{ n_AS9 = 1 }")
h("objectvar a_AS9[n_AS9]")
for i in range(int(h.n_AS9)):
h("a_AS9[%i] = new GenericNeuronCell()"%i)
h("access a_AS9[%i].soma"%i)
self.next_global_id+=1
h("{ a_AS9[0].position(-1.8750001, 228.924990000000008, -14.5) }")
h("proc initialiseV_AS9() { for i = 0, n_AS9-1 { a_AS9[i].set_initial_v() } }")
h("objref fih_AS9")
h('{fih_AS9 = new FInitializeHandler(0, "initialiseV_AS9()")}')
h("proc initialiseIons_AS9() { for i = 0, n_AS9-1 { a_AS9[i].set_initial_ion_properties() } }")
h("objref fih_ion_AS9")
h('{fih_ion_AS9 = new FInitializeHandler(1, "initialiseIons_AS9()")}')
# ###################### Population: AVAL
print("Population AVAL contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AVAL = []
h("{ n_AVAL = 1 }")
h("objectvar a_AVAL[n_AVAL]")
for i in range(int(h.n_AVAL)):
h("a_AVAL[%i] = new GenericNeuronCell()"%i)
h("access a_AVAL[%i].soma"%i)
self.next_global_id+=1
h("{ a_AVAL[0].position(-0.55, -271.5, 37.982999999999997) }")
h("proc initialiseV_AVAL() { for i = 0, n_AVAL-1 { a_AVAL[i].set_initial_v() } }")
h("objref fih_AVAL")
h('{fih_AVAL = new FInitializeHandler(0, "initialiseV_AVAL()")}')
h("proc initialiseIons_AVAL() { for i = 0, n_AVAL-1 { a_AVAL[i].set_initial_ion_properties() } }")
h("objref fih_ion_AVAL")
h('{fih_ion_AVAL = new FInitializeHandler(1, "initialiseIons_AVAL()")}')
# ###################### Population: AVAR
print("Population AVAR contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AVAR = []
h("{ n_AVAR = 1 }")
h("objectvar a_AVAR[n_AVAR]")
for i in range(int(h.n_AVAR)):
h("a_AVAR[%i] = new GenericNeuronCell()"%i)
h("access a_AVAR[%i].soma"%i)
self.next_global_id+=1
h("{ a_AVAR[0].position(-3.5, -271.5, 37.982999999999997) }")
h("proc initialiseV_AVAR() { for i = 0, n_AVAR-1 { a_AVAR[i].set_initial_v() } }")
h("objref fih_AVAR")
h('{fih_AVAR = new FInitializeHandler(0, "initialiseV_AVAR()")}')
h("proc initialiseIons_AVAR() { for i = 0, n_AVAR-1 { a_AVAR[i].set_initial_ion_properties() } }")
h("objref fih_ion_AVAR")
h('{fih_ion_AVAR = new FInitializeHandler(1, "initialiseIons_AVAR()")}')
# ###################### Population: AVBL
print("Population AVBL contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AVBL = []
h("{ n_AVBL = 1 }")
h("objectvar a_AVBL[n_AVBL]")
for i in range(int(h.n_AVBL)):
h("a_AVBL[%i] = new GenericNeuronCell()"%i)
h("access a_AVBL[%i].soma"%i)
self.next_global_id+=1
h("{ a_AVBL[0].position(0.225, -269.793999999999983, 37.863002999999999) }")
h("proc initialiseV_AVBL() { for i = 0, n_AVBL-1 { a_AVBL[i].set_initial_v() } }")
h("objref fih_AVBL")
h('{fih_AVBL = new FInitializeHandler(0, "initialiseV_AVBL()")}')
h("proc initialiseIons_AVBL() { for i = 0, n_AVBL-1 { a_AVBL[i].set_initial_ion_properties() } }")
h("objref fih_ion_AVBL")
h('{fih_ion_AVBL = new FInitializeHandler(1, "initialiseIons_AVBL()")}')
# ###################### Population: AVBR
print("Population AVBR contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_AVBR = []
h("{ n_AVBR = 1 }")
h("objectvar a_AVBR[n_AVBR]")
for i in range(int(h.n_AVBR)):
h("a_AVBR[%i] = new GenericNeuronCell()"%i)
h("access a_AVBR[%i].soma"%i)
self.next_global_id+=1
h("{ a_AVBR[0].position(-4.581, -269.793999999999983, 37.863002999999999) }")
h("proc initialiseV_AVBR() { for i = 0, n_AVBR-1 { a_AVBR[i].set_initial_v() } }")
h("objref fih_AVBR")
h('{fih_AVBR = new FInitializeHandler(0, "initialiseV_AVBR()")}')
h("proc initialiseIons_AVBR() { for i = 0, n_AVBR-1 { a_AVBR[i].set_initial_ion_properties() } }")
h("objref fih_ion_AVBR")
h('{fih_ion_AVBR = new FInitializeHandler(1, "initialiseIons_AVBR()")}')
# ###################### Population: DA1
print("Population DA1 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DA1 = []
h("{ n_DA1 = 1 }")
h("objectvar a_DA1[n_DA1]")
for i in range(int(h.n_DA1)):
h("a_DA1[%i] = new GenericNeuronCell()"%i)
h("access a_DA1[%i].soma"%i)
self.next_global_id+=1
h("{ a_DA1[0].position(-0.75, -227.075009999999992, 3.425) }")
h("proc initialiseV_DA1() { for i = 0, n_DA1-1 { a_DA1[i].set_initial_v() } }")
h("objref fih_DA1")
h('{fih_DA1 = new FInitializeHandler(0, "initialiseV_DA1()")}')
h("proc initialiseIons_DA1() { for i = 0, n_DA1-1 { a_DA1[i].set_initial_ion_properties() } }")
h("objref fih_ion_DA1")
h('{fih_ion_DA1 = new FInitializeHandler(1, "initialiseIons_DA1()")}')
# ###################### Population: DA2
print("Population DA2 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DA2 = []
h("{ n_DA2 = 1 }")
h("objectvar a_DA2[n_DA2]")
for i in range(int(h.n_DA2)):
h("a_DA2[%i] = new GenericNeuronCell()"%i)
h("access a_DA2[%i].soma"%i)
self.next_global_id+=1
h("{ a_DA2[0].position(-1.9, -190.75, -21.675000000000001) }")
h("proc initialiseV_DA2() { for i = 0, n_DA2-1 { a_DA2[i].set_initial_v() } }")
h("objref fih_DA2")
h('{fih_DA2 = new FInitializeHandler(0, "initialiseV_DA2()")}')
h("proc initialiseIons_DA2() { for i = 0, n_DA2-1 { a_DA2[i].set_initial_ion_properties() } }")
h("objref fih_ion_DA2")
h('{fih_ion_DA2 = new FInitializeHandler(1, "initialiseIons_DA2()")}')
# ###################### Population: DA3
print("Population DA3 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DA3 = []
h("{ n_DA3 = 1 }")
h("objectvar a_DA3[n_DA3]")
for i in range(int(h.n_DA3)):
h("a_DA3[%i] = new GenericNeuronCell()"%i)
h("access a_DA3[%i].soma"%i)
self.next_global_id+=1
h("{ a_DA3[0].position(-1.65, -123.650000000000006, -58.350002000000003) }")
h("proc initialiseV_DA3() { for i = 0, n_DA3-1 { a_DA3[i].set_initial_v() } }")
h("objref fih_DA3")
h('{fih_DA3 = new FInitializeHandler(0, "initialiseV_DA3()")}')
h("proc initialiseIons_DA3() { for i = 0, n_DA3-1 { a_DA3[i].set_initial_ion_properties() } }")
h("objref fih_ion_DA3")
h('{fih_ion_DA3 = new FInitializeHandler(1, "initialiseIons_DA3()")}')
# ###################### Population: DA4
print("Population DA4 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DA4 = []
h("{ n_DA4 = 1 }")
h("objectvar a_DA4[n_DA4]")
for i in range(int(h.n_DA4)):
h("a_DA4[%i] = new GenericNeuronCell()"%i)
h("access a_DA4[%i].soma"%i)
self.next_global_id+=1
h("{ a_DA4[0].position(-1.7, -32.399999999999999, -61.75) }")
h("proc initialiseV_DA4() { for i = 0, n_DA4-1 { a_DA4[i].set_initial_v() } }")
h("objref fih_DA4")
h('{fih_DA4 = new FInitializeHandler(0, "initialiseV_DA4()")}')
h("proc initialiseIons_DA4() { for i = 0, n_DA4-1 { a_DA4[i].set_initial_ion_properties() } }")
h("objref fih_ion_DA4")
h('{fih_ion_DA4 = new FInitializeHandler(1, "initialiseIons_DA4()")}')
# ###################### Population: DA5
print("Population DA5 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DA5 = []
h("{ n_DA5 = 1 }")
h("objectvar a_DA5[n_DA5]")
for i in range(int(h.n_DA5)):
h("a_DA5[%i] = new GenericNeuronCell()"%i)
h("access a_DA5[%i].soma"%i)
self.next_global_id+=1
h("{ a_DA5[0].position(-1.65, 84.200000000000003, -3.15) }")
h("proc initialiseV_DA5() { for i = 0, n_DA5-1 { a_DA5[i].set_initial_v() } }")
h("objref fih_DA5")
h('{fih_DA5 = new FInitializeHandler(0, "initialiseV_DA5()")}')
h("proc initialiseIons_DA5() { for i = 0, n_DA5-1 { a_DA5[i].set_initial_ion_properties() } }")
h("objref fih_ion_DA5")
h('{fih_ion_DA5 = new FInitializeHandler(1, "initialiseIons_DA5()")}')
# ###################### Population: DA6
print("Population DA6 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DA6 = []
h("{ n_DA6 = 1 }")
h("objectvar a_DA6[n_DA6]")
for i in range(int(h.n_DA6)):
h("a_DA6[%i] = new GenericNeuronCell()"%i)
h("access a_DA6[%i].soma"%i)
self.next_global_id+=1
h("{ a_DA6[0].position(-1.65, 198.675000000000011, -6.3500004) }")
h("proc initialiseV_DA6() { for i = 0, n_DA6-1 { a_DA6[i].set_initial_v() } }")
h("objref fih_DA6")
h('{fih_DA6 = new FInitializeHandler(0, "initialiseV_DA6()")}')
h("proc initialiseIons_DA6() { for i = 0, n_DA6-1 { a_DA6[i].set_initial_ion_properties() } }")
h("objref fih_ion_DA6")
h('{fih_ion_DA6 = new FInitializeHandler(1, "initialiseIons_DA6()")}')
# ###################### Population: DA7
print("Population DA7 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DA7 = []
h("{ n_DA7 = 1 }")
h("objectvar a_DA7[n_DA7]")
for i in range(int(h.n_DA7)):
h("a_DA7[%i] = new GenericNeuronCell()"%i)
h("access a_DA7[%i].soma"%i)
self.next_global_id+=1
h("{ a_DA7[0].position(-1.65, 281.600000000000023, -24.949999999999999) }")
h("proc initialiseV_DA7() { for i = 0, n_DA7-1 { a_DA7[i].set_initial_v() } }")
h("objref fih_DA7")
h('{fih_DA7 = new FInitializeHandler(0, "initialiseV_DA7()")}')
h("proc initialiseIons_DA7() { for i = 0, n_DA7-1 { a_DA7[i].set_initial_ion_properties() } }")
h("objref fih_ion_DA7")
h('{fih_ion_DA7 = new FInitializeHandler(1, "initialiseIons_DA7()")}')
# ###################### Population: DA8
print("Population DA8 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DA8 = []
h("{ n_DA8 = 1 }")
h("objectvar a_DA8[n_DA8]")
for i in range(int(h.n_DA8)):
h("a_DA8[%i] = new GenericNeuronCell()"%i)
h("access a_DA8[%i].soma"%i)
self.next_global_id+=1
h("{ a_DA8[0].position(1.275, 376.800000000000011, -10.925000000000001) }")
h("proc initialiseV_DA8() { for i = 0, n_DA8-1 { a_DA8[i].set_initial_v() } }")
h("objref fih_DA8")
h('{fih_DA8 = new FInitializeHandler(0, "initialiseV_DA8()")}')
h("proc initialiseIons_DA8() { for i = 0, n_DA8-1 { a_DA8[i].set_initial_ion_properties() } }")
h("objref fih_ion_DA8")
h('{fih_ion_DA8 = new FInitializeHandler(1, "initialiseIons_DA8()")}')
# ###################### Population: DA9
print("Population DA9 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DA9 = []
h("{ n_DA9 = 1 }")
h("objectvar a_DA9[n_DA9]")
for i in range(int(h.n_DA9)):
h("a_DA9[%i] = new GenericNeuronCell()"%i)
h("access a_DA9[%i].soma"%i)
self.next_global_id+=1
h("{ a_DA9[0].position(-4.6, 376.800000000000011, -10.925000000000001) }")
h("proc initialiseV_DA9() { for i = 0, n_DA9-1 { a_DA9[i].set_initial_v() } }")
h("objref fih_DA9")
h('{fih_DA9 = new FInitializeHandler(0, "initialiseV_DA9()")}')
h("proc initialiseIons_DA9() { for i = 0, n_DA9-1 { a_DA9[i].set_initial_ion_properties() } }")
h("objref fih_ion_DA9")
h('{fih_ion_DA9 = new FInitializeHandler(1, "initialiseIons_DA9()")}')
# ###################### Population: DB1
print("Population DB1 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DB1 = []
h("{ n_DB1 = 1 }")
h("objectvar a_DB1[n_DB1]")
for i in range(int(h.n_DB1)):
h("a_DB1[%i] = new GenericNeuronCell()"%i)
h("access a_DB1[%i].soma"%i)
self.next_global_id+=1
h("{ a_DB1[0].position(-1.9, -230.349989999999991, 6.85) }")
h("proc initialiseV_DB1() { for i = 0, n_DB1-1 { a_DB1[i].set_initial_v() } }")
h("objref fih_DB1")
h('{fih_DB1 = new FInitializeHandler(0, "initialiseV_DB1()")}')
h("proc initialiseIons_DB1() { for i = 0, n_DB1-1 { a_DB1[i].set_initial_ion_properties() } }")
h("objref fih_ion_DB1")
h('{fih_ion_DB1 = new FInitializeHandler(1, "initialiseIons_DB1()")}')
# ###################### Population: DB2
print("Population DB2 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DB2 = []
h("{ n_DB2 = 1 }")
h("objectvar a_DB2[n_DB2]")
for i in range(int(h.n_DB2)):
h("a_DB2[%i] = new GenericNeuronCell()"%i)
h("access a_DB2[%i].soma"%i)
self.next_global_id+=1
h("{ a_DB2[0].position(-0.2, -244.5, 15.787000000000001) }")
h("proc initialiseV_DB2() { for i = 0, n_DB2-1 { a_DB2[i].set_initial_v() } }")
h("objref fih_DB2")
h('{fih_DB2 = new FInitializeHandler(0, "initialiseV_DB2()")}')
h("proc initialiseIons_DB2() { for i = 0, n_DB2-1 { a_DB2[i].set_initial_ion_properties() } }")
h("objref fih_ion_DB2")
h('{fih_ion_DB2 = new FInitializeHandler(1, "initialiseIons_DB2()")}')
# ###################### Population: DB3
print("Population DB3 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DB3 = []
h("{ n_DB3 = 1 }")
h("objectvar a_DB3[n_DB3]")
for i in range(int(h.n_DB3)):
h("a_DB3[%i] = new GenericNeuronCell()"%i)
h("access a_DB3[%i].soma"%i)
self.next_global_id+=1
h("{ a_DB3[0].position(-1.85, -195.275000000000006, -18.524999999999999) }")
h("proc initialiseV_DB3() { for i = 0, n_DB3-1 { a_DB3[i].set_initial_v() } }")
h("objref fih_DB3")
h('{fih_DB3 = new FInitializeHandler(0, "initialiseV_DB3()")}')
h("proc initialiseIons_DB3() { for i = 0, n_DB3-1 { a_DB3[i].set_initial_ion_properties() } }")
h("objref fih_ion_DB3")
h('{fih_ion_DB3 = new FInitializeHandler(1, "initialiseIons_DB3()")}')
# ###################### Population: DB4
print("Population DB4 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DB4 = []
h("{ n_DB4 = 1 }")
h("objectvar a_DB4[n_DB4]")
for i in range(int(h.n_DB4)):
h("a_DB4[%i] = new GenericNeuronCell()"%i)
h("access a_DB4[%i].soma"%i)
self.next_global_id+=1
h("{ a_DB4[0].position(-1.8750001, -96.275000000000006, -64.650000000000006) }")
h("proc initialiseV_DB4() { for i = 0, n_DB4-1 { a_DB4[i].set_initial_v() } }")
h("objref fih_DB4")
h('{fih_DB4 = new FInitializeHandler(0, "initialiseV_DB4()")}')
h("proc initialiseIons_DB4() { for i = 0, n_DB4-1 { a_DB4[i].set_initial_ion_properties() } }")
h("objref fih_ion_DB4")
h('{fih_ion_DB4 = new FInitializeHandler(1, "initialiseIons_DB4()")}')
# ###################### Population: DB5
print("Population DB5 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DB5 = []
h("{ n_DB5 = 1 }")
h("objectvar a_DB5[n_DB5]")
for i in range(int(h.n_DB5)):
h("a_DB5[%i] = new GenericNeuronCell()"%i)
h("access a_DB5[%i].soma"%i)
self.next_global_id+=1
h("{ a_DB5[0].position(-4.05, 35.25, -30.449999999999999) }")
h("proc initialiseV_DB5() { for i = 0, n_DB5-1 { a_DB5[i].set_initial_v() } }")
h("objref fih_DB5")
h('{fih_DB5 = new FInitializeHandler(0, "initialiseV_DB5()")}')
h("proc initialiseIons_DB5() { for i = 0, n_DB5-1 { a_DB5[i].set_initial_ion_properties() } }")
h("objref fih_ion_DB5")
h('{fih_ion_DB5 = new FInitializeHandler(1, "initialiseIons_DB5()")}')
# ###################### Population: DB6
print("Population DB6 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DB6 = []
h("{ n_DB6 = 1 }")
h("objectvar a_DB6[n_DB6]")
for i in range(int(h.n_DB6)):
h("a_DB6[%i] = new GenericNeuronCell()"%i)
h("access a_DB6[%i].soma"%i)
self.next_global_id+=1
h("{ a_DB6[0].position(-1.8249999, 178.099999999999994, -0.2) }")
h("proc initialiseV_DB6() { for i = 0, n_DB6-1 { a_DB6[i].set_initial_v() } }")
h("objref fih_DB6")
h('{fih_DB6 = new FInitializeHandler(0, "initialiseV_DB6()")}')
h("proc initialiseIons_DB6() { for i = 0, n_DB6-1 { a_DB6[i].set_initial_ion_properties() } }")
h("objref fih_ion_DB6")
h('{fih_ion_DB6 = new FInitializeHandler(1, "initialiseIons_DB6()")}')
# ###################### Population: DB7
print("Population DB7 contains 1 instance(s) of component: GenericNeuronCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericNeuronCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericNeuronCell.hoc")
a_DB7 = []
h("{ n_DB7 = 1 }")
h("objectvar a_DB7[n_DB7]")
for i in range(int(h.n_DB7)):
h("a_DB7[%i] = new GenericNeuronCell()"%i)
h("access a_DB7[%i].soma"%i)
self.next_global_id+=1
h("{ a_DB7[0].position(-1.85, 267.75, -22.625) }")
h("proc initialiseV_DB7() { for i = 0, n_DB7-1 { a_DB7[i].set_initial_v() } }")
h("objref fih_DB7")
h('{fih_DB7 = new FInitializeHandler(0, "initialiseV_DB7()")}')
h("proc initialiseIons_DB7() { for i = 0, n_DB7-1 { a_DB7[i].set_initial_ion_properties() } }")
h("objref fih_ion_DB7")
h('{fih_ion_DB7 = new FInitializeHandler(1, "initialiseIons_DB7()")}')
# ###################### Population: MDR01
print("Population MDR01 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR01 = []
h("{ n_MDR01 = 1 }")
h("objectvar a_MDR01[n_MDR01]")
for i in range(int(h.n_MDR01)):
h("a_MDR01[%i] = new GenericMuscleCell()"%i)
h("access a_MDR01[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR01[0].position(80., -270., 80.) }")
h("proc initialiseV_MDR01() { for i = 0, n_MDR01-1 { a_MDR01[i].set_initial_v() } }")
h("objref fih_MDR01")
h('{fih_MDR01 = new FInitializeHandler(0, "initialiseV_MDR01()")}')
h("proc initialiseIons_MDR01() { for i = 0, n_MDR01-1 { a_MDR01[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR01")
h('{fih_ion_MDR01 = new FInitializeHandler(1, "initialiseIons_MDR01()")}')
# ###################### Population: MDR02
print("Population MDR02 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR02 = []
h("{ n_MDR02 = 1 }")
h("objectvar a_MDR02[n_MDR02]")
for i in range(int(h.n_MDR02)):
h("a_MDR02[%i] = new GenericMuscleCell()"%i)
h("access a_MDR02[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR02[0].position(80., -240., 80.) }")
h("proc initialiseV_MDR02() { for i = 0, n_MDR02-1 { a_MDR02[i].set_initial_v() } }")
h("objref fih_MDR02")
h('{fih_MDR02 = new FInitializeHandler(0, "initialiseV_MDR02()")}')
h("proc initialiseIons_MDR02() { for i = 0, n_MDR02-1 { a_MDR02[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR02")
h('{fih_ion_MDR02 = new FInitializeHandler(1, "initialiseIons_MDR02()")}')
# ###################### Population: MDR03
print("Population MDR03 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR03 = []
h("{ n_MDR03 = 1 }")
h("objectvar a_MDR03[n_MDR03]")
for i in range(int(h.n_MDR03)):
h("a_MDR03[%i] = new GenericMuscleCell()"%i)
h("access a_MDR03[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR03[0].position(80., -210., 80.) }")
h("proc initialiseV_MDR03() { for i = 0, n_MDR03-1 { a_MDR03[i].set_initial_v() } }")
h("objref fih_MDR03")
h('{fih_MDR03 = new FInitializeHandler(0, "initialiseV_MDR03()")}')
h("proc initialiseIons_MDR03() { for i = 0, n_MDR03-1 { a_MDR03[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR03")
h('{fih_ion_MDR03 = new FInitializeHandler(1, "initialiseIons_MDR03()")}')
# ###################### Population: MDR04
print("Population MDR04 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR04 = []
h("{ n_MDR04 = 1 }")
h("objectvar a_MDR04[n_MDR04]")
for i in range(int(h.n_MDR04)):
h("a_MDR04[%i] = new GenericMuscleCell()"%i)
h("access a_MDR04[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR04[0].position(80., -180., 80.) }")
h("proc initialiseV_MDR04() { for i = 0, n_MDR04-1 { a_MDR04[i].set_initial_v() } }")
h("objref fih_MDR04")
h('{fih_MDR04 = new FInitializeHandler(0, "initialiseV_MDR04()")}')
h("proc initialiseIons_MDR04() { for i = 0, n_MDR04-1 { a_MDR04[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR04")
h('{fih_ion_MDR04 = new FInitializeHandler(1, "initialiseIons_MDR04()")}')
# ###################### Population: MDR05
print("Population MDR05 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR05 = []
h("{ n_MDR05 = 1 }")
h("objectvar a_MDR05[n_MDR05]")
for i in range(int(h.n_MDR05)):
h("a_MDR05[%i] = new GenericMuscleCell()"%i)
h("access a_MDR05[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR05[0].position(80., -150., 80.) }")
h("proc initialiseV_MDR05() { for i = 0, n_MDR05-1 { a_MDR05[i].set_initial_v() } }")
h("objref fih_MDR05")
h('{fih_MDR05 = new FInitializeHandler(0, "initialiseV_MDR05()")}')
h("proc initialiseIons_MDR05() { for i = 0, n_MDR05-1 { a_MDR05[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR05")
h('{fih_ion_MDR05 = new FInitializeHandler(1, "initialiseIons_MDR05()")}')
# ###################### Population: MDR06
print("Population MDR06 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR06 = []
h("{ n_MDR06 = 1 }")
h("objectvar a_MDR06[n_MDR06]")
for i in range(int(h.n_MDR06)):
h("a_MDR06[%i] = new GenericMuscleCell()"%i)
h("access a_MDR06[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR06[0].position(80., -120., 80.) }")
h("proc initialiseV_MDR06() { for i = 0, n_MDR06-1 { a_MDR06[i].set_initial_v() } }")
h("objref fih_MDR06")
h('{fih_MDR06 = new FInitializeHandler(0, "initialiseV_MDR06()")}')
h("proc initialiseIons_MDR06() { for i = 0, n_MDR06-1 { a_MDR06[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR06")
h('{fih_ion_MDR06 = new FInitializeHandler(1, "initialiseIons_MDR06()")}')
# ###################### Population: MDR07
print("Population MDR07 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR07 = []
h("{ n_MDR07 = 1 }")
h("objectvar a_MDR07[n_MDR07]")
for i in range(int(h.n_MDR07)):
h("a_MDR07[%i] = new GenericMuscleCell()"%i)
h("access a_MDR07[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR07[0].position(80., -90., 80.) }")
h("proc initialiseV_MDR07() { for i = 0, n_MDR07-1 { a_MDR07[i].set_initial_v() } }")
h("objref fih_MDR07")
h('{fih_MDR07 = new FInitializeHandler(0, "initialiseV_MDR07()")}')
h("proc initialiseIons_MDR07() { for i = 0, n_MDR07-1 { a_MDR07[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR07")
h('{fih_ion_MDR07 = new FInitializeHandler(1, "initialiseIons_MDR07()")}')
# ###################### Population: MDR08
print("Population MDR08 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR08 = []
h("{ n_MDR08 = 1 }")
h("objectvar a_MDR08[n_MDR08]")
for i in range(int(h.n_MDR08)):
h("a_MDR08[%i] = new GenericMuscleCell()"%i)
h("access a_MDR08[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR08[0].position(80., -60., 80.) }")
h("proc initialiseV_MDR08() { for i = 0, n_MDR08-1 { a_MDR08[i].set_initial_v() } }")
h("objref fih_MDR08")
h('{fih_MDR08 = new FInitializeHandler(0, "initialiseV_MDR08()")}')
h("proc initialiseIons_MDR08() { for i = 0, n_MDR08-1 { a_MDR08[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR08")
h('{fih_ion_MDR08 = new FInitializeHandler(1, "initialiseIons_MDR08()")}')
# ###################### Population: MDR09
print("Population MDR09 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR09 = []
h("{ n_MDR09 = 1 }")
h("objectvar a_MDR09[n_MDR09]")
for i in range(int(h.n_MDR09)):
h("a_MDR09[%i] = new GenericMuscleCell()"%i)
h("access a_MDR09[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR09[0].position(80., -30., 80.) }")
h("proc initialiseV_MDR09() { for i = 0, n_MDR09-1 { a_MDR09[i].set_initial_v() } }")
h("objref fih_MDR09")
h('{fih_MDR09 = new FInitializeHandler(0, "initialiseV_MDR09()")}')
h("proc initialiseIons_MDR09() { for i = 0, n_MDR09-1 { a_MDR09[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR09")
h('{fih_ion_MDR09 = new FInitializeHandler(1, "initialiseIons_MDR09()")}')
# ###################### Population: MDR10
print("Population MDR10 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR10 = []
h("{ n_MDR10 = 1 }")
h("objectvar a_MDR10[n_MDR10]")
for i in range(int(h.n_MDR10)):
h("a_MDR10[%i] = new GenericMuscleCell()"%i)
h("access a_MDR10[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR10[0].position(80., 0., 80.) }")
h("proc initialiseV_MDR10() { for i = 0, n_MDR10-1 { a_MDR10[i].set_initial_v() } }")
h("objref fih_MDR10")
h('{fih_MDR10 = new FInitializeHandler(0, "initialiseV_MDR10()")}')
h("proc initialiseIons_MDR10() { for i = 0, n_MDR10-1 { a_MDR10[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR10")
h('{fih_ion_MDR10 = new FInitializeHandler(1, "initialiseIons_MDR10()")}')
# ###################### Population: MDR11
print("Population MDR11 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR11 = []
h("{ n_MDR11 = 1 }")
h("objectvar a_MDR11[n_MDR11]")
for i in range(int(h.n_MDR11)):
h("a_MDR11[%i] = new GenericMuscleCell()"%i)
h("access a_MDR11[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR11[0].position(80., 30., 80.) }")
h("proc initialiseV_MDR11() { for i = 0, n_MDR11-1 { a_MDR11[i].set_initial_v() } }")
h("objref fih_MDR11")
h('{fih_MDR11 = new FInitializeHandler(0, "initialiseV_MDR11()")}')
h("proc initialiseIons_MDR11() { for i = 0, n_MDR11-1 { a_MDR11[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR11")
h('{fih_ion_MDR11 = new FInitializeHandler(1, "initialiseIons_MDR11()")}')
# ###################### Population: MDR12
print("Population MDR12 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR12 = []
h("{ n_MDR12 = 1 }")
h("objectvar a_MDR12[n_MDR12]")
for i in range(int(h.n_MDR12)):
h("a_MDR12[%i] = new GenericMuscleCell()"%i)
h("access a_MDR12[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR12[0].position(80., 60., 80.) }")
h("proc initialiseV_MDR12() { for i = 0, n_MDR12-1 { a_MDR12[i].set_initial_v() } }")
h("objref fih_MDR12")
h('{fih_MDR12 = new FInitializeHandler(0, "initialiseV_MDR12()")}')
h("proc initialiseIons_MDR12() { for i = 0, n_MDR12-1 { a_MDR12[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR12")
h('{fih_ion_MDR12 = new FInitializeHandler(1, "initialiseIons_MDR12()")}')
# ###################### Population: MDR13
print("Population MDR13 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR13 = []
h("{ n_MDR13 = 1 }")
h("objectvar a_MDR13[n_MDR13]")
for i in range(int(h.n_MDR13)):
h("a_MDR13[%i] = new GenericMuscleCell()"%i)
h("access a_MDR13[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR13[0].position(80., 90., 80.) }")
h("proc initialiseV_MDR13() { for i = 0, n_MDR13-1 { a_MDR13[i].set_initial_v() } }")
h("objref fih_MDR13")
h('{fih_MDR13 = new FInitializeHandler(0, "initialiseV_MDR13()")}')
h("proc initialiseIons_MDR13() { for i = 0, n_MDR13-1 { a_MDR13[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR13")
h('{fih_ion_MDR13 = new FInitializeHandler(1, "initialiseIons_MDR13()")}')
# ###################### Population: MDR14
print("Population MDR14 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR14 = []
h("{ n_MDR14 = 1 }")
h("objectvar a_MDR14[n_MDR14]")
for i in range(int(h.n_MDR14)):
h("a_MDR14[%i] = new GenericMuscleCell()"%i)
h("access a_MDR14[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR14[0].position(80., 120., 80.) }")
h("proc initialiseV_MDR14() { for i = 0, n_MDR14-1 { a_MDR14[i].set_initial_v() } }")
h("objref fih_MDR14")
h('{fih_MDR14 = new FInitializeHandler(0, "initialiseV_MDR14()")}')
h("proc initialiseIons_MDR14() { for i = 0, n_MDR14-1 { a_MDR14[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR14")
h('{fih_ion_MDR14 = new FInitializeHandler(1, "initialiseIons_MDR14()")}')
# ###################### Population: MDR15
print("Population MDR15 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR15 = []
h("{ n_MDR15 = 1 }")
h("objectvar a_MDR15[n_MDR15]")
for i in range(int(h.n_MDR15)):
h("a_MDR15[%i] = new GenericMuscleCell()"%i)
h("access a_MDR15[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR15[0].position(80., 150., 80.) }")
h("proc initialiseV_MDR15() { for i = 0, n_MDR15-1 { a_MDR15[i].set_initial_v() } }")
h("objref fih_MDR15")
h('{fih_MDR15 = new FInitializeHandler(0, "initialiseV_MDR15()")}')
h("proc initialiseIons_MDR15() { for i = 0, n_MDR15-1 { a_MDR15[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR15")
h('{fih_ion_MDR15 = new FInitializeHandler(1, "initialiseIons_MDR15()")}')
# ###################### Population: MDR16
print("Population MDR16 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR16 = []
h("{ n_MDR16 = 1 }")
h("objectvar a_MDR16[n_MDR16]")
for i in range(int(h.n_MDR16)):
h("a_MDR16[%i] = new GenericMuscleCell()"%i)
h("access a_MDR16[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR16[0].position(80., 180., 80.) }")
h("proc initialiseV_MDR16() { for i = 0, n_MDR16-1 { a_MDR16[i].set_initial_v() } }")
h("objref fih_MDR16")
h('{fih_MDR16 = new FInitializeHandler(0, "initialiseV_MDR16()")}')
h("proc initialiseIons_MDR16() { for i = 0, n_MDR16-1 { a_MDR16[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR16")
h('{fih_ion_MDR16 = new FInitializeHandler(1, "initialiseIons_MDR16()")}')
# ###################### Population: MDR17
print("Population MDR17 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR17 = []
h("{ n_MDR17 = 1 }")
h("objectvar a_MDR17[n_MDR17]")
for i in range(int(h.n_MDR17)):
h("a_MDR17[%i] = new GenericMuscleCell()"%i)
h("access a_MDR17[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR17[0].position(80., 210., 80.) }")
h("proc initialiseV_MDR17() { for i = 0, n_MDR17-1 { a_MDR17[i].set_initial_v() } }")
h("objref fih_MDR17")
h('{fih_MDR17 = new FInitializeHandler(0, "initialiseV_MDR17()")}')
h("proc initialiseIons_MDR17() { for i = 0, n_MDR17-1 { a_MDR17[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR17")
h('{fih_ion_MDR17 = new FInitializeHandler(1, "initialiseIons_MDR17()")}')
# ###################### Population: MDR18
print("Population MDR18 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR18 = []
h("{ n_MDR18 = 1 }")
h("objectvar a_MDR18[n_MDR18]")
for i in range(int(h.n_MDR18)):
h("a_MDR18[%i] = new GenericMuscleCell()"%i)
h("access a_MDR18[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR18[0].position(80., 240., 80.) }")
h("proc initialiseV_MDR18() { for i = 0, n_MDR18-1 { a_MDR18[i].set_initial_v() } }")
h("objref fih_MDR18")
h('{fih_MDR18 = new FInitializeHandler(0, "initialiseV_MDR18()")}')
h("proc initialiseIons_MDR18() { for i = 0, n_MDR18-1 { a_MDR18[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR18")
h('{fih_ion_MDR18 = new FInitializeHandler(1, "initialiseIons_MDR18()")}')
# ###################### Population: MDR19
print("Population MDR19 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR19 = []
h("{ n_MDR19 = 1 }")
h("objectvar a_MDR19[n_MDR19]")
for i in range(int(h.n_MDR19)):
h("a_MDR19[%i] = new GenericMuscleCell()"%i)
h("access a_MDR19[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR19[0].position(80., 270., 80.) }")
h("proc initialiseV_MDR19() { for i = 0, n_MDR19-1 { a_MDR19[i].set_initial_v() } }")
h("objref fih_MDR19")
h('{fih_MDR19 = new FInitializeHandler(0, "initialiseV_MDR19()")}')
h("proc initialiseIons_MDR19() { for i = 0, n_MDR19-1 { a_MDR19[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR19")
h('{fih_ion_MDR19 = new FInitializeHandler(1, "initialiseIons_MDR19()")}')
# ###################### Population: MDR20
print("Population MDR20 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR20 = []
h("{ n_MDR20 = 1 }")
h("objectvar a_MDR20[n_MDR20]")
for i in range(int(h.n_MDR20)):
h("a_MDR20[%i] = new GenericMuscleCell()"%i)
h("access a_MDR20[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR20[0].position(80., 300., 80.) }")
h("proc initialiseV_MDR20() { for i = 0, n_MDR20-1 { a_MDR20[i].set_initial_v() } }")
h("objref fih_MDR20")
h('{fih_MDR20 = new FInitializeHandler(0, "initialiseV_MDR20()")}')
h("proc initialiseIons_MDR20() { for i = 0, n_MDR20-1 { a_MDR20[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR20")
h('{fih_ion_MDR20 = new FInitializeHandler(1, "initialiseIons_MDR20()")}')
# ###################### Population: MDR21
print("Population MDR21 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR21 = []
h("{ n_MDR21 = 1 }")
h("objectvar a_MDR21[n_MDR21]")
for i in range(int(h.n_MDR21)):
h("a_MDR21[%i] = new GenericMuscleCell()"%i)
h("access a_MDR21[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR21[0].position(80., 330., 80.) }")
h("proc initialiseV_MDR21() { for i = 0, n_MDR21-1 { a_MDR21[i].set_initial_v() } }")
h("objref fih_MDR21")
h('{fih_MDR21 = new FInitializeHandler(0, "initialiseV_MDR21()")}')
h("proc initialiseIons_MDR21() { for i = 0, n_MDR21-1 { a_MDR21[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR21")
h('{fih_ion_MDR21 = new FInitializeHandler(1, "initialiseIons_MDR21()")}')
# ###################### Population: MDR22
print("Population MDR22 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR22 = []
h("{ n_MDR22 = 1 }")
h("objectvar a_MDR22[n_MDR22]")
for i in range(int(h.n_MDR22)):
h("a_MDR22[%i] = new GenericMuscleCell()"%i)
h("access a_MDR22[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR22[0].position(80., 360., 80.) }")
h("proc initialiseV_MDR22() { for i = 0, n_MDR22-1 { a_MDR22[i].set_initial_v() } }")
h("objref fih_MDR22")
h('{fih_MDR22 = new FInitializeHandler(0, "initialiseV_MDR22()")}')
h("proc initialiseIons_MDR22() { for i = 0, n_MDR22-1 { a_MDR22[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR22")
h('{fih_ion_MDR22 = new FInitializeHandler(1, "initialiseIons_MDR22()")}')
# ###################### Population: MDR23
print("Population MDR23 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR23 = []
h("{ n_MDR23 = 1 }")
h("objectvar a_MDR23[n_MDR23]")
for i in range(int(h.n_MDR23)):
h("a_MDR23[%i] = new GenericMuscleCell()"%i)
h("access a_MDR23[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR23[0].position(80., 390., 80.) }")
h("proc initialiseV_MDR23() { for i = 0, n_MDR23-1 { a_MDR23[i].set_initial_v() } }")
h("objref fih_MDR23")
h('{fih_MDR23 = new FInitializeHandler(0, "initialiseV_MDR23()")}')
h("proc initialiseIons_MDR23() { for i = 0, n_MDR23-1 { a_MDR23[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR23")
h('{fih_ion_MDR23 = new FInitializeHandler(1, "initialiseIons_MDR23()")}')
# ###################### Population: MDR24
print("Population MDR24 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDR24 = []
h("{ n_MDR24 = 1 }")
h("objectvar a_MDR24[n_MDR24]")
for i in range(int(h.n_MDR24)):
h("a_MDR24[%i] = new GenericMuscleCell()"%i)
h("access a_MDR24[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDR24[0].position(80., 420., 80.) }")
h("proc initialiseV_MDR24() { for i = 0, n_MDR24-1 { a_MDR24[i].set_initial_v() } }")
h("objref fih_MDR24")
h('{fih_MDR24 = new FInitializeHandler(0, "initialiseV_MDR24()")}')
h("proc initialiseIons_MDR24() { for i = 0, n_MDR24-1 { a_MDR24[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDR24")
h('{fih_ion_MDR24 = new FInitializeHandler(1, "initialiseIons_MDR24()")}')
# ###################### Population: MVR01
print("Population MVR01 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR01 = []
h("{ n_MVR01 = 1 }")
h("objectvar a_MVR01[n_MVR01]")
for i in range(int(h.n_MVR01)):
h("a_MVR01[%i] = new GenericMuscleCell()"%i)
h("access a_MVR01[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR01[0].position(-80., -270., 80.) }")
h("proc initialiseV_MVR01() { for i = 0, n_MVR01-1 { a_MVR01[i].set_initial_v() } }")
h("objref fih_MVR01")
h('{fih_MVR01 = new FInitializeHandler(0, "initialiseV_MVR01()")}')
h("proc initialiseIons_MVR01() { for i = 0, n_MVR01-1 { a_MVR01[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR01")
h('{fih_ion_MVR01 = new FInitializeHandler(1, "initialiseIons_MVR01()")}')
# ###################### Population: MVR02
print("Population MVR02 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR02 = []
h("{ n_MVR02 = 1 }")
h("objectvar a_MVR02[n_MVR02]")
for i in range(int(h.n_MVR02)):
h("a_MVR02[%i] = new GenericMuscleCell()"%i)
h("access a_MVR02[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR02[0].position(-80., -240., 80.) }")
h("proc initialiseV_MVR02() { for i = 0, n_MVR02-1 { a_MVR02[i].set_initial_v() } }")
h("objref fih_MVR02")
h('{fih_MVR02 = new FInitializeHandler(0, "initialiseV_MVR02()")}')
h("proc initialiseIons_MVR02() { for i = 0, n_MVR02-1 { a_MVR02[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR02")
h('{fih_ion_MVR02 = new FInitializeHandler(1, "initialiseIons_MVR02()")}')
# ###################### Population: MVR03
print("Population MVR03 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR03 = []
h("{ n_MVR03 = 1 }")
h("objectvar a_MVR03[n_MVR03]")
for i in range(int(h.n_MVR03)):
h("a_MVR03[%i] = new GenericMuscleCell()"%i)
h("access a_MVR03[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR03[0].position(-80., -210., 80.) }")
h("proc initialiseV_MVR03() { for i = 0, n_MVR03-1 { a_MVR03[i].set_initial_v() } }")
h("objref fih_MVR03")
h('{fih_MVR03 = new FInitializeHandler(0, "initialiseV_MVR03()")}')
h("proc initialiseIons_MVR03() { for i = 0, n_MVR03-1 { a_MVR03[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR03")
h('{fih_ion_MVR03 = new FInitializeHandler(1, "initialiseIons_MVR03()")}')
# ###################### Population: MVR04
print("Population MVR04 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR04 = []
h("{ n_MVR04 = 1 }")
h("objectvar a_MVR04[n_MVR04]")
for i in range(int(h.n_MVR04)):
h("a_MVR04[%i] = new GenericMuscleCell()"%i)
h("access a_MVR04[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR04[0].position(-80., -180., 80.) }")
h("proc initialiseV_MVR04() { for i = 0, n_MVR04-1 { a_MVR04[i].set_initial_v() } }")
h("objref fih_MVR04")
h('{fih_MVR04 = new FInitializeHandler(0, "initialiseV_MVR04()")}')
h("proc initialiseIons_MVR04() { for i = 0, n_MVR04-1 { a_MVR04[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR04")
h('{fih_ion_MVR04 = new FInitializeHandler(1, "initialiseIons_MVR04()")}')
# ###################### Population: MVR05
print("Population MVR05 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR05 = []
h("{ n_MVR05 = 1 }")
h("objectvar a_MVR05[n_MVR05]")
for i in range(int(h.n_MVR05)):
h("a_MVR05[%i] = new GenericMuscleCell()"%i)
h("access a_MVR05[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR05[0].position(-80., -150., 80.) }")
h("proc initialiseV_MVR05() { for i = 0, n_MVR05-1 { a_MVR05[i].set_initial_v() } }")
h("objref fih_MVR05")
h('{fih_MVR05 = new FInitializeHandler(0, "initialiseV_MVR05()")}')
h("proc initialiseIons_MVR05() { for i = 0, n_MVR05-1 { a_MVR05[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR05")
h('{fih_ion_MVR05 = new FInitializeHandler(1, "initialiseIons_MVR05()")}')
# ###################### Population: MVR06
print("Population MVR06 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR06 = []
h("{ n_MVR06 = 1 }")
h("objectvar a_MVR06[n_MVR06]")
for i in range(int(h.n_MVR06)):
h("a_MVR06[%i] = new GenericMuscleCell()"%i)
h("access a_MVR06[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR06[0].position(-80., -120., 80.) }")
h("proc initialiseV_MVR06() { for i = 0, n_MVR06-1 { a_MVR06[i].set_initial_v() } }")
h("objref fih_MVR06")
h('{fih_MVR06 = new FInitializeHandler(0, "initialiseV_MVR06()")}')
h("proc initialiseIons_MVR06() { for i = 0, n_MVR06-1 { a_MVR06[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR06")
h('{fih_ion_MVR06 = new FInitializeHandler(1, "initialiseIons_MVR06()")}')
# ###################### Population: MVR07
print("Population MVR07 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR07 = []
h("{ n_MVR07 = 1 }")
h("objectvar a_MVR07[n_MVR07]")
for i in range(int(h.n_MVR07)):
h("a_MVR07[%i] = new GenericMuscleCell()"%i)
h("access a_MVR07[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR07[0].position(-80., -90., 80.) }")
h("proc initialiseV_MVR07() { for i = 0, n_MVR07-1 { a_MVR07[i].set_initial_v() } }")
h("objref fih_MVR07")
h('{fih_MVR07 = new FInitializeHandler(0, "initialiseV_MVR07()")}')
h("proc initialiseIons_MVR07() { for i = 0, n_MVR07-1 { a_MVR07[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR07")
h('{fih_ion_MVR07 = new FInitializeHandler(1, "initialiseIons_MVR07()")}')
# ###################### Population: MVR08
print("Population MVR08 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR08 = []
h("{ n_MVR08 = 1 }")
h("objectvar a_MVR08[n_MVR08]")
for i in range(int(h.n_MVR08)):
h("a_MVR08[%i] = new GenericMuscleCell()"%i)
h("access a_MVR08[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR08[0].position(-80., -60., 80.) }")
h("proc initialiseV_MVR08() { for i = 0, n_MVR08-1 { a_MVR08[i].set_initial_v() } }")
h("objref fih_MVR08")
h('{fih_MVR08 = new FInitializeHandler(0, "initialiseV_MVR08()")}')
h("proc initialiseIons_MVR08() { for i = 0, n_MVR08-1 { a_MVR08[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR08")
h('{fih_ion_MVR08 = new FInitializeHandler(1, "initialiseIons_MVR08()")}')
# ###################### Population: MVR09
print("Population MVR09 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR09 = []
h("{ n_MVR09 = 1 }")
h("objectvar a_MVR09[n_MVR09]")
for i in range(int(h.n_MVR09)):
h("a_MVR09[%i] = new GenericMuscleCell()"%i)
h("access a_MVR09[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR09[0].position(-80., -30., 80.) }")
h("proc initialiseV_MVR09() { for i = 0, n_MVR09-1 { a_MVR09[i].set_initial_v() } }")
h("objref fih_MVR09")
h('{fih_MVR09 = new FInitializeHandler(0, "initialiseV_MVR09()")}')
h("proc initialiseIons_MVR09() { for i = 0, n_MVR09-1 { a_MVR09[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR09")
h('{fih_ion_MVR09 = new FInitializeHandler(1, "initialiseIons_MVR09()")}')
# ###################### Population: MVR10
print("Population MVR10 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR10 = []
h("{ n_MVR10 = 1 }")
h("objectvar a_MVR10[n_MVR10]")
for i in range(int(h.n_MVR10)):
h("a_MVR10[%i] = new GenericMuscleCell()"%i)
h("access a_MVR10[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR10[0].position(-80., 0., 80.) }")
h("proc initialiseV_MVR10() { for i = 0, n_MVR10-1 { a_MVR10[i].set_initial_v() } }")
h("objref fih_MVR10")
h('{fih_MVR10 = new FInitializeHandler(0, "initialiseV_MVR10()")}')
h("proc initialiseIons_MVR10() { for i = 0, n_MVR10-1 { a_MVR10[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR10")
h('{fih_ion_MVR10 = new FInitializeHandler(1, "initialiseIons_MVR10()")}')
# ###################### Population: MVR11
print("Population MVR11 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR11 = []
h("{ n_MVR11 = 1 }")
h("objectvar a_MVR11[n_MVR11]")
for i in range(int(h.n_MVR11)):
h("a_MVR11[%i] = new GenericMuscleCell()"%i)
h("access a_MVR11[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR11[0].position(-80., 30., 80.) }")
h("proc initialiseV_MVR11() { for i = 0, n_MVR11-1 { a_MVR11[i].set_initial_v() } }")
h("objref fih_MVR11")
h('{fih_MVR11 = new FInitializeHandler(0, "initialiseV_MVR11()")}')
h("proc initialiseIons_MVR11() { for i = 0, n_MVR11-1 { a_MVR11[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR11")
h('{fih_ion_MVR11 = new FInitializeHandler(1, "initialiseIons_MVR11()")}')
# ###################### Population: MVR12
print("Population MVR12 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR12 = []
h("{ n_MVR12 = 1 }")
h("objectvar a_MVR12[n_MVR12]")
for i in range(int(h.n_MVR12)):
h("a_MVR12[%i] = new GenericMuscleCell()"%i)
h("access a_MVR12[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR12[0].position(-80., 60., 80.) }")
h("proc initialiseV_MVR12() { for i = 0, n_MVR12-1 { a_MVR12[i].set_initial_v() } }")
h("objref fih_MVR12")
h('{fih_MVR12 = new FInitializeHandler(0, "initialiseV_MVR12()")}')
h("proc initialiseIons_MVR12() { for i = 0, n_MVR12-1 { a_MVR12[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR12")
h('{fih_ion_MVR12 = new FInitializeHandler(1, "initialiseIons_MVR12()")}')
# ###################### Population: MVR13
print("Population MVR13 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR13 = []
h("{ n_MVR13 = 1 }")
h("objectvar a_MVR13[n_MVR13]")
for i in range(int(h.n_MVR13)):
h("a_MVR13[%i] = new GenericMuscleCell()"%i)
h("access a_MVR13[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR13[0].position(-80., 90., 80.) }")
h("proc initialiseV_MVR13() { for i = 0, n_MVR13-1 { a_MVR13[i].set_initial_v() } }")
h("objref fih_MVR13")
h('{fih_MVR13 = new FInitializeHandler(0, "initialiseV_MVR13()")}')
h("proc initialiseIons_MVR13() { for i = 0, n_MVR13-1 { a_MVR13[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR13")
h('{fih_ion_MVR13 = new FInitializeHandler(1, "initialiseIons_MVR13()")}')
# ###################### Population: MVR14
print("Population MVR14 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR14 = []
h("{ n_MVR14 = 1 }")
h("objectvar a_MVR14[n_MVR14]")
for i in range(int(h.n_MVR14)):
h("a_MVR14[%i] = new GenericMuscleCell()"%i)
h("access a_MVR14[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR14[0].position(-80., 120., 80.) }")
h("proc initialiseV_MVR14() { for i = 0, n_MVR14-1 { a_MVR14[i].set_initial_v() } }")
h("objref fih_MVR14")
h('{fih_MVR14 = new FInitializeHandler(0, "initialiseV_MVR14()")}')
h("proc initialiseIons_MVR14() { for i = 0, n_MVR14-1 { a_MVR14[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR14")
h('{fih_ion_MVR14 = new FInitializeHandler(1, "initialiseIons_MVR14()")}')
# ###################### Population: MVR15
print("Population MVR15 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR15 = []
h("{ n_MVR15 = 1 }")
h("objectvar a_MVR15[n_MVR15]")
for i in range(int(h.n_MVR15)):
h("a_MVR15[%i] = new GenericMuscleCell()"%i)
h("access a_MVR15[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR15[0].position(-80., 150., 80.) }")
h("proc initialiseV_MVR15() { for i = 0, n_MVR15-1 { a_MVR15[i].set_initial_v() } }")
h("objref fih_MVR15")
h('{fih_MVR15 = new FInitializeHandler(0, "initialiseV_MVR15()")}')
h("proc initialiseIons_MVR15() { for i = 0, n_MVR15-1 { a_MVR15[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR15")
h('{fih_ion_MVR15 = new FInitializeHandler(1, "initialiseIons_MVR15()")}')
# ###################### Population: MVR16
print("Population MVR16 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR16 = []
h("{ n_MVR16 = 1 }")
h("objectvar a_MVR16[n_MVR16]")
for i in range(int(h.n_MVR16)):
h("a_MVR16[%i] = new GenericMuscleCell()"%i)
h("access a_MVR16[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR16[0].position(-80., 180., 80.) }")
h("proc initialiseV_MVR16() { for i = 0, n_MVR16-1 { a_MVR16[i].set_initial_v() } }")
h("objref fih_MVR16")
h('{fih_MVR16 = new FInitializeHandler(0, "initialiseV_MVR16()")}')
h("proc initialiseIons_MVR16() { for i = 0, n_MVR16-1 { a_MVR16[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR16")
h('{fih_ion_MVR16 = new FInitializeHandler(1, "initialiseIons_MVR16()")}')
# ###################### Population: MVR17
print("Population MVR17 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR17 = []
h("{ n_MVR17 = 1 }")
h("objectvar a_MVR17[n_MVR17]")
for i in range(int(h.n_MVR17)):
h("a_MVR17[%i] = new GenericMuscleCell()"%i)
h("access a_MVR17[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR17[0].position(-80., 210., 80.) }")
h("proc initialiseV_MVR17() { for i = 0, n_MVR17-1 { a_MVR17[i].set_initial_v() } }")
h("objref fih_MVR17")
h('{fih_MVR17 = new FInitializeHandler(0, "initialiseV_MVR17()")}')
h("proc initialiseIons_MVR17() { for i = 0, n_MVR17-1 { a_MVR17[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR17")
h('{fih_ion_MVR17 = new FInitializeHandler(1, "initialiseIons_MVR17()")}')
# ###################### Population: MVR18
print("Population MVR18 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR18 = []
h("{ n_MVR18 = 1 }")
h("objectvar a_MVR18[n_MVR18]")
for i in range(int(h.n_MVR18)):
h("a_MVR18[%i] = new GenericMuscleCell()"%i)
h("access a_MVR18[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR18[0].position(-80., 240., 80.) }")
h("proc initialiseV_MVR18() { for i = 0, n_MVR18-1 { a_MVR18[i].set_initial_v() } }")
h("objref fih_MVR18")
h('{fih_MVR18 = new FInitializeHandler(0, "initialiseV_MVR18()")}')
h("proc initialiseIons_MVR18() { for i = 0, n_MVR18-1 { a_MVR18[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR18")
h('{fih_ion_MVR18 = new FInitializeHandler(1, "initialiseIons_MVR18()")}')
# ###################### Population: MVR19
print("Population MVR19 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR19 = []
h("{ n_MVR19 = 1 }")
h("objectvar a_MVR19[n_MVR19]")
for i in range(int(h.n_MVR19)):
h("a_MVR19[%i] = new GenericMuscleCell()"%i)
h("access a_MVR19[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR19[0].position(-80., 270., 80.) }")
h("proc initialiseV_MVR19() { for i = 0, n_MVR19-1 { a_MVR19[i].set_initial_v() } }")
h("objref fih_MVR19")
h('{fih_MVR19 = new FInitializeHandler(0, "initialiseV_MVR19()")}')
h("proc initialiseIons_MVR19() { for i = 0, n_MVR19-1 { a_MVR19[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR19")
h('{fih_ion_MVR19 = new FInitializeHandler(1, "initialiseIons_MVR19()")}')
# ###################### Population: MVR20
print("Population MVR20 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR20 = []
h("{ n_MVR20 = 1 }")
h("objectvar a_MVR20[n_MVR20]")
for i in range(int(h.n_MVR20)):
h("a_MVR20[%i] = new GenericMuscleCell()"%i)
h("access a_MVR20[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR20[0].position(-80., 300., 80.) }")
h("proc initialiseV_MVR20() { for i = 0, n_MVR20-1 { a_MVR20[i].set_initial_v() } }")
h("objref fih_MVR20")
h('{fih_MVR20 = new FInitializeHandler(0, "initialiseV_MVR20()")}')
h("proc initialiseIons_MVR20() { for i = 0, n_MVR20-1 { a_MVR20[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR20")
h('{fih_ion_MVR20 = new FInitializeHandler(1, "initialiseIons_MVR20()")}')
# ###################### Population: MVR21
print("Population MVR21 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR21 = []
h("{ n_MVR21 = 1 }")
h("objectvar a_MVR21[n_MVR21]")
for i in range(int(h.n_MVR21)):
h("a_MVR21[%i] = new GenericMuscleCell()"%i)
h("access a_MVR21[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR21[0].position(-80., 330., 80.) }")
h("proc initialiseV_MVR21() { for i = 0, n_MVR21-1 { a_MVR21[i].set_initial_v() } }")
h("objref fih_MVR21")
h('{fih_MVR21 = new FInitializeHandler(0, "initialiseV_MVR21()")}')
h("proc initialiseIons_MVR21() { for i = 0, n_MVR21-1 { a_MVR21[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR21")
h('{fih_ion_MVR21 = new FInitializeHandler(1, "initialiseIons_MVR21()")}')
# ###################### Population: MVR22
print("Population MVR22 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR22 = []
h("{ n_MVR22 = 1 }")
h("objectvar a_MVR22[n_MVR22]")
for i in range(int(h.n_MVR22)):
h("a_MVR22[%i] = new GenericMuscleCell()"%i)
h("access a_MVR22[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR22[0].position(-80., 360., 80.) }")
h("proc initialiseV_MVR22() { for i = 0, n_MVR22-1 { a_MVR22[i].set_initial_v() } }")
h("objref fih_MVR22")
h('{fih_MVR22 = new FInitializeHandler(0, "initialiseV_MVR22()")}')
h("proc initialiseIons_MVR22() { for i = 0, n_MVR22-1 { a_MVR22[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR22")
h('{fih_ion_MVR22 = new FInitializeHandler(1, "initialiseIons_MVR22()")}')
# ###################### Population: MVR23
print("Population MVR23 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVR23 = []
h("{ n_MVR23 = 1 }")
h("objectvar a_MVR23[n_MVR23]")
for i in range(int(h.n_MVR23)):
h("a_MVR23[%i] = new GenericMuscleCell()"%i)
h("access a_MVR23[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVR23[0].position(-80., 390., 80.) }")
h("proc initialiseV_MVR23() { for i = 0, n_MVR23-1 { a_MVR23[i].set_initial_v() } }")
h("objref fih_MVR23")
h('{fih_MVR23 = new FInitializeHandler(0, "initialiseV_MVR23()")}')
h("proc initialiseIons_MVR23() { for i = 0, n_MVR23-1 { a_MVR23[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVR23")
h('{fih_ion_MVR23 = new FInitializeHandler(1, "initialiseIons_MVR23()")}')
# ###################### Population: MVL01
print("Population MVL01 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL01 = []
h("{ n_MVL01 = 1 }")
h("objectvar a_MVL01[n_MVL01]")
for i in range(int(h.n_MVL01)):
h("a_MVL01[%i] = new GenericMuscleCell()"%i)
h("access a_MVL01[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL01[0].position(-80., -270., -80.) }")
h("proc initialiseV_MVL01() { for i = 0, n_MVL01-1 { a_MVL01[i].set_initial_v() } }")
h("objref fih_MVL01")
h('{fih_MVL01 = new FInitializeHandler(0, "initialiseV_MVL01()")}')
h("proc initialiseIons_MVL01() { for i = 0, n_MVL01-1 { a_MVL01[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL01")
h('{fih_ion_MVL01 = new FInitializeHandler(1, "initialiseIons_MVL01()")}')
# ###################### Population: MVL02
print("Population MVL02 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL02 = []
h("{ n_MVL02 = 1 }")
h("objectvar a_MVL02[n_MVL02]")
for i in range(int(h.n_MVL02)):
h("a_MVL02[%i] = new GenericMuscleCell()"%i)
h("access a_MVL02[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL02[0].position(-80., -240., -80.) }")
h("proc initialiseV_MVL02() { for i = 0, n_MVL02-1 { a_MVL02[i].set_initial_v() } }")
h("objref fih_MVL02")
h('{fih_MVL02 = new FInitializeHandler(0, "initialiseV_MVL02()")}')
h("proc initialiseIons_MVL02() { for i = 0, n_MVL02-1 { a_MVL02[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL02")
h('{fih_ion_MVL02 = new FInitializeHandler(1, "initialiseIons_MVL02()")}')
# ###################### Population: MVL03
print("Population MVL03 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL03 = []
h("{ n_MVL03 = 1 }")
h("objectvar a_MVL03[n_MVL03]")
for i in range(int(h.n_MVL03)):
h("a_MVL03[%i] = new GenericMuscleCell()"%i)
h("access a_MVL03[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL03[0].position(-80., -210., -80.) }")
h("proc initialiseV_MVL03() { for i = 0, n_MVL03-1 { a_MVL03[i].set_initial_v() } }")
h("objref fih_MVL03")
h('{fih_MVL03 = new FInitializeHandler(0, "initialiseV_MVL03()")}')
h("proc initialiseIons_MVL03() { for i = 0, n_MVL03-1 { a_MVL03[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL03")
h('{fih_ion_MVL03 = new FInitializeHandler(1, "initialiseIons_MVL03()")}')
# ###################### Population: MVL04
print("Population MVL04 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL04 = []
h("{ n_MVL04 = 1 }")
h("objectvar a_MVL04[n_MVL04]")
for i in range(int(h.n_MVL04)):
h("a_MVL04[%i] = new GenericMuscleCell()"%i)
h("access a_MVL04[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL04[0].position(-80., -180., -80.) }")
h("proc initialiseV_MVL04() { for i = 0, n_MVL04-1 { a_MVL04[i].set_initial_v() } }")
h("objref fih_MVL04")
h('{fih_MVL04 = new FInitializeHandler(0, "initialiseV_MVL04()")}')
h("proc initialiseIons_MVL04() { for i = 0, n_MVL04-1 { a_MVL04[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL04")
h('{fih_ion_MVL04 = new FInitializeHandler(1, "initialiseIons_MVL04()")}')
# ###################### Population: MVL05
print("Population MVL05 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL05 = []
h("{ n_MVL05 = 1 }")
h("objectvar a_MVL05[n_MVL05]")
for i in range(int(h.n_MVL05)):
h("a_MVL05[%i] = new GenericMuscleCell()"%i)
h("access a_MVL05[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL05[0].position(-80., -150., -80.) }")
h("proc initialiseV_MVL05() { for i = 0, n_MVL05-1 { a_MVL05[i].set_initial_v() } }")
h("objref fih_MVL05")
h('{fih_MVL05 = new FInitializeHandler(0, "initialiseV_MVL05()")}')
h("proc initialiseIons_MVL05() { for i = 0, n_MVL05-1 { a_MVL05[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL05")
h('{fih_ion_MVL05 = new FInitializeHandler(1, "initialiseIons_MVL05()")}')
# ###################### Population: MVL06
print("Population MVL06 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL06 = []
h("{ n_MVL06 = 1 }")
h("objectvar a_MVL06[n_MVL06]")
for i in range(int(h.n_MVL06)):
h("a_MVL06[%i] = new GenericMuscleCell()"%i)
h("access a_MVL06[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL06[0].position(-80., -120., -80.) }")
h("proc initialiseV_MVL06() { for i = 0, n_MVL06-1 { a_MVL06[i].set_initial_v() } }")
h("objref fih_MVL06")
h('{fih_MVL06 = new FInitializeHandler(0, "initialiseV_MVL06()")}')
h("proc initialiseIons_MVL06() { for i = 0, n_MVL06-1 { a_MVL06[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL06")
h('{fih_ion_MVL06 = new FInitializeHandler(1, "initialiseIons_MVL06()")}')
# ###################### Population: MVL07
print("Population MVL07 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL07 = []
h("{ n_MVL07 = 1 }")
h("objectvar a_MVL07[n_MVL07]")
for i in range(int(h.n_MVL07)):
h("a_MVL07[%i] = new GenericMuscleCell()"%i)
h("access a_MVL07[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL07[0].position(-80., -90., -80.) }")
h("proc initialiseV_MVL07() { for i = 0, n_MVL07-1 { a_MVL07[i].set_initial_v() } }")
h("objref fih_MVL07")
h('{fih_MVL07 = new FInitializeHandler(0, "initialiseV_MVL07()")}')
h("proc initialiseIons_MVL07() { for i = 0, n_MVL07-1 { a_MVL07[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL07")
h('{fih_ion_MVL07 = new FInitializeHandler(1, "initialiseIons_MVL07()")}')
# ###################### Population: MVL08
print("Population MVL08 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL08 = []
h("{ n_MVL08 = 1 }")
h("objectvar a_MVL08[n_MVL08]")
for i in range(int(h.n_MVL08)):
h("a_MVL08[%i] = new GenericMuscleCell()"%i)
h("access a_MVL08[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL08[0].position(-80., -60., -80.) }")
h("proc initialiseV_MVL08() { for i = 0, n_MVL08-1 { a_MVL08[i].set_initial_v() } }")
h("objref fih_MVL08")
h('{fih_MVL08 = new FInitializeHandler(0, "initialiseV_MVL08()")}')
h("proc initialiseIons_MVL08() { for i = 0, n_MVL08-1 { a_MVL08[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL08")
h('{fih_ion_MVL08 = new FInitializeHandler(1, "initialiseIons_MVL08()")}')
# ###################### Population: MVL09
print("Population MVL09 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL09 = []
h("{ n_MVL09 = 1 }")
h("objectvar a_MVL09[n_MVL09]")
for i in range(int(h.n_MVL09)):
h("a_MVL09[%i] = new GenericMuscleCell()"%i)
h("access a_MVL09[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL09[0].position(-80., -30., -80.) }")
h("proc initialiseV_MVL09() { for i = 0, n_MVL09-1 { a_MVL09[i].set_initial_v() } }")
h("objref fih_MVL09")
h('{fih_MVL09 = new FInitializeHandler(0, "initialiseV_MVL09()")}')
h("proc initialiseIons_MVL09() { for i = 0, n_MVL09-1 { a_MVL09[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL09")
h('{fih_ion_MVL09 = new FInitializeHandler(1, "initialiseIons_MVL09()")}')
# ###################### Population: MVL10
print("Population MVL10 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL10 = []
h("{ n_MVL10 = 1 }")
h("objectvar a_MVL10[n_MVL10]")
for i in range(int(h.n_MVL10)):
h("a_MVL10[%i] = new GenericMuscleCell()"%i)
h("access a_MVL10[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL10[0].position(-80., 0., -80.) }")
h("proc initialiseV_MVL10() { for i = 0, n_MVL10-1 { a_MVL10[i].set_initial_v() } }")
h("objref fih_MVL10")
h('{fih_MVL10 = new FInitializeHandler(0, "initialiseV_MVL10()")}')
h("proc initialiseIons_MVL10() { for i = 0, n_MVL10-1 { a_MVL10[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL10")
h('{fih_ion_MVL10 = new FInitializeHandler(1, "initialiseIons_MVL10()")}')
# ###################### Population: MVL11
print("Population MVL11 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL11 = []
h("{ n_MVL11 = 1 }")
h("objectvar a_MVL11[n_MVL11]")
for i in range(int(h.n_MVL11)):
h("a_MVL11[%i] = new GenericMuscleCell()"%i)
h("access a_MVL11[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL11[0].position(-80., 30., -80.) }")
h("proc initialiseV_MVL11() { for i = 0, n_MVL11-1 { a_MVL11[i].set_initial_v() } }")
h("objref fih_MVL11")
h('{fih_MVL11 = new FInitializeHandler(0, "initialiseV_MVL11()")}')
h("proc initialiseIons_MVL11() { for i = 0, n_MVL11-1 { a_MVL11[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL11")
h('{fih_ion_MVL11 = new FInitializeHandler(1, "initialiseIons_MVL11()")}')
# ###################### Population: MVL12
print("Population MVL12 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL12 = []
h("{ n_MVL12 = 1 }")
h("objectvar a_MVL12[n_MVL12]")
for i in range(int(h.n_MVL12)):
h("a_MVL12[%i] = new GenericMuscleCell()"%i)
h("access a_MVL12[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL12[0].position(-80., 60., -80.) }")
h("proc initialiseV_MVL12() { for i = 0, n_MVL12-1 { a_MVL12[i].set_initial_v() } }")
h("objref fih_MVL12")
h('{fih_MVL12 = new FInitializeHandler(0, "initialiseV_MVL12()")}')
h("proc initialiseIons_MVL12() { for i = 0, n_MVL12-1 { a_MVL12[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL12")
h('{fih_ion_MVL12 = new FInitializeHandler(1, "initialiseIons_MVL12()")}')
# ###################### Population: MVL13
print("Population MVL13 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL13 = []
h("{ n_MVL13 = 1 }")
h("objectvar a_MVL13[n_MVL13]")
for i in range(int(h.n_MVL13)):
h("a_MVL13[%i] = new GenericMuscleCell()"%i)
h("access a_MVL13[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL13[0].position(-80., 90., -80.) }")
h("proc initialiseV_MVL13() { for i = 0, n_MVL13-1 { a_MVL13[i].set_initial_v() } }")
h("objref fih_MVL13")
h('{fih_MVL13 = new FInitializeHandler(0, "initialiseV_MVL13()")}')
h("proc initialiseIons_MVL13() { for i = 0, n_MVL13-1 { a_MVL13[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL13")
h('{fih_ion_MVL13 = new FInitializeHandler(1, "initialiseIons_MVL13()")}')
# ###################### Population: MVL14
print("Population MVL14 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL14 = []
h("{ n_MVL14 = 1 }")
h("objectvar a_MVL14[n_MVL14]")
for i in range(int(h.n_MVL14)):
h("a_MVL14[%i] = new GenericMuscleCell()"%i)
h("access a_MVL14[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL14[0].position(-80., 120., -80.) }")
h("proc initialiseV_MVL14() { for i = 0, n_MVL14-1 { a_MVL14[i].set_initial_v() } }")
h("objref fih_MVL14")
h('{fih_MVL14 = new FInitializeHandler(0, "initialiseV_MVL14()")}')
h("proc initialiseIons_MVL14() { for i = 0, n_MVL14-1 { a_MVL14[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL14")
h('{fih_ion_MVL14 = new FInitializeHandler(1, "initialiseIons_MVL14()")}')
# ###################### Population: MVL15
print("Population MVL15 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL15 = []
h("{ n_MVL15 = 1 }")
h("objectvar a_MVL15[n_MVL15]")
for i in range(int(h.n_MVL15)):
h("a_MVL15[%i] = new GenericMuscleCell()"%i)
h("access a_MVL15[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL15[0].position(-80., 150., -80.) }")
h("proc initialiseV_MVL15() { for i = 0, n_MVL15-1 { a_MVL15[i].set_initial_v() } }")
h("objref fih_MVL15")
h('{fih_MVL15 = new FInitializeHandler(0, "initialiseV_MVL15()")}')
h("proc initialiseIons_MVL15() { for i = 0, n_MVL15-1 { a_MVL15[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL15")
h('{fih_ion_MVL15 = new FInitializeHandler(1, "initialiseIons_MVL15()")}')
# ###################### Population: MVL16
print("Population MVL16 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL16 = []
h("{ n_MVL16 = 1 }")
h("objectvar a_MVL16[n_MVL16]")
for i in range(int(h.n_MVL16)):
h("a_MVL16[%i] = new GenericMuscleCell()"%i)
h("access a_MVL16[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL16[0].position(-80., 180., -80.) }")
h("proc initialiseV_MVL16() { for i = 0, n_MVL16-1 { a_MVL16[i].set_initial_v() } }")
h("objref fih_MVL16")
h('{fih_MVL16 = new FInitializeHandler(0, "initialiseV_MVL16()")}')
h("proc initialiseIons_MVL16() { for i = 0, n_MVL16-1 { a_MVL16[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL16")
h('{fih_ion_MVL16 = new FInitializeHandler(1, "initialiseIons_MVL16()")}')
# ###################### Population: MVL17
print("Population MVL17 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL17 = []
h("{ n_MVL17 = 1 }")
h("objectvar a_MVL17[n_MVL17]")
for i in range(int(h.n_MVL17)):
h("a_MVL17[%i] = new GenericMuscleCell()"%i)
h("access a_MVL17[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL17[0].position(-80., 210., -80.) }")
h("proc initialiseV_MVL17() { for i = 0, n_MVL17-1 { a_MVL17[i].set_initial_v() } }")
h("objref fih_MVL17")
h('{fih_MVL17 = new FInitializeHandler(0, "initialiseV_MVL17()")}')
h("proc initialiseIons_MVL17() { for i = 0, n_MVL17-1 { a_MVL17[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL17")
h('{fih_ion_MVL17 = new FInitializeHandler(1, "initialiseIons_MVL17()")}')
# ###################### Population: MVL18
print("Population MVL18 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL18 = []
h("{ n_MVL18 = 1 }")
h("objectvar a_MVL18[n_MVL18]")
for i in range(int(h.n_MVL18)):
h("a_MVL18[%i] = new GenericMuscleCell()"%i)
h("access a_MVL18[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL18[0].position(-80., 240., -80.) }")
h("proc initialiseV_MVL18() { for i = 0, n_MVL18-1 { a_MVL18[i].set_initial_v() } }")
h("objref fih_MVL18")
h('{fih_MVL18 = new FInitializeHandler(0, "initialiseV_MVL18()")}')
h("proc initialiseIons_MVL18() { for i = 0, n_MVL18-1 { a_MVL18[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL18")
h('{fih_ion_MVL18 = new FInitializeHandler(1, "initialiseIons_MVL18()")}')
# ###################### Population: MVL19
print("Population MVL19 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL19 = []
h("{ n_MVL19 = 1 }")
h("objectvar a_MVL19[n_MVL19]")
for i in range(int(h.n_MVL19)):
h("a_MVL19[%i] = new GenericMuscleCell()"%i)
h("access a_MVL19[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL19[0].position(-80., 270., -80.) }")
h("proc initialiseV_MVL19() { for i = 0, n_MVL19-1 { a_MVL19[i].set_initial_v() } }")
h("objref fih_MVL19")
h('{fih_MVL19 = new FInitializeHandler(0, "initialiseV_MVL19()")}')
h("proc initialiseIons_MVL19() { for i = 0, n_MVL19-1 { a_MVL19[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL19")
h('{fih_ion_MVL19 = new FInitializeHandler(1, "initialiseIons_MVL19()")}')
# ###################### Population: MVL20
print("Population MVL20 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL20 = []
h("{ n_MVL20 = 1 }")
h("objectvar a_MVL20[n_MVL20]")
for i in range(int(h.n_MVL20)):
h("a_MVL20[%i] = new GenericMuscleCell()"%i)
h("access a_MVL20[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL20[0].position(-80., 300., -80.) }")
h("proc initialiseV_MVL20() { for i = 0, n_MVL20-1 { a_MVL20[i].set_initial_v() } }")
h("objref fih_MVL20")
h('{fih_MVL20 = new FInitializeHandler(0, "initialiseV_MVL20()")}')
h("proc initialiseIons_MVL20() { for i = 0, n_MVL20-1 { a_MVL20[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL20")
h('{fih_ion_MVL20 = new FInitializeHandler(1, "initialiseIons_MVL20()")}')
# ###################### Population: MVL21
print("Population MVL21 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL21 = []
h("{ n_MVL21 = 1 }")
h("objectvar a_MVL21[n_MVL21]")
for i in range(int(h.n_MVL21)):
h("a_MVL21[%i] = new GenericMuscleCell()"%i)
h("access a_MVL21[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL21[0].position(-80., 330., -80.) }")
h("proc initialiseV_MVL21() { for i = 0, n_MVL21-1 { a_MVL21[i].set_initial_v() } }")
h("objref fih_MVL21")
h('{fih_MVL21 = new FInitializeHandler(0, "initialiseV_MVL21()")}')
h("proc initialiseIons_MVL21() { for i = 0, n_MVL21-1 { a_MVL21[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL21")
h('{fih_ion_MVL21 = new FInitializeHandler(1, "initialiseIons_MVL21()")}')
# ###################### Population: MVL22
print("Population MVL22 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL22 = []
h("{ n_MVL22 = 1 }")
h("objectvar a_MVL22[n_MVL22]")
for i in range(int(h.n_MVL22)):
h("a_MVL22[%i] = new GenericMuscleCell()"%i)
h("access a_MVL22[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL22[0].position(-80., 360., -80.) }")
h("proc initialiseV_MVL22() { for i = 0, n_MVL22-1 { a_MVL22[i].set_initial_v() } }")
h("objref fih_MVL22")
h('{fih_MVL22 = new FInitializeHandler(0, "initialiseV_MVL22()")}')
h("proc initialiseIons_MVL22() { for i = 0, n_MVL22-1 { a_MVL22[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL22")
h('{fih_ion_MVL22 = new FInitializeHandler(1, "initialiseIons_MVL22()")}')
# ###################### Population: MVL23
print("Population MVL23 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL23 = []
h("{ n_MVL23 = 1 }")
h("objectvar a_MVL23[n_MVL23]")
for i in range(int(h.n_MVL23)):
h("a_MVL23[%i] = new GenericMuscleCell()"%i)
h("access a_MVL23[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL23[0].position(-80., 390., -80.) }")
h("proc initialiseV_MVL23() { for i = 0, n_MVL23-1 { a_MVL23[i].set_initial_v() } }")
h("objref fih_MVL23")
h('{fih_MVL23 = new FInitializeHandler(0, "initialiseV_MVL23()")}')
h("proc initialiseIons_MVL23() { for i = 0, n_MVL23-1 { a_MVL23[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL23")
h('{fih_ion_MVL23 = new FInitializeHandler(1, "initialiseIons_MVL23()")}')
# ###################### Population: MVL24
print("Population MVL24 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MVL24 = []
h("{ n_MVL24 = 1 }")
h("objectvar a_MVL24[n_MVL24]")
for i in range(int(h.n_MVL24)):
h("a_MVL24[%i] = new GenericMuscleCell()"%i)
h("access a_MVL24[%i].soma"%i)
self.next_global_id+=1
h("{ a_MVL24[0].position(-80., 420., -80.) }")
h("proc initialiseV_MVL24() { for i = 0, n_MVL24-1 { a_MVL24[i].set_initial_v() } }")
h("objref fih_MVL24")
h('{fih_MVL24 = new FInitializeHandler(0, "initialiseV_MVL24()")}')
h("proc initialiseIons_MVL24() { for i = 0, n_MVL24-1 { a_MVL24[i].set_initial_ion_properties() } }")
h("objref fih_ion_MVL24")
h('{fih_ion_MVL24 = new FInitializeHandler(1, "initialiseIons_MVL24()")}')
# ###################### Population: MDL01
print("Population MDL01 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL01 = []
h("{ n_MDL01 = 1 }")
h("objectvar a_MDL01[n_MDL01]")
for i in range(int(h.n_MDL01)):
h("a_MDL01[%i] = new GenericMuscleCell()"%i)
h("access a_MDL01[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL01[0].position(80., -270., -80.) }")
h("proc initialiseV_MDL01() { for i = 0, n_MDL01-1 { a_MDL01[i].set_initial_v() } }")
h("objref fih_MDL01")
h('{fih_MDL01 = new FInitializeHandler(0, "initialiseV_MDL01()")}')
h("proc initialiseIons_MDL01() { for i = 0, n_MDL01-1 { a_MDL01[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL01")
h('{fih_ion_MDL01 = new FInitializeHandler(1, "initialiseIons_MDL01()")}')
# ###################### Population: MDL02
print("Population MDL02 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL02 = []
h("{ n_MDL02 = 1 }")
h("objectvar a_MDL02[n_MDL02]")
for i in range(int(h.n_MDL02)):
h("a_MDL02[%i] = new GenericMuscleCell()"%i)
h("access a_MDL02[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL02[0].position(80., -240., -80.) }")
h("proc initialiseV_MDL02() { for i = 0, n_MDL02-1 { a_MDL02[i].set_initial_v() } }")
h("objref fih_MDL02")
h('{fih_MDL02 = new FInitializeHandler(0, "initialiseV_MDL02()")}')
h("proc initialiseIons_MDL02() { for i = 0, n_MDL02-1 { a_MDL02[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL02")
h('{fih_ion_MDL02 = new FInitializeHandler(1, "initialiseIons_MDL02()")}')
# ###################### Population: MDL03
print("Population MDL03 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL03 = []
h("{ n_MDL03 = 1 }")
h("objectvar a_MDL03[n_MDL03]")
for i in range(int(h.n_MDL03)):
h("a_MDL03[%i] = new GenericMuscleCell()"%i)
h("access a_MDL03[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL03[0].position(80., -210., -80.) }")
h("proc initialiseV_MDL03() { for i = 0, n_MDL03-1 { a_MDL03[i].set_initial_v() } }")
h("objref fih_MDL03")
h('{fih_MDL03 = new FInitializeHandler(0, "initialiseV_MDL03()")}')
h("proc initialiseIons_MDL03() { for i = 0, n_MDL03-1 { a_MDL03[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL03")
h('{fih_ion_MDL03 = new FInitializeHandler(1, "initialiseIons_MDL03()")}')
# ###################### Population: MDL04
print("Population MDL04 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL04 = []
h("{ n_MDL04 = 1 }")
h("objectvar a_MDL04[n_MDL04]")
for i in range(int(h.n_MDL04)):
h("a_MDL04[%i] = new GenericMuscleCell()"%i)
h("access a_MDL04[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL04[0].position(80., -180., -80.) }")
h("proc initialiseV_MDL04() { for i = 0, n_MDL04-1 { a_MDL04[i].set_initial_v() } }")
h("objref fih_MDL04")
h('{fih_MDL04 = new FInitializeHandler(0, "initialiseV_MDL04()")}')
h("proc initialiseIons_MDL04() { for i = 0, n_MDL04-1 { a_MDL04[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL04")
h('{fih_ion_MDL04 = new FInitializeHandler(1, "initialiseIons_MDL04()")}')
# ###################### Population: MDL05
print("Population MDL05 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL05 = []
h("{ n_MDL05 = 1 }")
h("objectvar a_MDL05[n_MDL05]")
for i in range(int(h.n_MDL05)):
h("a_MDL05[%i] = new GenericMuscleCell()"%i)
h("access a_MDL05[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL05[0].position(80., -150., -80.) }")
h("proc initialiseV_MDL05() { for i = 0, n_MDL05-1 { a_MDL05[i].set_initial_v() } }")
h("objref fih_MDL05")
h('{fih_MDL05 = new FInitializeHandler(0, "initialiseV_MDL05()")}')
h("proc initialiseIons_MDL05() { for i = 0, n_MDL05-1 { a_MDL05[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL05")
h('{fih_ion_MDL05 = new FInitializeHandler(1, "initialiseIons_MDL05()")}')
# ###################### Population: MDL06
print("Population MDL06 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL06 = []
h("{ n_MDL06 = 1 }")
h("objectvar a_MDL06[n_MDL06]")
for i in range(int(h.n_MDL06)):
h("a_MDL06[%i] = new GenericMuscleCell()"%i)
h("access a_MDL06[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL06[0].position(80., -120., -80.) }")
h("proc initialiseV_MDL06() { for i = 0, n_MDL06-1 { a_MDL06[i].set_initial_v() } }")
h("objref fih_MDL06")
h('{fih_MDL06 = new FInitializeHandler(0, "initialiseV_MDL06()")}')
h("proc initialiseIons_MDL06() { for i = 0, n_MDL06-1 { a_MDL06[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL06")
h('{fih_ion_MDL06 = new FInitializeHandler(1, "initialiseIons_MDL06()")}')
# ###################### Population: MDL07
print("Population MDL07 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL07 = []
h("{ n_MDL07 = 1 }")
h("objectvar a_MDL07[n_MDL07]")
for i in range(int(h.n_MDL07)):
h("a_MDL07[%i] = new GenericMuscleCell()"%i)
h("access a_MDL07[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL07[0].position(80., -90., -80.) }")
h("proc initialiseV_MDL07() { for i = 0, n_MDL07-1 { a_MDL07[i].set_initial_v() } }")
h("objref fih_MDL07")
h('{fih_MDL07 = new FInitializeHandler(0, "initialiseV_MDL07()")}')
h("proc initialiseIons_MDL07() { for i = 0, n_MDL07-1 { a_MDL07[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL07")
h('{fih_ion_MDL07 = new FInitializeHandler(1, "initialiseIons_MDL07()")}')
# ###################### Population: MDL08
print("Population MDL08 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL08 = []
h("{ n_MDL08 = 1 }")
h("objectvar a_MDL08[n_MDL08]")
for i in range(int(h.n_MDL08)):
h("a_MDL08[%i] = new GenericMuscleCell()"%i)
h("access a_MDL08[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL08[0].position(80., -60., -80.) }")
h("proc initialiseV_MDL08() { for i = 0, n_MDL08-1 { a_MDL08[i].set_initial_v() } }")
h("objref fih_MDL08")
h('{fih_MDL08 = new FInitializeHandler(0, "initialiseV_MDL08()")}')
h("proc initialiseIons_MDL08() { for i = 0, n_MDL08-1 { a_MDL08[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL08")
h('{fih_ion_MDL08 = new FInitializeHandler(1, "initialiseIons_MDL08()")}')
# ###################### Population: MDL09
print("Population MDL09 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL09 = []
h("{ n_MDL09 = 1 }")
h("objectvar a_MDL09[n_MDL09]")
for i in range(int(h.n_MDL09)):
h("a_MDL09[%i] = new GenericMuscleCell()"%i)
h("access a_MDL09[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL09[0].position(80., -30., -80.) }")
h("proc initialiseV_MDL09() { for i = 0, n_MDL09-1 { a_MDL09[i].set_initial_v() } }")
h("objref fih_MDL09")
h('{fih_MDL09 = new FInitializeHandler(0, "initialiseV_MDL09()")}')
h("proc initialiseIons_MDL09() { for i = 0, n_MDL09-1 { a_MDL09[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL09")
h('{fih_ion_MDL09 = new FInitializeHandler(1, "initialiseIons_MDL09()")}')
# ###################### Population: MDL10
print("Population MDL10 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL10 = []
h("{ n_MDL10 = 1 }")
h("objectvar a_MDL10[n_MDL10]")
for i in range(int(h.n_MDL10)):
h("a_MDL10[%i] = new GenericMuscleCell()"%i)
h("access a_MDL10[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL10[0].position(80., 0., -80.) }")
h("proc initialiseV_MDL10() { for i = 0, n_MDL10-1 { a_MDL10[i].set_initial_v() } }")
h("objref fih_MDL10")
h('{fih_MDL10 = new FInitializeHandler(0, "initialiseV_MDL10()")}')
h("proc initialiseIons_MDL10() { for i = 0, n_MDL10-1 { a_MDL10[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL10")
h('{fih_ion_MDL10 = new FInitializeHandler(1, "initialiseIons_MDL10()")}')
# ###################### Population: MDL11
print("Population MDL11 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL11 = []
h("{ n_MDL11 = 1 }")
h("objectvar a_MDL11[n_MDL11]")
for i in range(int(h.n_MDL11)):
h("a_MDL11[%i] = new GenericMuscleCell()"%i)
h("access a_MDL11[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL11[0].position(80., 30., -80.) }")
h("proc initialiseV_MDL11() { for i = 0, n_MDL11-1 { a_MDL11[i].set_initial_v() } }")
h("objref fih_MDL11")
h('{fih_MDL11 = new FInitializeHandler(0, "initialiseV_MDL11()")}')
h("proc initialiseIons_MDL11() { for i = 0, n_MDL11-1 { a_MDL11[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL11")
h('{fih_ion_MDL11 = new FInitializeHandler(1, "initialiseIons_MDL11()")}')
# ###################### Population: MDL12
print("Population MDL12 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL12 = []
h("{ n_MDL12 = 1 }")
h("objectvar a_MDL12[n_MDL12]")
for i in range(int(h.n_MDL12)):
h("a_MDL12[%i] = new GenericMuscleCell()"%i)
h("access a_MDL12[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL12[0].position(80., 60., -80.) }")
h("proc initialiseV_MDL12() { for i = 0, n_MDL12-1 { a_MDL12[i].set_initial_v() } }")
h("objref fih_MDL12")
h('{fih_MDL12 = new FInitializeHandler(0, "initialiseV_MDL12()")}')
h("proc initialiseIons_MDL12() { for i = 0, n_MDL12-1 { a_MDL12[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL12")
h('{fih_ion_MDL12 = new FInitializeHandler(1, "initialiseIons_MDL12()")}')
# ###################### Population: MDL13
print("Population MDL13 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL13 = []
h("{ n_MDL13 = 1 }")
h("objectvar a_MDL13[n_MDL13]")
for i in range(int(h.n_MDL13)):
h("a_MDL13[%i] = new GenericMuscleCell()"%i)
h("access a_MDL13[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL13[0].position(80., 90., -80.) }")
h("proc initialiseV_MDL13() { for i = 0, n_MDL13-1 { a_MDL13[i].set_initial_v() } }")
h("objref fih_MDL13")
h('{fih_MDL13 = new FInitializeHandler(0, "initialiseV_MDL13()")}')
h("proc initialiseIons_MDL13() { for i = 0, n_MDL13-1 { a_MDL13[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL13")
h('{fih_ion_MDL13 = new FInitializeHandler(1, "initialiseIons_MDL13()")}')
# ###################### Population: MDL14
print("Population MDL14 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL14 = []
h("{ n_MDL14 = 1 }")
h("objectvar a_MDL14[n_MDL14]")
for i in range(int(h.n_MDL14)):
h("a_MDL14[%i] = new GenericMuscleCell()"%i)
h("access a_MDL14[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL14[0].position(80., 120., -80.) }")
h("proc initialiseV_MDL14() { for i = 0, n_MDL14-1 { a_MDL14[i].set_initial_v() } }")
h("objref fih_MDL14")
h('{fih_MDL14 = new FInitializeHandler(0, "initialiseV_MDL14()")}')
h("proc initialiseIons_MDL14() { for i = 0, n_MDL14-1 { a_MDL14[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL14")
h('{fih_ion_MDL14 = new FInitializeHandler(1, "initialiseIons_MDL14()")}')
# ###################### Population: MDL15
print("Population MDL15 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL15 = []
h("{ n_MDL15 = 1 }")
h("objectvar a_MDL15[n_MDL15]")
for i in range(int(h.n_MDL15)):
h("a_MDL15[%i] = new GenericMuscleCell()"%i)
h("access a_MDL15[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL15[0].position(80., 150., -80.) }")
h("proc initialiseV_MDL15() { for i = 0, n_MDL15-1 { a_MDL15[i].set_initial_v() } }")
h("objref fih_MDL15")
h('{fih_MDL15 = new FInitializeHandler(0, "initialiseV_MDL15()")}')
h("proc initialiseIons_MDL15() { for i = 0, n_MDL15-1 { a_MDL15[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL15")
h('{fih_ion_MDL15 = new FInitializeHandler(1, "initialiseIons_MDL15()")}')
# ###################### Population: MDL16
print("Population MDL16 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL16 = []
h("{ n_MDL16 = 1 }")
h("objectvar a_MDL16[n_MDL16]")
for i in range(int(h.n_MDL16)):
h("a_MDL16[%i] = new GenericMuscleCell()"%i)
h("access a_MDL16[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL16[0].position(80., 180., -80.) }")
h("proc initialiseV_MDL16() { for i = 0, n_MDL16-1 { a_MDL16[i].set_initial_v() } }")
h("objref fih_MDL16")
h('{fih_MDL16 = new FInitializeHandler(0, "initialiseV_MDL16()")}')
h("proc initialiseIons_MDL16() { for i = 0, n_MDL16-1 { a_MDL16[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL16")
h('{fih_ion_MDL16 = new FInitializeHandler(1, "initialiseIons_MDL16()")}')
# ###################### Population: MDL17
print("Population MDL17 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL17 = []
h("{ n_MDL17 = 1 }")
h("objectvar a_MDL17[n_MDL17]")
for i in range(int(h.n_MDL17)):
h("a_MDL17[%i] = new GenericMuscleCell()"%i)
h("access a_MDL17[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL17[0].position(80., 210., -80.) }")
h("proc initialiseV_MDL17() { for i = 0, n_MDL17-1 { a_MDL17[i].set_initial_v() } }")
h("objref fih_MDL17")
h('{fih_MDL17 = new FInitializeHandler(0, "initialiseV_MDL17()")}')
h("proc initialiseIons_MDL17() { for i = 0, n_MDL17-1 { a_MDL17[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL17")
h('{fih_ion_MDL17 = new FInitializeHandler(1, "initialiseIons_MDL17()")}')
# ###################### Population: MDL18
print("Population MDL18 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL18 = []
h("{ n_MDL18 = 1 }")
h("objectvar a_MDL18[n_MDL18]")
for i in range(int(h.n_MDL18)):
h("a_MDL18[%i] = new GenericMuscleCell()"%i)
h("access a_MDL18[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL18[0].position(80., 240., -80.) }")
h("proc initialiseV_MDL18() { for i = 0, n_MDL18-1 { a_MDL18[i].set_initial_v() } }")
h("objref fih_MDL18")
h('{fih_MDL18 = new FInitializeHandler(0, "initialiseV_MDL18()")}')
h("proc initialiseIons_MDL18() { for i = 0, n_MDL18-1 { a_MDL18[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL18")
h('{fih_ion_MDL18 = new FInitializeHandler(1, "initialiseIons_MDL18()")}')
# ###################### Population: MDL19
print("Population MDL19 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL19 = []
h("{ n_MDL19 = 1 }")
h("objectvar a_MDL19[n_MDL19]")
for i in range(int(h.n_MDL19)):
h("a_MDL19[%i] = new GenericMuscleCell()"%i)
h("access a_MDL19[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL19[0].position(80., 270., -80.) }")
h("proc initialiseV_MDL19() { for i = 0, n_MDL19-1 { a_MDL19[i].set_initial_v() } }")
h("objref fih_MDL19")
h('{fih_MDL19 = new FInitializeHandler(0, "initialiseV_MDL19()")}')
h("proc initialiseIons_MDL19() { for i = 0, n_MDL19-1 { a_MDL19[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL19")
h('{fih_ion_MDL19 = new FInitializeHandler(1, "initialiseIons_MDL19()")}')
# ###################### Population: MDL20
print("Population MDL20 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL20 = []
h("{ n_MDL20 = 1 }")
h("objectvar a_MDL20[n_MDL20]")
for i in range(int(h.n_MDL20)):
h("a_MDL20[%i] = new GenericMuscleCell()"%i)
h("access a_MDL20[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL20[0].position(80., 300., -80.) }")
h("proc initialiseV_MDL20() { for i = 0, n_MDL20-1 { a_MDL20[i].set_initial_v() } }")
h("objref fih_MDL20")
h('{fih_MDL20 = new FInitializeHandler(0, "initialiseV_MDL20()")}')
h("proc initialiseIons_MDL20() { for i = 0, n_MDL20-1 { a_MDL20[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL20")
h('{fih_ion_MDL20 = new FInitializeHandler(1, "initialiseIons_MDL20()")}')
# ###################### Population: MDL21
print("Population MDL21 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL21 = []
h("{ n_MDL21 = 1 }")
h("objectvar a_MDL21[n_MDL21]")
for i in range(int(h.n_MDL21)):
h("a_MDL21[%i] = new GenericMuscleCell()"%i)
h("access a_MDL21[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL21[0].position(80., 330., -80.) }")
h("proc initialiseV_MDL21() { for i = 0, n_MDL21-1 { a_MDL21[i].set_initial_v() } }")
h("objref fih_MDL21")
h('{fih_MDL21 = new FInitializeHandler(0, "initialiseV_MDL21()")}')
h("proc initialiseIons_MDL21() { for i = 0, n_MDL21-1 { a_MDL21[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL21")
h('{fih_ion_MDL21 = new FInitializeHandler(1, "initialiseIons_MDL21()")}')
# ###################### Population: MDL22
print("Population MDL22 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL22 = []
h("{ n_MDL22 = 1 }")
h("objectvar a_MDL22[n_MDL22]")
for i in range(int(h.n_MDL22)):
h("a_MDL22[%i] = new GenericMuscleCell()"%i)
h("access a_MDL22[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL22[0].position(80., 360., -80.) }")
h("proc initialiseV_MDL22() { for i = 0, n_MDL22-1 { a_MDL22[i].set_initial_v() } }")
h("objref fih_MDL22")
h('{fih_MDL22 = new FInitializeHandler(0, "initialiseV_MDL22()")}')
h("proc initialiseIons_MDL22() { for i = 0, n_MDL22-1 { a_MDL22[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL22")
h('{fih_ion_MDL22 = new FInitializeHandler(1, "initialiseIons_MDL22()")}')
# ###################### Population: MDL23
print("Population MDL23 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL23 = []
h("{ n_MDL23 = 1 }")
h("objectvar a_MDL23[n_MDL23]")
for i in range(int(h.n_MDL23)):
h("a_MDL23[%i] = new GenericMuscleCell()"%i)
h("access a_MDL23[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL23[0].position(80., 390., -80.) }")
h("proc initialiseV_MDL23() { for i = 0, n_MDL23-1 { a_MDL23[i].set_initial_v() } }")
h("objref fih_MDL23")
h('{fih_MDL23 = new FInitializeHandler(0, "initialiseV_MDL23()")}')
h("proc initialiseIons_MDL23() { for i = 0, n_MDL23-1 { a_MDL23[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL23")
h('{fih_ion_MDL23 = new FInitializeHandler(1, "initialiseIons_MDL23()")}')
# ###################### Population: MDL24
print("Population MDL24 contains 1 instance(s) of component: GenericMuscleCell of type: cell")
print("Setting the default initial concentrations for ca (used in GenericMuscleCell) to 0.0 mM (internal), 2.0 mM (external)")
h("cai0_ca_ion = 0.0")
h("cao0_ca_ion = 2.0")
h.load_file("GenericMuscleCell.hoc")
a_MDL24 = []
h("{ n_MDL24 = 1 }")
h("objectvar a_MDL24[n_MDL24]")
for i in range(int(h.n_MDL24)):
h("a_MDL24[%i] = new GenericMuscleCell()"%i)
h("access a_MDL24[%i].soma"%i)
self.next_global_id+=1
h("{ a_MDL24[0].position(80., 420., -80.) }")
h("proc initialiseV_MDL24() { for i = 0, n_MDL24-1 { a_MDL24[i].set_initial_v() } }")
h("objref fih_MDL24")
h('{fih_MDL24 = new FInitializeHandler(0, "initialiseV_MDL24()")}')
h("proc initialiseIons_MDL24() { for i = 0, n_MDL24-1 { a_MDL24[i].set_initial_ion_properties() } }")
h("objref fih_ion_MDL24")
h('{fih_ion_MDL24 = new FInitializeHandler(1, "initialiseIons_MDL24()")}')
# ###################### Electrical Projection: NC_AVAL_DA1_Generic_GJ
print("Adding electrical projection: NC_AVAL_DA1_Generic_GJ from AVAL to DA1, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA1_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_AVAL_DA1_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA1_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_DA1[0].soma { syn_NC_AVAL_DA1_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_AVAL_DA1_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_DA1[0].soma.v(0.5)")
h("setpointer syn_NC_AVAL_DA1_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_AVAL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAL_DA2_Generic_GJ
print("Adding electrical projection: NC_AVAL_DA2_Generic_GJ from AVAL to DA2, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA2_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[1]")
h("objectvar syn_NC_AVAL_DA2_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA2_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[0] = new neuron_to_neuron_elec_syn_7conns(0.5) }")
h("a_DA2[0].soma { syn_NC_AVAL_DA2_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[0] = new neuron_to_neuron_elec_syn_7conns(0.5) }")
h("setpointer syn_NC_AVAL_DA2_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[0].vpeer, a_DA2[0].soma.v(0.5)")
h("setpointer syn_NC_AVAL_DA2_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[0].vpeer, a_AVAL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAL_DA3_Generic_GJ
print("Adding electrical projection: NC_AVAL_DA3_Generic_GJ from AVAL to DA3, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA3_Generic_GJ_neuron_to_neuron_elec_syn_6conns_A[1]")
h("objectvar syn_NC_AVAL_DA3_Generic_GJ_neuron_to_neuron_elec_syn_6conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA3_Generic_GJ_neuron_to_neuron_elec_syn_6conns_A[0] = new neuron_to_neuron_elec_syn_6conns(0.5) }")
h("a_DA3[0].soma { syn_NC_AVAL_DA3_Generic_GJ_neuron_to_neuron_elec_syn_6conns_B[0] = new neuron_to_neuron_elec_syn_6conns(0.5) }")
h("setpointer syn_NC_AVAL_DA3_Generic_GJ_neuron_to_neuron_elec_syn_6conns_A[0].vpeer, a_DA3[0].soma.v(0.5)")
h("setpointer syn_NC_AVAL_DA3_Generic_GJ_neuron_to_neuron_elec_syn_6conns_B[0].vpeer, a_AVAL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAL_DA4_Generic_GJ
print("Adding electrical projection: NC_AVAL_DA4_Generic_GJ from AVAL to DA4, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_AVAL_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_DA4[0].soma { syn_NC_AVAL_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_AVAL_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_DA4[0].soma.v(0.5)")
h("setpointer syn_NC_AVAL_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_AVAL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAL_DA5_Generic_GJ
print("Adding electrical projection: NC_AVAL_DA5_Generic_GJ from AVAL to DA5, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA5_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_AVAL_DA5_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA5_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_DA5[0].soma { syn_NC_AVAL_DA5_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_AVAL_DA5_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_DA5[0].soma.v(0.5)")
h("setpointer syn_NC_AVAL_DA5_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_AVAL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAL_DA6_Generic_GJ
print("Adding electrical projection: NC_AVAL_DA6_Generic_GJ from AVAL to DA6, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_AVAL_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_DA6[0].soma { syn_NC_AVAL_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_AVAL_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_DA6[0].soma.v(0.5)")
h("setpointer syn_NC_AVAL_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_AVAL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAL_DA7_Generic_GJ
print("Adding electrical projection: NC_AVAL_DA7_Generic_GJ from AVAL to DA7, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA7_Generic_GJ_neuron_to_neuron_elec_syn_10conns_A[1]")
h("objectvar syn_NC_AVAL_DA7_Generic_GJ_neuron_to_neuron_elec_syn_10conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA7_Generic_GJ_neuron_to_neuron_elec_syn_10conns_A[0] = new neuron_to_neuron_elec_syn_10conns(0.5) }")
h("a_DA7[0].soma { syn_NC_AVAL_DA7_Generic_GJ_neuron_to_neuron_elec_syn_10conns_B[0] = new neuron_to_neuron_elec_syn_10conns(0.5) }")
h("setpointer syn_NC_AVAL_DA7_Generic_GJ_neuron_to_neuron_elec_syn_10conns_A[0].vpeer, a_DA7[0].soma.v(0.5)")
h("setpointer syn_NC_AVAL_DA7_Generic_GJ_neuron_to_neuron_elec_syn_10conns_B[0].vpeer, a_AVAL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAL_DA8_Generic_GJ
print("Adding electrical projection: NC_AVAL_DA8_Generic_GJ from AVAL to DA8, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA8_Generic_GJ_neuron_to_neuron_elec_syn_8conns_A[1]")
h("objectvar syn_NC_AVAL_DA8_Generic_GJ_neuron_to_neuron_elec_syn_8conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA8_Generic_GJ_neuron_to_neuron_elec_syn_8conns_A[0] = new neuron_to_neuron_elec_syn_8conns(0.5) }")
h("a_DA8[0].soma { syn_NC_AVAL_DA8_Generic_GJ_neuron_to_neuron_elec_syn_8conns_B[0] = new neuron_to_neuron_elec_syn_8conns(0.5) }")
h("setpointer syn_NC_AVAL_DA8_Generic_GJ_neuron_to_neuron_elec_syn_8conns_A[0].vpeer, a_DA8[0].soma.v(0.5)")
h("setpointer syn_NC_AVAL_DA8_Generic_GJ_neuron_to_neuron_elec_syn_8conns_B[0].vpeer, a_AVAL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAL_DA9_Generic_GJ
print("Adding electrical projection: NC_AVAL_DA9_Generic_GJ from AVAL to DA9, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA9_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_AVAL_DA9_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA9_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA9[0].soma { syn_NC_AVAL_DA9_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_AVAL_DA9_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA9[0].soma.v(0.5)")
h("setpointer syn_NC_AVAL_DA9_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_AVAL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAR_AVBL_Generic_GJ
print("Adding electrical projection: NC_AVAR_AVBL_Generic_GJ from AVAR to AVBL, with 1 connection(s)")
h("objectvar syn_NC_AVAR_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_AVAR_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_AVBL[0].soma { syn_NC_AVAR_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_AVAR_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_AVBL[0].soma.v(0.5)")
h("setpointer syn_NC_AVAR_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_AVAR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAR_DA1_Generic_GJ
print("Adding electrical projection: NC_AVAR_DA1_Generic_GJ from AVAR to DA1, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA1_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[1]")
h("objectvar syn_NC_AVAR_DA1_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA1_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[0] = new neuron_to_neuron_elec_syn_9conns(0.5) }")
h("a_DA1[0].soma { syn_NC_AVAR_DA1_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[0] = new neuron_to_neuron_elec_syn_9conns(0.5) }")
h("setpointer syn_NC_AVAR_DA1_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[0].vpeer, a_DA1[0].soma.v(0.5)")
h("setpointer syn_NC_AVAR_DA1_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[0].vpeer, a_AVAR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAR_DA2_Generic_GJ
print("Adding electrical projection: NC_AVAR_DA2_Generic_GJ from AVAR to DA2, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_AVAR_DA2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_DA2[0].soma { syn_NC_AVAR_DA2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_AVAR_DA2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_DA2[0].soma.v(0.5)")
h("setpointer syn_NC_AVAR_DA2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_AVAR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAR_DA3_Generic_GJ
print("Adding electrical projection: NC_AVAR_DA3_Generic_GJ from AVAR to DA3, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA3_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[1]")
h("objectvar syn_NC_AVAR_DA3_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA3_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[0] = new neuron_to_neuron_elec_syn_7conns(0.5) }")
h("a_DA3[0].soma { syn_NC_AVAR_DA3_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[0] = new neuron_to_neuron_elec_syn_7conns(0.5) }")
h("setpointer syn_NC_AVAR_DA3_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[0].vpeer, a_DA3[0].soma.v(0.5)")
h("setpointer syn_NC_AVAR_DA3_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[0].vpeer, a_AVAR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAR_DA4_Generic_GJ
print("Adding electrical projection: NC_AVAR_DA4_Generic_GJ from AVAR to DA4, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_AVAR_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_DA4[0].soma { syn_NC_AVAR_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_AVAR_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_DA4[0].soma.v(0.5)")
h("setpointer syn_NC_AVAR_DA4_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_AVAR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAR_DA5_Generic_GJ
print("Adding electrical projection: NC_AVAR_DA5_Generic_GJ from AVAR to DA5, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA5_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[1]")
h("objectvar syn_NC_AVAR_DA5_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA5_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("a_DA5[0].soma { syn_NC_AVAR_DA5_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_AVAR_DA5_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0].vpeer, a_DA5[0].soma.v(0.5)")
h("setpointer syn_NC_AVAR_DA5_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0].vpeer, a_AVAR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAR_DA6_Generic_GJ
print("Adding electrical projection: NC_AVAR_DA6_Generic_GJ from AVAR to DA6, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_AVAR_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_DA6[0].soma { syn_NC_AVAR_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_AVAR_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_DA6[0].soma.v(0.5)")
h("setpointer syn_NC_AVAR_DA6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_AVAR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAR_DA8_Generic_GJ
print("Adding electrical projection: NC_AVAR_DA8_Generic_GJ from AVAR to DA8, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA8_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[1]")
h("objectvar syn_NC_AVAR_DA8_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA8_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("a_DA8[0].soma { syn_NC_AVAR_DA8_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_AVAR_DA8_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0].vpeer, a_DA8[0].soma.v(0.5)")
h("setpointer syn_NC_AVAR_DA8_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0].vpeer, a_AVAR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVAR_DA9_Generic_GJ
print("Adding electrical projection: NC_AVAR_DA9_Generic_GJ from AVAR to DA9, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA9_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_AVAR_DA9_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA9_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_DA9[0].soma { syn_NC_AVAR_DA9_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_AVAR_DA9_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_DA9[0].soma.v(0.5)")
h("setpointer syn_NC_AVAR_DA9_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_AVAR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBL_AVAR_Generic_GJ
print("Adding electrical projection: NC_AVBL_AVAR_Generic_GJ from AVBL to AVAR, with 1 connection(s)")
h("objectvar syn_NC_AVBL_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_AVBL_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_AVBL[0].soma { syn_NC_AVBL_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_AVAR[0].soma { syn_NC_AVBL_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_AVBL_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_AVAR[0].soma.v(0.5)")
h("setpointer syn_NC_AVBL_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_AVBL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBL_DB2_Generic_GJ
print("Adding electrical projection: NC_AVBL_DB2_Generic_GJ from AVBL to DB2, with 1 connection(s)")
h("objectvar syn_NC_AVBL_DB2_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_AVBL_DB2_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma], weight: 1.0
h("a_AVBL[0].soma { syn_NC_AVBL_DB2_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_DB2[0].soma { syn_NC_AVBL_DB2_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_AVBL_DB2_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_DB2[0].soma.v(0.5)")
h("setpointer syn_NC_AVBL_DB2_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_AVBL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBL_DB3_Generic_GJ
print("Adding electrical projection: NC_AVBL_DB3_Generic_GJ from AVBL to DB3, with 1 connection(s)")
h("objectvar syn_NC_AVBL_DB3_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[1]")
h("objectvar syn_NC_AVBL_DB3_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma], weight: 1.0
h("a_AVBL[0].soma { syn_NC_AVBL_DB3_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[0] = new neuron_to_neuron_elec_syn_9conns(0.5) }")
h("a_DB3[0].soma { syn_NC_AVBL_DB3_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[0] = new neuron_to_neuron_elec_syn_9conns(0.5) }")
h("setpointer syn_NC_AVBL_DB3_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[0].vpeer, a_DB3[0].soma.v(0.5)")
h("setpointer syn_NC_AVBL_DB3_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[0].vpeer, a_AVBL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBL_DB4_Generic_GJ
print("Adding electrical projection: NC_AVBL_DB4_Generic_GJ from AVBL to DB4, with 1 connection(s)")
h("objectvar syn_NC_AVBL_DB4_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_AVBL_DB4_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma], weight: 1.0
h("a_AVBL[0].soma { syn_NC_AVBL_DB4_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_DB4[0].soma { syn_NC_AVBL_DB4_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_AVBL_DB4_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_DB4[0].soma.v(0.5)")
h("setpointer syn_NC_AVBL_DB4_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_AVBL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBL_DB5_Generic_GJ
print("Adding electrical projection: NC_AVBL_DB5_Generic_GJ from AVBL to DB5, with 1 connection(s)")
h("objectvar syn_NC_AVBL_DB5_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_AVBL_DB5_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma], weight: 1.0
h("a_AVBL[0].soma { syn_NC_AVBL_DB5_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_DB5[0].soma { syn_NC_AVBL_DB5_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_AVBL_DB5_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_DB5[0].soma.v(0.5)")
h("setpointer syn_NC_AVBL_DB5_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_AVBL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBL_DB6_Generic_GJ
print("Adding electrical projection: NC_AVBL_DB6_Generic_GJ from AVBL to DB6, with 1 connection(s)")
h("objectvar syn_NC_AVBL_DB6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_AVBL_DB6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma], weight: 1.0
h("a_AVBL[0].soma { syn_NC_AVBL_DB6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_DB6[0].soma { syn_NC_AVBL_DB6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_AVBL_DB6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_DB6[0].soma.v(0.5)")
h("setpointer syn_NC_AVBL_DB6_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_AVBL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBL_DB7_Generic_GJ
print("Adding electrical projection: NC_AVBL_DB7_Generic_GJ from AVBL to DB7, with 1 connection(s)")
h("objectvar syn_NC_AVBL_DB7_Generic_GJ_neuron_to_neuron_elec_syn_13conns_A[1]")
h("objectvar syn_NC_AVBL_DB7_Generic_GJ_neuron_to_neuron_elec_syn_13conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma], weight: 1.0
h("a_AVBL[0].soma { syn_NC_AVBL_DB7_Generic_GJ_neuron_to_neuron_elec_syn_13conns_A[0] = new neuron_to_neuron_elec_syn_13conns(0.5) }")
h("a_DB7[0].soma { syn_NC_AVBL_DB7_Generic_GJ_neuron_to_neuron_elec_syn_13conns_B[0] = new neuron_to_neuron_elec_syn_13conns(0.5) }")
h("setpointer syn_NC_AVBL_DB7_Generic_GJ_neuron_to_neuron_elec_syn_13conns_A[0].vpeer, a_DB7[0].soma.v(0.5)")
h("setpointer syn_NC_AVBL_DB7_Generic_GJ_neuron_to_neuron_elec_syn_13conns_B[0].vpeer, a_AVBL[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBR_DB1_Generic_GJ
print("Adding electrical projection: NC_AVBR_DB1_Generic_GJ from AVBR to DB1, with 1 connection(s)")
h("objectvar syn_NC_AVBR_DB1_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[1]")
h("objectvar syn_NC_AVBR_DB1_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_DB1_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[0] = new neuron_to_neuron_elec_syn_15conns(0.5) }")
h("a_DB1[0].soma { syn_NC_AVBR_DB1_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[0] = new neuron_to_neuron_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_AVBR_DB1_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[0].vpeer, a_DB1[0].soma.v(0.5)")
h("setpointer syn_NC_AVBR_DB1_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[0].vpeer, a_AVBR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBR_DB2_Generic_GJ
print("Adding electrical projection: NC_AVBR_DB2_Generic_GJ from AVBR to DB2, with 1 connection(s)")
h("objectvar syn_NC_AVBR_DB2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_AVBR_DB2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_DB2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_DB2[0].soma { syn_NC_AVBR_DB2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_AVBR_DB2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_DB2[0].soma.v(0.5)")
h("setpointer syn_NC_AVBR_DB2_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_AVBR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBR_DB3_Generic_GJ
print("Adding electrical projection: NC_AVBR_DB3_Generic_GJ from AVBR to DB3, with 1 connection(s)")
h("objectvar syn_NC_AVBR_DB3_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_AVBR_DB3_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_DB3_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_DB3[0].soma { syn_NC_AVBR_DB3_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_AVBR_DB3_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_DB3[0].soma.v(0.5)")
h("setpointer syn_NC_AVBR_DB3_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_AVBR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBR_DB4_Generic_GJ
print("Adding electrical projection: NC_AVBR_DB4_Generic_GJ from AVBR to DB4, with 1 connection(s)")
h("objectvar syn_NC_AVBR_DB4_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[1]")
h("objectvar syn_NC_AVBR_DB4_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_DB4_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("a_DB4[0].soma { syn_NC_AVBR_DB4_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_AVBR_DB4_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0].vpeer, a_DB4[0].soma.v(0.5)")
h("setpointer syn_NC_AVBR_DB4_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0].vpeer, a_AVBR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBR_DB5_Generic_GJ
print("Adding electrical projection: NC_AVBR_DB5_Generic_GJ from AVBR to DB5, with 1 connection(s)")
h("objectvar syn_NC_AVBR_DB5_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_AVBR_DB5_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_DB5_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_DB5[0].soma { syn_NC_AVBR_DB5_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_AVBR_DB5_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_DB5[0].soma.v(0.5)")
h("setpointer syn_NC_AVBR_DB5_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_AVBR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBR_DB6_Generic_GJ
print("Adding electrical projection: NC_AVBR_DB6_Generic_GJ from AVBR to DB6, with 1 connection(s)")
h("objectvar syn_NC_AVBR_DB6_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_AVBR_DB6_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_DB6_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_DB6[0].soma { syn_NC_AVBR_DB6_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_AVBR_DB6_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_DB6[0].soma.v(0.5)")
h("setpointer syn_NC_AVBR_DB6_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_AVBR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_AVBR_DB7_Generic_GJ
print("Adding electrical projection: NC_AVBR_DB7_Generic_GJ from AVBR to DB7, with 1 connection(s)")
h("objectvar syn_NC_AVBR_DB7_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_AVBR_DB7_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_DB7_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_DB7[0].soma { syn_NC_AVBR_DB7_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_AVBR_DB7_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_DB7[0].soma.v(0.5)")
h("setpointer syn_NC_AVBR_DB7_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_AVBR[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA1_AVAL_Generic_GJ
print("Adding electrical projection: NC_DA1_AVAL_Generic_GJ from DA1 to AVAL, with 1 connection(s)")
h("objectvar syn_NC_DA1_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_DA1_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_DA1[0].soma { syn_NC_DA1_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_AVAL[0].soma { syn_NC_DA1_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_DA1_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_AVAL[0].soma.v(0.5)")
h("setpointer syn_NC_DA1_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_DA1[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA1_AVAR_Generic_GJ
print("Adding electrical projection: NC_DA1_AVAR_Generic_GJ from DA1 to AVAR, with 1 connection(s)")
h("objectvar syn_NC_DA1_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[1]")
h("objectvar syn_NC_DA1_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_DA1[0].soma { syn_NC_DA1_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[0] = new neuron_to_neuron_elec_syn_9conns(0.5) }")
h("a_AVAR[0].soma { syn_NC_DA1_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[0] = new neuron_to_neuron_elec_syn_9conns(0.5) }")
h("setpointer syn_NC_DA1_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[0].vpeer, a_AVAR[0].soma.v(0.5)")
h("setpointer syn_NC_DA1_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[0].vpeer, a_DA1[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA1_DA2_Generic_GJ
print("Adding electrical projection: NC_DA1_DA2_Generic_GJ from DA1 to DA2, with 1 connection(s)")
h("objectvar syn_NC_DA1_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA1_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma], weight: 1.0
h("a_DA1[0].soma { syn_NC_DA1_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA2[0].soma { syn_NC_DA1_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA1_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA2[0].soma.v(0.5)")
h("setpointer syn_NC_DA1_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA1[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA2_AVAL_Generic_GJ
print("Adding electrical projection: NC_DA2_AVAL_Generic_GJ from DA2 to AVAL, with 1 connection(s)")
h("objectvar syn_NC_DA2_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[1]")
h("objectvar syn_NC_DA2_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[0] = new neuron_to_neuron_elec_syn_7conns(0.5) }")
h("a_AVAL[0].soma { syn_NC_DA2_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[0] = new neuron_to_neuron_elec_syn_7conns(0.5) }")
h("setpointer syn_NC_DA2_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[0].vpeer, a_AVAL[0].soma.v(0.5)")
h("setpointer syn_NC_DA2_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[0].vpeer, a_DA2[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA2_AVAR_Generic_GJ
print("Adding electrical projection: NC_DA2_AVAR_Generic_GJ from DA2 to AVAR, with 1 connection(s)")
h("objectvar syn_NC_DA2_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_DA2_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_AVAR[0].soma { syn_NC_DA2_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_DA2_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_AVAR[0].soma.v(0.5)")
h("setpointer syn_NC_DA2_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_DA2[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA2_DA1_Generic_GJ
print("Adding electrical projection: NC_DA2_DA1_Generic_GJ from DA2 to DA1, with 1 connection(s)")
h("objectvar syn_NC_DA2_DA1_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA2_DA1_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_DA1_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA1[0].soma { syn_NC_DA2_DA1_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA2_DA1_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA1[0].soma.v(0.5)")
h("setpointer syn_NC_DA2_DA1_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA2[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA2_DA5_Generic_GJ
print("Adding electrical projection: NC_DA2_DA5_Generic_GJ from DA2 to DA5, with 1 connection(s)")
h("objectvar syn_NC_DA2_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA2_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA5[0].soma { syn_NC_DA2_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA2_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA5[0].soma.v(0.5)")
h("setpointer syn_NC_DA2_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA2[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA3_AVAL_Generic_GJ
print("Adding electrical projection: NC_DA3_AVAL_Generic_GJ from DA3 to AVAL, with 1 connection(s)")
h("objectvar syn_NC_DA3_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_6conns_A[1]")
h("objectvar syn_NC_DA3_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_6conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_6conns_A[0] = new neuron_to_neuron_elec_syn_6conns(0.5) }")
h("a_AVAL[0].soma { syn_NC_DA3_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_6conns_B[0] = new neuron_to_neuron_elec_syn_6conns(0.5) }")
h("setpointer syn_NC_DA3_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_6conns_A[0].vpeer, a_AVAL[0].soma.v(0.5)")
h("setpointer syn_NC_DA3_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_6conns_B[0].vpeer, a_DA3[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA3_AVAR_Generic_GJ
print("Adding electrical projection: NC_DA3_AVAR_Generic_GJ from DA3 to AVAR, with 1 connection(s)")
h("objectvar syn_NC_DA3_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[1]")
h("objectvar syn_NC_DA3_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[0] = new neuron_to_neuron_elec_syn_7conns(0.5) }")
h("a_AVAR[0].soma { syn_NC_DA3_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[0] = new neuron_to_neuron_elec_syn_7conns(0.5) }")
h("setpointer syn_NC_DA3_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_7conns_A[0].vpeer, a_AVAR[0].soma.v(0.5)")
h("setpointer syn_NC_DA3_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_7conns_B[0].vpeer, a_DA3[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA3_DA4_Generic_GJ
print("Adding electrical projection: NC_DA3_DA4_Generic_GJ from DA3 to DA4, with 1 connection(s)")
h("objectvar syn_NC_DA3_DA4_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA3_DA4_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_DA4_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA4[0].soma { syn_NC_DA3_DA4_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA3_DA4_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA4[0].soma.v(0.5)")
h("setpointer syn_NC_DA3_DA4_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA3[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA3_DA5_Generic_GJ
print("Adding electrical projection: NC_DA3_DA5_Generic_GJ from DA3 to DA5, with 1 connection(s)")
h("objectvar syn_NC_DA3_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA3_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA5[0].soma { syn_NC_DA3_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA3_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA5[0].soma.v(0.5)")
h("setpointer syn_NC_DA3_DA5_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA3[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA4_AVAL_Generic_GJ
print("Adding electrical projection: NC_DA4_AVAL_Generic_GJ from DA4 to AVAL, with 1 connection(s)")
h("objectvar syn_NC_DA4_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_DA4_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_AVAL[0].soma { syn_NC_DA4_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_DA4_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_AVAL[0].soma.v(0.5)")
h("setpointer syn_NC_DA4_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_DA4[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA4_AVAR_Generic_GJ
print("Adding electrical projection: NC_DA4_AVAR_Generic_GJ from DA4 to AVAR, with 1 connection(s)")
h("objectvar syn_NC_DA4_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_DA4_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_AVAR[0].soma { syn_NC_DA4_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_DA4_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_AVAR[0].soma.v(0.5)")
h("setpointer syn_NC_DA4_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_DA4[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA4_DA3_Generic_GJ
print("Adding electrical projection: NC_DA4_DA3_Generic_GJ from DA4 to DA3, with 1 connection(s)")
h("objectvar syn_NC_DA4_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA4_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA3[0].soma { syn_NC_DA4_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA4_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA3[0].soma.v(0.5)")
h("setpointer syn_NC_DA4_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA4[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA5_AVAL_Generic_GJ
print("Adding electrical projection: NC_DA5_AVAL_Generic_GJ from DA5 to AVAL, with 1 connection(s)")
h("objectvar syn_NC_DA5_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_DA5_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_AVAL[0].soma { syn_NC_DA5_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_DA5_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_AVAL[0].soma.v(0.5)")
h("setpointer syn_NC_DA5_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_DA5[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA5_AVAR_Generic_GJ
print("Adding electrical projection: NC_DA5_AVAR_Generic_GJ from DA5 to AVAR, with 1 connection(s)")
h("objectvar syn_NC_DA5_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DA5_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("a_AVAR[0].soma { syn_NC_DA5_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DA5_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0].vpeer, a_AVAR[0].soma.v(0.5)")
h("setpointer syn_NC_DA5_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0].vpeer, a_DA5[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA5_DA2_Generic_GJ
print("Adding electrical projection: NC_DA5_DA2_Generic_GJ from DA5 to DA2, with 1 connection(s)")
h("objectvar syn_NC_DA5_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA5_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA2[0].soma { syn_NC_DA5_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA5_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA2[0].soma.v(0.5)")
h("setpointer syn_NC_DA5_DA2_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA5[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA5_DA3_Generic_GJ
print("Adding electrical projection: NC_DA5_DA3_Generic_GJ from DA5 to DA3, with 1 connection(s)")
h("objectvar syn_NC_DA5_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA5_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA3[0].soma { syn_NC_DA5_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA5_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA3[0].soma.v(0.5)")
h("setpointer syn_NC_DA5_DA3_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA5[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA6_AVAL_Generic_GJ
print("Adding electrical projection: NC_DA6_AVAL_Generic_GJ from DA6 to AVAL, with 1 connection(s)")
h("objectvar syn_NC_DA6_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_DA6_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_AVAL[0].soma { syn_NC_DA6_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_DA6_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_AVAL[0].soma.v(0.5)")
h("setpointer syn_NC_DA6_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_DA6[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA6_AVAR_Generic_GJ
print("Adding electrical projection: NC_DA6_AVAR_Generic_GJ from DA6 to AVAR, with 1 connection(s)")
h("objectvar syn_NC_DA6_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_DA6_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_AVAR[0].soma { syn_NC_DA6_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_DA6_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_AVAR[0].soma.v(0.5)")
h("setpointer syn_NC_DA6_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_DA6[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA7_AVAL_Generic_GJ
print("Adding electrical projection: NC_DA7_AVAL_Generic_GJ from DA7 to AVAL, with 1 connection(s)")
h("objectvar syn_NC_DA7_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_10conns_A[1]")
h("objectvar syn_NC_DA7_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_10conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_10conns_A[0] = new neuron_to_neuron_elec_syn_10conns(0.5) }")
h("a_AVAL[0].soma { syn_NC_DA7_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_10conns_B[0] = new neuron_to_neuron_elec_syn_10conns(0.5) }")
h("setpointer syn_NC_DA7_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_10conns_A[0].vpeer, a_AVAL[0].soma.v(0.5)")
h("setpointer syn_NC_DA7_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_10conns_B[0].vpeer, a_DA7[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA7_DA8_Generic_GJ
print("Adding electrical projection: NC_DA7_DA8_Generic_GJ from DA7 to DA8, with 1 connection(s)")
h("objectvar syn_NC_DA7_DA8_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA7_DA8_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_DA8_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA8[0].soma { syn_NC_DA7_DA8_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA7_DA8_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA8[0].soma.v(0.5)")
h("setpointer syn_NC_DA7_DA8_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA7[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA8_AVAL_Generic_GJ
print("Adding electrical projection: NC_DA8_AVAL_Generic_GJ from DA8 to AVAL, with 1 connection(s)")
h("objectvar syn_NC_DA8_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_8conns_A[1]")
h("objectvar syn_NC_DA8_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_8conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_8conns_A[0] = new neuron_to_neuron_elec_syn_8conns(0.5) }")
h("a_AVAL[0].soma { syn_NC_DA8_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_8conns_B[0] = new neuron_to_neuron_elec_syn_8conns(0.5) }")
h("setpointer syn_NC_DA8_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_8conns_A[0].vpeer, a_AVAL[0].soma.v(0.5)")
h("setpointer syn_NC_DA8_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_8conns_B[0].vpeer, a_DA8[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA8_AVAR_Generic_GJ
print("Adding electrical projection: NC_DA8_AVAR_Generic_GJ from DA8 to AVAR, with 1 connection(s)")
h("objectvar syn_NC_DA8_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DA8_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("a_AVAR[0].soma { syn_NC_DA8_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DA8_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0].vpeer, a_AVAR[0].soma.v(0.5)")
h("setpointer syn_NC_DA8_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0].vpeer, a_DA8[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA8_DA7_Generic_GJ
print("Adding electrical projection: NC_DA8_DA7_Generic_GJ from DA8 to DA7, with 1 connection(s)")
h("objectvar syn_NC_DA8_DA7_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA8_DA7_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_DA7_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_DA7[0].soma { syn_NC_DA8_DA7_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA8_DA7_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_DA7[0].soma.v(0.5)")
h("setpointer syn_NC_DA8_DA7_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA8[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA8_DA9_Generic_GJ
print("Adding electrical projection: NC_DA8_DA9_Generic_GJ from DA8 to DA9, with 1 connection(s)")
h("objectvar syn_NC_DA8_DA9_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[1]")
h("objectvar syn_NC_DA8_DA9_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_DA9_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[0] = new neuron_to_neuron_elec_syn_15conns(0.5) }")
h("a_DA9[0].soma { syn_NC_DA8_DA9_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[0] = new neuron_to_neuron_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_DA8_DA9_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[0].vpeer, a_DA9[0].soma.v(0.5)")
h("setpointer syn_NC_DA8_DA9_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[0].vpeer, a_DA8[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA9_AVAL_Generic_GJ
print("Adding electrical projection: NC_DA9_AVAL_Generic_GJ from DA9 to AVAL, with 1 connection(s)")
h("objectvar syn_NC_DA9_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DA9_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("a_AVAL[0].soma { syn_NC_DA9_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0] = new neuron_to_neuron_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DA9_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_1conns_A[0].vpeer, a_AVAL[0].soma.v(0.5)")
h("setpointer syn_NC_DA9_AVAL_Generic_GJ_neuron_to_neuron_elec_syn_1conns_B[0].vpeer, a_DA9[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA9_AVAR_Generic_GJ
print("Adding electrical projection: NC_DA9_AVAR_Generic_GJ from DA9 to AVAR, with 1 connection(s)")
h("objectvar syn_NC_DA9_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_DA9_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_AVAR[0].soma { syn_NC_DA9_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_DA9_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_AVAR[0].soma.v(0.5)")
h("setpointer syn_NC_DA9_AVAR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_DA9[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DA9_DA8_Generic_GJ
print("Adding electrical projection: NC_DA9_DA8_Generic_GJ from DA9 to DA8, with 1 connection(s)")
h("objectvar syn_NC_DA9_DA8_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[1]")
h("objectvar syn_NC_DA9_DA8_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_DA8_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[0] = new neuron_to_neuron_elec_syn_15conns(0.5) }")
h("a_DA8[0].soma { syn_NC_DA9_DA8_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[0] = new neuron_to_neuron_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_DA9_DA8_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[0].vpeer, a_DA8[0].soma.v(0.5)")
h("setpointer syn_NC_DA9_DA8_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[0].vpeer, a_DA9[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB1_AVBR_Generic_GJ
print("Adding electrical projection: NC_DB1_AVBR_Generic_GJ from DB1 to AVBR, with 1 connection(s)")
h("objectvar syn_NC_DB1_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[1]")
h("objectvar syn_NC_DB1_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma], weight: 1.0
h("a_DB1[0].soma { syn_NC_DB1_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[0] = new neuron_to_neuron_elec_syn_15conns(0.5) }")
h("a_AVBR[0].soma { syn_NC_DB1_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[0] = new neuron_to_neuron_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_DB1_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_15conns_A[0].vpeer, a_AVBR[0].soma.v(0.5)")
h("setpointer syn_NC_DB1_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_15conns_B[0].vpeer, a_DB1[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB1_DB2_Generic_GJ
print("Adding electrical projection: NC_DB1_DB2_Generic_GJ from DB1 to DB2, with 1 connection(s)")
h("objectvar syn_NC_DB1_DB2_Generic_GJ_DB1_to_DB2_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DB1_DB2_Generic_GJ_DB1_to_DB2_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma], weight: 1.0
h("a_DB1[0].soma { syn_NC_DB1_DB2_Generic_GJ_DB1_to_DB2_elec_syn_5conns_A[0] = new DB1_to_DB2_elec_syn_5conns(0.5) }")
h("a_DB2[0].soma { syn_NC_DB1_DB2_Generic_GJ_DB1_to_DB2_elec_syn_5conns_B[0] = new DB1_to_DB2_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DB1_DB2_Generic_GJ_DB1_to_DB2_elec_syn_5conns_A[0].vpeer, a_DB2[0].soma.v(0.5)")
h("setpointer syn_NC_DB1_DB2_Generic_GJ_DB1_to_DB2_elec_syn_5conns_B[0].vpeer, a_DB1[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB2_AVBL_Generic_GJ
print("Adding electrical projection: NC_DB2_AVBL_Generic_GJ from DB2 to AVBL, with 1 connection(s)")
h("objectvar syn_NC_DB2_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_DB2_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_AVBL[0].soma { syn_NC_DB2_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_DB2_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_AVBL[0].soma.v(0.5)")
h("setpointer syn_NC_DB2_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_DB2[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB2_AVBR_Generic_GJ
print("Adding electrical projection: NC_DB2_AVBR_Generic_GJ from DB2 to AVBR, with 1 connection(s)")
h("objectvar syn_NC_DB2_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_DB2_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_AVBR[0].soma { syn_NC_DB2_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_DB2_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_AVBR[0].soma.v(0.5)")
h("setpointer syn_NC_DB2_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_DB2[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB2_DB1_Generic_GJ
print("Adding electrical projection: NC_DB2_DB1_Generic_GJ from DB2 to DB1, with 1 connection(s)")
h("objectvar syn_NC_DB2_DB1_Generic_GJ_DB2_to_DB1_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DB2_DB1_Generic_GJ_DB2_to_DB1_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_DB1_Generic_GJ_DB2_to_DB1_elec_syn_5conns_A[0] = new DB2_to_DB1_elec_syn_5conns(0.5) }")
h("a_DB1[0].soma { syn_NC_DB2_DB1_Generic_GJ_DB2_to_DB1_elec_syn_5conns_B[0] = new DB2_to_DB1_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DB2_DB1_Generic_GJ_DB2_to_DB1_elec_syn_5conns_A[0].vpeer, a_DB1[0].soma.v(0.5)")
h("setpointer syn_NC_DB2_DB1_Generic_GJ_DB2_to_DB1_elec_syn_5conns_B[0].vpeer, a_DB2[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB2_DB3_Generic_GJ
print("Adding electrical projection: NC_DB2_DB3_Generic_GJ from DB2 to DB3, with 1 connection(s)")
h("objectvar syn_NC_DB2_DB3_Generic_GJ_DB2_to_DB3_elec_syn_14conns_A[1]")
h("objectvar syn_NC_DB2_DB3_Generic_GJ_DB2_to_DB3_elec_syn_14conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_DB3_Generic_GJ_DB2_to_DB3_elec_syn_14conns_A[0] = new DB2_to_DB3_elec_syn_14conns(0.5) }")
h("a_DB3[0].soma { syn_NC_DB2_DB3_Generic_GJ_DB2_to_DB3_elec_syn_14conns_B[0] = new DB2_to_DB3_elec_syn_14conns(0.5) }")
h("setpointer syn_NC_DB2_DB3_Generic_GJ_DB2_to_DB3_elec_syn_14conns_A[0].vpeer, a_DB3[0].soma.v(0.5)")
h("setpointer syn_NC_DB2_DB3_Generic_GJ_DB2_to_DB3_elec_syn_14conns_B[0].vpeer, a_DB2[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB3_AVBL_Generic_GJ
print("Adding electrical projection: NC_DB3_AVBL_Generic_GJ from DB3 to AVBL, with 1 connection(s)")
h("objectvar syn_NC_DB3_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[1]")
h("objectvar syn_NC_DB3_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[0] = new neuron_to_neuron_elec_syn_9conns(0.5) }")
h("a_AVBL[0].soma { syn_NC_DB3_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[0] = new neuron_to_neuron_elec_syn_9conns(0.5) }")
h("setpointer syn_NC_DB3_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_9conns_A[0].vpeer, a_AVBL[0].soma.v(0.5)")
h("setpointer syn_NC_DB3_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_9conns_B[0].vpeer, a_DB3[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB3_AVBR_Generic_GJ
print("Adding electrical projection: NC_DB3_AVBR_Generic_GJ from DB3 to AVBR, with 1 connection(s)")
h("objectvar syn_NC_DB3_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[1]")
h("objectvar syn_NC_DB3_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("a_AVBR[0].soma { syn_NC_DB3_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0] = new neuron_to_neuron_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_DB3_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_A[0].vpeer, a_AVBR[0].soma.v(0.5)")
h("setpointer syn_NC_DB3_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_2conns_B[0].vpeer, a_DB3[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB3_DB2_Generic_GJ
print("Adding electrical projection: NC_DB3_DB2_Generic_GJ from DB3 to DB2, with 1 connection(s)")
h("objectvar syn_NC_DB3_DB2_Generic_GJ_DB3_to_DB2_elec_syn_14conns_A[1]")
h("objectvar syn_NC_DB3_DB2_Generic_GJ_DB3_to_DB2_elec_syn_14conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_DB2_Generic_GJ_DB3_to_DB2_elec_syn_14conns_A[0] = new DB3_to_DB2_elec_syn_14conns(0.5) }")
h("a_DB2[0].soma { syn_NC_DB3_DB2_Generic_GJ_DB3_to_DB2_elec_syn_14conns_B[0] = new DB3_to_DB2_elec_syn_14conns(0.5) }")
h("setpointer syn_NC_DB3_DB2_Generic_GJ_DB3_to_DB2_elec_syn_14conns_A[0].vpeer, a_DB2[0].soma.v(0.5)")
h("setpointer syn_NC_DB3_DB2_Generic_GJ_DB3_to_DB2_elec_syn_14conns_B[0].vpeer, a_DB3[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB3_DB4_Generic_GJ
print("Adding electrical projection: NC_DB3_DB4_Generic_GJ from DB3 to DB4, with 1 connection(s)")
h("objectvar syn_NC_DB3_DB4_Generic_GJ_DB3_to_DB4_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DB3_DB4_Generic_GJ_DB3_to_DB4_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_DB4_Generic_GJ_DB3_to_DB4_elec_syn_1conns_A[0] = new DB3_to_DB4_elec_syn_1conns(0.5) }")
h("a_DB4[0].soma { syn_NC_DB3_DB4_Generic_GJ_DB3_to_DB4_elec_syn_1conns_B[0] = new DB3_to_DB4_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DB3_DB4_Generic_GJ_DB3_to_DB4_elec_syn_1conns_A[0].vpeer, a_DB4[0].soma.v(0.5)")
h("setpointer syn_NC_DB3_DB4_Generic_GJ_DB3_to_DB4_elec_syn_1conns_B[0].vpeer, a_DB3[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB4_AVBL_Generic_GJ
print("Adding electrical projection: NC_DB4_AVBL_Generic_GJ from DB4 to AVBL, with 1 connection(s)")
h("objectvar syn_NC_DB4_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_DB4_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_AVBL[0].soma { syn_NC_DB4_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_DB4_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_AVBL[0].soma.v(0.5)")
h("setpointer syn_NC_DB4_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_DB4[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB4_AVBR_Generic_GJ
print("Adding electrical projection: NC_DB4_AVBR_Generic_GJ from DB4 to AVBR, with 1 connection(s)")
h("objectvar syn_NC_DB4_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DB4_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("a_AVBR[0].soma { syn_NC_DB4_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0] = new neuron_to_neuron_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DB4_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_A[0].vpeer, a_AVBR[0].soma.v(0.5)")
h("setpointer syn_NC_DB4_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_5conns_B[0].vpeer, a_DB4[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB4_DB3_Generic_GJ
print("Adding electrical projection: NC_DB4_DB3_Generic_GJ from DB4 to DB3, with 1 connection(s)")
h("objectvar syn_NC_DB4_DB3_Generic_GJ_DB4_to_DB3_elec_syn_1conns_A[1]")
h("objectvar syn_NC_DB4_DB3_Generic_GJ_DB4_to_DB3_elec_syn_1conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_DB3_Generic_GJ_DB4_to_DB3_elec_syn_1conns_A[0] = new DB4_to_DB3_elec_syn_1conns(0.5) }")
h("a_DB3[0].soma { syn_NC_DB4_DB3_Generic_GJ_DB4_to_DB3_elec_syn_1conns_B[0] = new DB4_to_DB3_elec_syn_1conns(0.5) }")
h("setpointer syn_NC_DB4_DB3_Generic_GJ_DB4_to_DB3_elec_syn_1conns_A[0].vpeer, a_DB3[0].soma.v(0.5)")
h("setpointer syn_NC_DB4_DB3_Generic_GJ_DB4_to_DB3_elec_syn_1conns_B[0].vpeer, a_DB4[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB4_DB5_Generic_GJ
print("Adding electrical projection: NC_DB4_DB5_Generic_GJ from DB4 to DB5, with 1 connection(s)")
h("objectvar syn_NC_DB4_DB5_Generic_GJ_DB4_to_DB5_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DB4_DB5_Generic_GJ_DB4_to_DB5_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_DB5_Generic_GJ_DB4_to_DB5_elec_syn_5conns_A[0] = new DB4_to_DB5_elec_syn_5conns(0.5) }")
h("a_DB5[0].soma { syn_NC_DB4_DB5_Generic_GJ_DB4_to_DB5_elec_syn_5conns_B[0] = new DB4_to_DB5_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DB4_DB5_Generic_GJ_DB4_to_DB5_elec_syn_5conns_A[0].vpeer, a_DB5[0].soma.v(0.5)")
h("setpointer syn_NC_DB4_DB5_Generic_GJ_DB4_to_DB5_elec_syn_5conns_B[0].vpeer, a_DB4[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB5_AVBL_Generic_GJ
print("Adding electrical projection: NC_DB5_AVBL_Generic_GJ from DB5 to AVBL, with 1 connection(s)")
h("objectvar syn_NC_DB5_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_DB5_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_AVBL[0].soma { syn_NC_DB5_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_DB5_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_AVBL[0].soma.v(0.5)")
h("setpointer syn_NC_DB5_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_DB5[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB5_AVBR_Generic_GJ
print("Adding electrical projection: NC_DB5_AVBR_Generic_GJ from DB5 to AVBR, with 1 connection(s)")
h("objectvar syn_NC_DB5_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_DB5_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_AVBR[0].soma { syn_NC_DB5_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_DB5_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_AVBR[0].soma.v(0.5)")
h("setpointer syn_NC_DB5_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_DB5[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB5_DB4_Generic_GJ
print("Adding electrical projection: NC_DB5_DB4_Generic_GJ from DB5 to DB4, with 1 connection(s)")
h("objectvar syn_NC_DB5_DB4_Generic_GJ_DB5_to_DB4_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DB5_DB4_Generic_GJ_DB5_to_DB4_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_DB4_Generic_GJ_DB5_to_DB4_elec_syn_5conns_A[0] = new DB5_to_DB4_elec_syn_5conns(0.5) }")
h("a_DB4[0].soma { syn_NC_DB5_DB4_Generic_GJ_DB5_to_DB4_elec_syn_5conns_B[0] = new DB5_to_DB4_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DB5_DB4_Generic_GJ_DB5_to_DB4_elec_syn_5conns_A[0].vpeer, a_DB4[0].soma.v(0.5)")
h("setpointer syn_NC_DB5_DB4_Generic_GJ_DB5_to_DB4_elec_syn_5conns_B[0].vpeer, a_DB5[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB5_DB6_Generic_GJ
print("Adding electrical projection: NC_DB5_DB6_Generic_GJ from DB5 to DB6, with 1 connection(s)")
h("objectvar syn_NC_DB5_DB6_Generic_GJ_DB5_to_DB6_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DB5_DB6_Generic_GJ_DB5_to_DB6_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_DB6_Generic_GJ_DB5_to_DB6_elec_syn_5conns_A[0] = new DB5_to_DB6_elec_syn_5conns(0.5) }")
h("a_DB6[0].soma { syn_NC_DB5_DB6_Generic_GJ_DB5_to_DB6_elec_syn_5conns_B[0] = new DB5_to_DB6_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DB5_DB6_Generic_GJ_DB5_to_DB6_elec_syn_5conns_A[0].vpeer, a_DB6[0].soma.v(0.5)")
h("setpointer syn_NC_DB5_DB6_Generic_GJ_DB5_to_DB6_elec_syn_5conns_B[0].vpeer, a_DB5[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB6_AVBL_Generic_GJ
print("Adding electrical projection: NC_DB6_AVBL_Generic_GJ from DB6 to AVBL, with 1 connection(s)")
h("objectvar syn_NC_DB6_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_DB6_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_AVBL[0].soma { syn_NC_DB6_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_DB6_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_AVBL[0].soma.v(0.5)")
h("setpointer syn_NC_DB6_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_DB6[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB6_AVBR_Generic_GJ
print("Adding electrical projection: NC_DB6_AVBR_Generic_GJ from DB6 to AVBR, with 1 connection(s)")
h("objectvar syn_NC_DB6_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[1]")
h("objectvar syn_NC_DB6_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("a_AVBR[0].soma { syn_NC_DB6_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0] = new neuron_to_neuron_elec_syn_4conns(0.5) }")
h("setpointer syn_NC_DB6_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_A[0].vpeer, a_AVBR[0].soma.v(0.5)")
h("setpointer syn_NC_DB6_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_4conns_B[0].vpeer, a_DB6[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB6_DB5_Generic_GJ
print("Adding electrical projection: NC_DB6_DB5_Generic_GJ from DB6 to DB5, with 1 connection(s)")
h("objectvar syn_NC_DB6_DB5_Generic_GJ_DB6_to_DB5_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DB6_DB5_Generic_GJ_DB6_to_DB5_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_DB5_Generic_GJ_DB6_to_DB5_elec_syn_5conns_A[0] = new DB6_to_DB5_elec_syn_5conns(0.5) }")
h("a_DB5[0].soma { syn_NC_DB6_DB5_Generic_GJ_DB6_to_DB5_elec_syn_5conns_B[0] = new DB6_to_DB5_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DB6_DB5_Generic_GJ_DB6_to_DB5_elec_syn_5conns_A[0].vpeer, a_DB5[0].soma.v(0.5)")
h("setpointer syn_NC_DB6_DB5_Generic_GJ_DB6_to_DB5_elec_syn_5conns_B[0].vpeer, a_DB6[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB6_DB7_Generic_GJ
print("Adding electrical projection: NC_DB6_DB7_Generic_GJ from DB6 to DB7, with 1 connection(s)")
h("objectvar syn_NC_DB6_DB7_Generic_GJ_DB6_to_DB7_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DB6_DB7_Generic_GJ_DB6_to_DB7_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_DB7_Generic_GJ_DB6_to_DB7_elec_syn_5conns_A[0] = new DB6_to_DB7_elec_syn_5conns(0.5) }")
h("a_DB7[0].soma { syn_NC_DB6_DB7_Generic_GJ_DB6_to_DB7_elec_syn_5conns_B[0] = new DB6_to_DB7_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DB6_DB7_Generic_GJ_DB6_to_DB7_elec_syn_5conns_A[0].vpeer, a_DB7[0].soma.v(0.5)")
h("setpointer syn_NC_DB6_DB7_Generic_GJ_DB6_to_DB7_elec_syn_5conns_B[0].vpeer, a_DB6[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB7_AVBL_Generic_GJ
print("Adding electrical projection: NC_DB7_AVBL_Generic_GJ from DB7 to AVBL, with 1 connection(s)")
h("objectvar syn_NC_DB7_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_13conns_A[1]")
h("objectvar syn_NC_DB7_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_13conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_13conns_A[0] = new neuron_to_neuron_elec_syn_13conns(0.5) }")
h("a_AVBL[0].soma { syn_NC_DB7_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_13conns_B[0] = new neuron_to_neuron_elec_syn_13conns(0.5) }")
h("setpointer syn_NC_DB7_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_13conns_A[0].vpeer, a_AVBL[0].soma.v(0.5)")
h("setpointer syn_NC_DB7_AVBL_Generic_GJ_neuron_to_neuron_elec_syn_13conns_B[0].vpeer, a_DB7[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB7_AVBR_Generic_GJ
print("Adding electrical projection: NC_DB7_AVBR_Generic_GJ from DB7 to AVBR, with 1 connection(s)")
h("objectvar syn_NC_DB7_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[1]")
h("objectvar syn_NC_DB7_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("a_AVBR[0].soma { syn_NC_DB7_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0] = new neuron_to_neuron_elec_syn_3conns(0.5) }")
h("setpointer syn_NC_DB7_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_A[0].vpeer, a_AVBR[0].soma.v(0.5)")
h("setpointer syn_NC_DB7_AVBR_Generic_GJ_neuron_to_neuron_elec_syn_3conns_B[0].vpeer, a_DB7[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_DB7_DB6_Generic_GJ
print("Adding electrical projection: NC_DB7_DB6_Generic_GJ from DB7 to DB6, with 1 connection(s)")
h("objectvar syn_NC_DB7_DB6_Generic_GJ_DB7_to_DB6_elec_syn_5conns_A[1]")
h("objectvar syn_NC_DB7_DB6_Generic_GJ_DB7_to_DB6_elec_syn_5conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_DB6_Generic_GJ_DB7_to_DB6_elec_syn_5conns_A[0] = new DB7_to_DB6_elec_syn_5conns(0.5) }")
h("a_DB6[0].soma { syn_NC_DB7_DB6_Generic_GJ_DB7_to_DB6_elec_syn_5conns_B[0] = new DB7_to_DB6_elec_syn_5conns(0.5) }")
h("setpointer syn_NC_DB7_DB6_Generic_GJ_DB7_to_DB6_elec_syn_5conns_A[0].vpeer, a_DB6[0].soma.v(0.5)")
h("setpointer syn_NC_DB7_DB6_Generic_GJ_DB7_to_DB6_elec_syn_5conns_B[0].vpeer, a_DB7[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL01_MDL02_Generic_GJ
print("Adding electrical projection: NC_MDL01_MDL02_Generic_GJ from MDL01 to MDL02, with 1 connection(s)")
h("objectvar syn_NC_MDL01_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL01_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL01[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL02[0].soma], weight: 1.0
h("a_MDL01[0].soma { syn_NC_MDL01_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL02[0].soma { syn_NC_MDL01_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL01_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL02[0].soma.v(0.5)")
h("setpointer syn_NC_MDL01_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL01[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL01_MDL03_Generic_GJ
print("Adding electrical projection: NC_MDL01_MDL03_Generic_GJ from MDL01 to MDL03, with 1 connection(s)")
h("objectvar syn_NC_MDL01_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL01_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL01[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL03[0].soma], weight: 1.0
h("a_MDL01[0].soma { syn_NC_MDL01_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL03[0].soma { syn_NC_MDL01_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL01_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL03[0].soma.v(0.5)")
h("setpointer syn_NC_MDL01_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL01[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL02_MDL01_Generic_GJ
print("Adding electrical projection: NC_MDL02_MDL01_Generic_GJ from MDL02 to MDL01, with 1 connection(s)")
h("objectvar syn_NC_MDL02_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL02_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL02[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL01[0].soma], weight: 1.0
h("a_MDL02[0].soma { syn_NC_MDL02_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL01[0].soma { syn_NC_MDL02_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL02_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL01[0].soma.v(0.5)")
h("setpointer syn_NC_MDL02_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL02[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL02_MDL03_Generic_GJ
print("Adding electrical projection: NC_MDL02_MDL03_Generic_GJ from MDL02 to MDL03, with 1 connection(s)")
h("objectvar syn_NC_MDL02_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL02_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL02[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL03[0].soma], weight: 1.0
h("a_MDL02[0].soma { syn_NC_MDL02_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL03[0].soma { syn_NC_MDL02_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL02_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL03[0].soma.v(0.5)")
h("setpointer syn_NC_MDL02_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL02[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL03_MDL01_Generic_GJ
print("Adding electrical projection: NC_MDL03_MDL01_Generic_GJ from MDL03 to MDL01, with 1 connection(s)")
h("objectvar syn_NC_MDL03_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL03_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL01[0].soma], weight: 1.0
h("a_MDL03[0].soma { syn_NC_MDL03_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL01[0].soma { syn_NC_MDL03_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL03_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL01[0].soma.v(0.5)")
h("setpointer syn_NC_MDL03_MDL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL03_MDL02_Generic_GJ
print("Adding electrical projection: NC_MDL03_MDL02_Generic_GJ from MDL03 to MDL02, with 1 connection(s)")
h("objectvar syn_NC_MDL03_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL03_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL02[0].soma], weight: 1.0
h("a_MDL03[0].soma { syn_NC_MDL03_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL02[0].soma { syn_NC_MDL03_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL03_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL02[0].soma.v(0.5)")
h("setpointer syn_NC_MDL03_MDL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL03_MDL04_Generic_GJ
print("Adding electrical projection: NC_MDL03_MDL04_Generic_GJ from MDL03 to MDL04, with 1 connection(s)")
h("objectvar syn_NC_MDL03_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL03_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL04[0].soma], weight: 1.0
h("a_MDL03[0].soma { syn_NC_MDL03_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL04[0].soma { syn_NC_MDL03_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL03_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL04[0].soma.v(0.5)")
h("setpointer syn_NC_MDL03_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL04_MDL03_Generic_GJ
print("Adding electrical projection: NC_MDL04_MDL03_Generic_GJ from MDL04 to MDL03, with 1 connection(s)")
h("objectvar syn_NC_MDL04_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL04_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL04[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL03[0].soma], weight: 1.0
h("a_MDL04[0].soma { syn_NC_MDL04_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL03[0].soma { syn_NC_MDL04_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL04_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL03[0].soma.v(0.5)")
h("setpointer syn_NC_MDL04_MDL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL04[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL04_MDL05_Generic_GJ
print("Adding electrical projection: NC_MDL04_MDL05_Generic_GJ from MDL04 to MDL05, with 1 connection(s)")
h("objectvar syn_NC_MDL04_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL04_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL04[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL05[0].soma], weight: 1.0
h("a_MDL04[0].soma { syn_NC_MDL04_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL05[0].soma { syn_NC_MDL04_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL04_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL05[0].soma.v(0.5)")
h("setpointer syn_NC_MDL04_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL04[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL05_MDL04_Generic_GJ
print("Adding electrical projection: NC_MDL05_MDL04_Generic_GJ from MDL05 to MDL04, with 1 connection(s)")
h("objectvar syn_NC_MDL05_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL05_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL05[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL04[0].soma], weight: 1.0
h("a_MDL05[0].soma { syn_NC_MDL05_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL04[0].soma { syn_NC_MDL05_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL05_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL04[0].soma.v(0.5)")
h("setpointer syn_NC_MDL05_MDL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL05[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL05_MDL06_Generic_GJ
print("Adding electrical projection: NC_MDL05_MDL06_Generic_GJ from MDL05 to MDL06, with 1 connection(s)")
h("objectvar syn_NC_MDL05_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL05_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL05[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL06[0].soma], weight: 1.0
h("a_MDL05[0].soma { syn_NC_MDL05_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL06[0].soma { syn_NC_MDL05_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL05_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL06[0].soma.v(0.5)")
h("setpointer syn_NC_MDL05_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL05[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL06_MDL05_Generic_GJ
print("Adding electrical projection: NC_MDL06_MDL05_Generic_GJ from MDL06 to MDL05, with 1 connection(s)")
h("objectvar syn_NC_MDL06_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL06_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL06[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL05[0].soma], weight: 1.0
h("a_MDL06[0].soma { syn_NC_MDL06_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL05[0].soma { syn_NC_MDL06_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL06_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL05[0].soma.v(0.5)")
h("setpointer syn_NC_MDL06_MDL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL06[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL06_MDL07_Generic_GJ
print("Adding electrical projection: NC_MDL06_MDL07_Generic_GJ from MDL06 to MDL07, with 1 connection(s)")
h("objectvar syn_NC_MDL06_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL06_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL06[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL07[0].soma], weight: 1.0
h("a_MDL06[0].soma { syn_NC_MDL06_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL07[0].soma { syn_NC_MDL06_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL06_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL07[0].soma.v(0.5)")
h("setpointer syn_NC_MDL06_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL06[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL07_MDL06_Generic_GJ
print("Adding electrical projection: NC_MDL07_MDL06_Generic_GJ from MDL07 to MDL06, with 1 connection(s)")
h("objectvar syn_NC_MDL07_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL07_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL07[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL06[0].soma], weight: 1.0
h("a_MDL07[0].soma { syn_NC_MDL07_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL06[0].soma { syn_NC_MDL07_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL07_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL06[0].soma.v(0.5)")
h("setpointer syn_NC_MDL07_MDL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL07[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL07_MDL08_Generic_GJ
print("Adding electrical projection: NC_MDL07_MDL08_Generic_GJ from MDL07 to MDL08, with 1 connection(s)")
h("objectvar syn_NC_MDL07_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL07_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL07[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL08[0].soma], weight: 1.0
h("a_MDL07[0].soma { syn_NC_MDL07_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL08[0].soma { syn_NC_MDL07_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL07_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL08[0].soma.v(0.5)")
h("setpointer syn_NC_MDL07_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL07[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL08_MDL07_Generic_GJ
print("Adding electrical projection: NC_MDL08_MDL07_Generic_GJ from MDL08 to MDL07, with 1 connection(s)")
h("objectvar syn_NC_MDL08_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL08_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL08[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL07[0].soma], weight: 1.0
h("a_MDL08[0].soma { syn_NC_MDL08_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL07[0].soma { syn_NC_MDL08_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL08_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL07[0].soma.v(0.5)")
h("setpointer syn_NC_MDL08_MDL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL08[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL08_MDL09_Generic_GJ
print("Adding electrical projection: NC_MDL08_MDL09_Generic_GJ from MDL08 to MDL09, with 1 connection(s)")
h("objectvar syn_NC_MDL08_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL08_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL08[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL09[0].soma], weight: 1.0
h("a_MDL08[0].soma { syn_NC_MDL08_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL09[0].soma { syn_NC_MDL08_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL08_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL09[0].soma.v(0.5)")
h("setpointer syn_NC_MDL08_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL08[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL09_MDL08_Generic_GJ
print("Adding electrical projection: NC_MDL09_MDL08_Generic_GJ from MDL09 to MDL08, with 1 connection(s)")
h("objectvar syn_NC_MDL09_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL09_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL09[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL08[0].soma], weight: 1.0
h("a_MDL09[0].soma { syn_NC_MDL09_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL08[0].soma { syn_NC_MDL09_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL09_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL08[0].soma.v(0.5)")
h("setpointer syn_NC_MDL09_MDL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL09[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL09_MDL10_Generic_GJ
print("Adding electrical projection: NC_MDL09_MDL10_Generic_GJ from MDL09 to MDL10, with 1 connection(s)")
h("objectvar syn_NC_MDL09_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL09_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL09[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL10[0].soma], weight: 1.0
h("a_MDL09[0].soma { syn_NC_MDL09_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL10[0].soma { syn_NC_MDL09_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL09_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL10[0].soma.v(0.5)")
h("setpointer syn_NC_MDL09_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL09[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL10_MDL09_Generic_GJ
print("Adding electrical projection: NC_MDL10_MDL09_Generic_GJ from MDL10 to MDL09, with 1 connection(s)")
h("objectvar syn_NC_MDL10_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL10_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL10[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL09[0].soma], weight: 1.0
h("a_MDL10[0].soma { syn_NC_MDL10_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL09[0].soma { syn_NC_MDL10_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL10_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL09[0].soma.v(0.5)")
h("setpointer syn_NC_MDL10_MDL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL10[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL10_MDL11_Generic_GJ
print("Adding electrical projection: NC_MDL10_MDL11_Generic_GJ from MDL10 to MDL11, with 1 connection(s)")
h("objectvar syn_NC_MDL10_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL10_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL10[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL11[0].soma], weight: 1.0
h("a_MDL10[0].soma { syn_NC_MDL10_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL11[0].soma { syn_NC_MDL10_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL10_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL11[0].soma.v(0.5)")
h("setpointer syn_NC_MDL10_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL10[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL11_MDL10_Generic_GJ
print("Adding electrical projection: NC_MDL11_MDL10_Generic_GJ from MDL11 to MDL10, with 1 connection(s)")
h("objectvar syn_NC_MDL11_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL11_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL11[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL10[0].soma], weight: 1.0
h("a_MDL11[0].soma { syn_NC_MDL11_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL10[0].soma { syn_NC_MDL11_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL11_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL10[0].soma.v(0.5)")
h("setpointer syn_NC_MDL11_MDL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL11[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL11_MDL12_Generic_GJ
print("Adding electrical projection: NC_MDL11_MDL12_Generic_GJ from MDL11 to MDL12, with 1 connection(s)")
h("objectvar syn_NC_MDL11_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL11_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL11[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL12[0].soma], weight: 1.0
h("a_MDL11[0].soma { syn_NC_MDL11_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL12[0].soma { syn_NC_MDL11_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL11_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL12[0].soma.v(0.5)")
h("setpointer syn_NC_MDL11_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL11[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL12_MDL11_Generic_GJ
print("Adding electrical projection: NC_MDL12_MDL11_Generic_GJ from MDL12 to MDL11, with 1 connection(s)")
h("objectvar syn_NC_MDL12_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL12_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL12[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL11[0].soma], weight: 1.0
h("a_MDL12[0].soma { syn_NC_MDL12_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL11[0].soma { syn_NC_MDL12_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL12_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL11[0].soma.v(0.5)")
h("setpointer syn_NC_MDL12_MDL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL12[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL12_MDL13_Generic_GJ
print("Adding electrical projection: NC_MDL12_MDL13_Generic_GJ from MDL12 to MDL13, with 1 connection(s)")
h("objectvar syn_NC_MDL12_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL12_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL12[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL13[0].soma], weight: 1.0
h("a_MDL12[0].soma { syn_NC_MDL12_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL13[0].soma { syn_NC_MDL12_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL12_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL13[0].soma.v(0.5)")
h("setpointer syn_NC_MDL12_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL12[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL13_MDL12_Generic_GJ
print("Adding electrical projection: NC_MDL13_MDL12_Generic_GJ from MDL13 to MDL12, with 1 connection(s)")
h("objectvar syn_NC_MDL13_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL13_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL13[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL12[0].soma], weight: 1.0
h("a_MDL13[0].soma { syn_NC_MDL13_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL12[0].soma { syn_NC_MDL13_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL13_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL12[0].soma.v(0.5)")
h("setpointer syn_NC_MDL13_MDL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL13[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL13_MDL14_Generic_GJ
print("Adding electrical projection: NC_MDL13_MDL14_Generic_GJ from MDL13 to MDL14, with 1 connection(s)")
h("objectvar syn_NC_MDL13_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL13_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL13[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma], weight: 1.0
h("a_MDL13[0].soma { syn_NC_MDL13_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL14[0].soma { syn_NC_MDL13_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL13_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL14[0].soma.v(0.5)")
h("setpointer syn_NC_MDL13_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL13[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL14_MDL13_Generic_GJ
print("Adding electrical projection: NC_MDL14_MDL13_Generic_GJ from MDL14 to MDL13, with 1 connection(s)")
h("objectvar syn_NC_MDL14_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL14_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL13[0].soma], weight: 1.0
h("a_MDL14[0].soma { syn_NC_MDL14_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL13[0].soma { syn_NC_MDL14_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL14_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL13[0].soma.v(0.5)")
h("setpointer syn_NC_MDL14_MDL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL14[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL14_MDL15_Generic_GJ
print("Adding electrical projection: NC_MDL14_MDL15_Generic_GJ from MDL14 to MDL15, with 1 connection(s)")
h("objectvar syn_NC_MDL14_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL14_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL15[0].soma], weight: 1.0
h("a_MDL14[0].soma { syn_NC_MDL14_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL15[0].soma { syn_NC_MDL14_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL14_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL15[0].soma.v(0.5)")
h("setpointer syn_NC_MDL14_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL14[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL15_MDL14_Generic_GJ
print("Adding electrical projection: NC_MDL15_MDL14_Generic_GJ from MDL15 to MDL14, with 1 connection(s)")
h("objectvar syn_NC_MDL15_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL15_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL15[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma], weight: 1.0
h("a_MDL15[0].soma { syn_NC_MDL15_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL14[0].soma { syn_NC_MDL15_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL15_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL14[0].soma.v(0.5)")
h("setpointer syn_NC_MDL15_MDL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL15[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL15_MDL16_Generic_GJ
print("Adding electrical projection: NC_MDL15_MDL16_Generic_GJ from MDL15 to MDL16, with 1 connection(s)")
h("objectvar syn_NC_MDL15_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL15_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL15[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma], weight: 1.0
h("a_MDL15[0].soma { syn_NC_MDL15_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL16[0].soma { syn_NC_MDL15_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL15_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL16[0].soma.v(0.5)")
h("setpointer syn_NC_MDL15_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL15[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL16_MDL15_Generic_GJ
print("Adding electrical projection: NC_MDL16_MDL15_Generic_GJ from MDL16 to MDL15, with 1 connection(s)")
h("objectvar syn_NC_MDL16_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL16_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL15[0].soma], weight: 1.0
h("a_MDL16[0].soma { syn_NC_MDL16_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL15[0].soma { syn_NC_MDL16_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL16_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL15[0].soma.v(0.5)")
h("setpointer syn_NC_MDL16_MDL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL16[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL16_MDL17_Generic_GJ
print("Adding electrical projection: NC_MDL16_MDL17_Generic_GJ from MDL16 to MDL17, with 1 connection(s)")
h("objectvar syn_NC_MDL16_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL16_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL17[0].soma], weight: 1.0
h("a_MDL16[0].soma { syn_NC_MDL16_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL17[0].soma { syn_NC_MDL16_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL16_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL17[0].soma.v(0.5)")
h("setpointer syn_NC_MDL16_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL16[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL17_MDL16_Generic_GJ
print("Adding electrical projection: NC_MDL17_MDL16_Generic_GJ from MDL17 to MDL16, with 1 connection(s)")
h("objectvar syn_NC_MDL17_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL17_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL17[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma], weight: 1.0
h("a_MDL17[0].soma { syn_NC_MDL17_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL16[0].soma { syn_NC_MDL17_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL17_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL16[0].soma.v(0.5)")
h("setpointer syn_NC_MDL17_MDL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL17[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL17_MDL18_Generic_GJ
print("Adding electrical projection: NC_MDL17_MDL18_Generic_GJ from MDL17 to MDL18, with 1 connection(s)")
h("objectvar syn_NC_MDL17_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL17_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL17[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL18[0].soma], weight: 1.0
h("a_MDL17[0].soma { syn_NC_MDL17_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL18[0].soma { syn_NC_MDL17_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL17_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL18[0].soma.v(0.5)")
h("setpointer syn_NC_MDL17_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL17[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL18_MDL17_Generic_GJ
print("Adding electrical projection: NC_MDL18_MDL17_Generic_GJ from MDL18 to MDL17, with 1 connection(s)")
h("objectvar syn_NC_MDL18_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL18_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL18[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL17[0].soma], weight: 1.0
h("a_MDL18[0].soma { syn_NC_MDL18_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL17[0].soma { syn_NC_MDL18_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL18_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL17[0].soma.v(0.5)")
h("setpointer syn_NC_MDL18_MDL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL18[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL18_MDL19_Generic_GJ
print("Adding electrical projection: NC_MDL18_MDL19_Generic_GJ from MDL18 to MDL19, with 1 connection(s)")
h("objectvar syn_NC_MDL18_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL18_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL18[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma], weight: 1.0
h("a_MDL18[0].soma { syn_NC_MDL18_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL19[0].soma { syn_NC_MDL18_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL18_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL19[0].soma.v(0.5)")
h("setpointer syn_NC_MDL18_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL18[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL19_MDL18_Generic_GJ
print("Adding electrical projection: NC_MDL19_MDL18_Generic_GJ from MDL19 to MDL18, with 1 connection(s)")
h("objectvar syn_NC_MDL19_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL19_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL18[0].soma], weight: 1.0
h("a_MDL19[0].soma { syn_NC_MDL19_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL18[0].soma { syn_NC_MDL19_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL19_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL18[0].soma.v(0.5)")
h("setpointer syn_NC_MDL19_MDL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL19[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL19_MDL20_Generic_GJ
print("Adding electrical projection: NC_MDL19_MDL20_Generic_GJ from MDL19 to MDL20, with 1 connection(s)")
h("objectvar syn_NC_MDL19_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL19_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL20[0].soma], weight: 1.0
h("a_MDL19[0].soma { syn_NC_MDL19_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL20[0].soma { syn_NC_MDL19_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL19_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL20[0].soma.v(0.5)")
h("setpointer syn_NC_MDL19_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL19[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL20_MDL19_Generic_GJ
print("Adding electrical projection: NC_MDL20_MDL19_Generic_GJ from MDL20 to MDL19, with 1 connection(s)")
h("objectvar syn_NC_MDL20_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL20_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL20[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma], weight: 1.0
h("a_MDL20[0].soma { syn_NC_MDL20_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL19[0].soma { syn_NC_MDL20_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL20_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL19[0].soma.v(0.5)")
h("setpointer syn_NC_MDL20_MDL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL20[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL20_MDL21_Generic_GJ
print("Adding electrical projection: NC_MDL20_MDL21_Generic_GJ from MDL20 to MDL21, with 1 connection(s)")
h("objectvar syn_NC_MDL20_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL20_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL20[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL21[0].soma], weight: 1.0
h("a_MDL20[0].soma { syn_NC_MDL20_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL21[0].soma { syn_NC_MDL20_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL20_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL21[0].soma.v(0.5)")
h("setpointer syn_NC_MDL20_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL20[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL21_MDL20_Generic_GJ
print("Adding electrical projection: NC_MDL21_MDL20_Generic_GJ from MDL21 to MDL20, with 1 connection(s)")
h("objectvar syn_NC_MDL21_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL21_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL21[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL20[0].soma], weight: 1.0
h("a_MDL21[0].soma { syn_NC_MDL21_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL20[0].soma { syn_NC_MDL21_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL21_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL20[0].soma.v(0.5)")
h("setpointer syn_NC_MDL21_MDL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL21[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL21_MDL22_Generic_GJ
print("Adding electrical projection: NC_MDL21_MDL22_Generic_GJ from MDL21 to MDL22, with 1 connection(s)")
h("objectvar syn_NC_MDL21_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL21_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL21[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL22[0].soma], weight: 1.0
h("a_MDL21[0].soma { syn_NC_MDL21_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL22[0].soma { syn_NC_MDL21_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL21_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL22[0].soma.v(0.5)")
h("setpointer syn_NC_MDL21_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL21[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL22_MDL21_Generic_GJ
print("Adding electrical projection: NC_MDL22_MDL21_Generic_GJ from MDL22 to MDL21, with 1 connection(s)")
h("objectvar syn_NC_MDL22_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL22_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL22[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL21[0].soma], weight: 1.0
h("a_MDL22[0].soma { syn_NC_MDL22_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL21[0].soma { syn_NC_MDL22_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL22_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL21[0].soma.v(0.5)")
h("setpointer syn_NC_MDL22_MDL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL22[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL22_MDL23_Generic_GJ
print("Adding electrical projection: NC_MDL22_MDL23_Generic_GJ from MDL22 to MDL23, with 1 connection(s)")
h("objectvar syn_NC_MDL22_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL22_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL22[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL23[0].soma], weight: 1.0
h("a_MDL22[0].soma { syn_NC_MDL22_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL23[0].soma { syn_NC_MDL22_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL22_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL23[0].soma.v(0.5)")
h("setpointer syn_NC_MDL22_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL22[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL23_MDL22_Generic_GJ
print("Adding electrical projection: NC_MDL23_MDL22_Generic_GJ from MDL23 to MDL22, with 1 connection(s)")
h("objectvar syn_NC_MDL23_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL23_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL23[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL22[0].soma], weight: 1.0
h("a_MDL23[0].soma { syn_NC_MDL23_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL22[0].soma { syn_NC_MDL23_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL23_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL22[0].soma.v(0.5)")
h("setpointer syn_NC_MDL23_MDL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL23[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL23_MDL24_Generic_GJ
print("Adding electrical projection: NC_MDL23_MDL24_Generic_GJ from MDL23 to MDL24, with 1 connection(s)")
h("objectvar syn_NC_MDL23_MDL24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL23_MDL24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL23[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL24[0].soma], weight: 1.0
h("a_MDL23[0].soma { syn_NC_MDL23_MDL24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL24[0].soma { syn_NC_MDL23_MDL24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL23_MDL24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL24[0].soma.v(0.5)")
h("setpointer syn_NC_MDL23_MDL24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL23[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDL24_MDL23_Generic_GJ
print("Adding electrical projection: NC_MDL24_MDL23_Generic_GJ from MDL24 to MDL23, with 1 connection(s)")
h("objectvar syn_NC_MDL24_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDL24_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDL24[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL23[0].soma], weight: 1.0
h("a_MDL24[0].soma { syn_NC_MDL24_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDL23[0].soma { syn_NC_MDL24_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDL24_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDL23[0].soma.v(0.5)")
h("setpointer syn_NC_MDL24_MDL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDL24[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR01_MDR02_Generic_GJ
print("Adding electrical projection: NC_MDR01_MDR02_Generic_GJ from MDR01 to MDR02, with 1 connection(s)")
h("objectvar syn_NC_MDR01_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR01_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR01[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR02[0].soma], weight: 1.0
h("a_MDR01[0].soma { syn_NC_MDR01_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR02[0].soma { syn_NC_MDR01_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR01_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR02[0].soma.v(0.5)")
h("setpointer syn_NC_MDR01_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR01[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR01_MDR03_Generic_GJ
print("Adding electrical projection: NC_MDR01_MDR03_Generic_GJ from MDR01 to MDR03, with 1 connection(s)")
h("objectvar syn_NC_MDR01_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR01_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR01[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR03[0].soma], weight: 1.0
h("a_MDR01[0].soma { syn_NC_MDR01_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR03[0].soma { syn_NC_MDR01_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR01_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR03[0].soma.v(0.5)")
h("setpointer syn_NC_MDR01_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR01[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR02_MDR01_Generic_GJ
print("Adding electrical projection: NC_MDR02_MDR01_Generic_GJ from MDR02 to MDR01, with 1 connection(s)")
h("objectvar syn_NC_MDR02_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR02_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR02[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR01[0].soma], weight: 1.0
h("a_MDR02[0].soma { syn_NC_MDR02_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR01[0].soma { syn_NC_MDR02_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR02_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR01[0].soma.v(0.5)")
h("setpointer syn_NC_MDR02_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR02[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR02_MDR03_Generic_GJ
print("Adding electrical projection: NC_MDR02_MDR03_Generic_GJ from MDR02 to MDR03, with 1 connection(s)")
h("objectvar syn_NC_MDR02_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR02_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR02[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR03[0].soma], weight: 1.0
h("a_MDR02[0].soma { syn_NC_MDR02_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR03[0].soma { syn_NC_MDR02_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR02_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR03[0].soma.v(0.5)")
h("setpointer syn_NC_MDR02_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR02[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR03_MDR01_Generic_GJ
print("Adding electrical projection: NC_MDR03_MDR01_Generic_GJ from MDR03 to MDR01, with 1 connection(s)")
h("objectvar syn_NC_MDR03_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR03_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR01[0].soma], weight: 1.0
h("a_MDR03[0].soma { syn_NC_MDR03_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR01[0].soma { syn_NC_MDR03_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR03_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR01[0].soma.v(0.5)")
h("setpointer syn_NC_MDR03_MDR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR03_MDR02_Generic_GJ
print("Adding electrical projection: NC_MDR03_MDR02_Generic_GJ from MDR03 to MDR02, with 1 connection(s)")
h("objectvar syn_NC_MDR03_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR03_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR02[0].soma], weight: 1.0
h("a_MDR03[0].soma { syn_NC_MDR03_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR02[0].soma { syn_NC_MDR03_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR03_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR02[0].soma.v(0.5)")
h("setpointer syn_NC_MDR03_MDR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR03_MDR04_Generic_GJ
print("Adding electrical projection: NC_MDR03_MDR04_Generic_GJ from MDR03 to MDR04, with 1 connection(s)")
h("objectvar syn_NC_MDR03_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR03_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR04[0].soma], weight: 1.0
h("a_MDR03[0].soma { syn_NC_MDR03_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR04[0].soma { syn_NC_MDR03_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR03_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR04[0].soma.v(0.5)")
h("setpointer syn_NC_MDR03_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR04_MDR03_Generic_GJ
print("Adding electrical projection: NC_MDR04_MDR03_Generic_GJ from MDR04 to MDR03, with 1 connection(s)")
h("objectvar syn_NC_MDR04_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR04_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR04[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR03[0].soma], weight: 1.0
h("a_MDR04[0].soma { syn_NC_MDR04_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR03[0].soma { syn_NC_MDR04_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR04_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR03[0].soma.v(0.5)")
h("setpointer syn_NC_MDR04_MDR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR04[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR04_MDR05_Generic_GJ
print("Adding electrical projection: NC_MDR04_MDR05_Generic_GJ from MDR04 to MDR05, with 1 connection(s)")
h("objectvar syn_NC_MDR04_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR04_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR04[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR05[0].soma], weight: 1.0
h("a_MDR04[0].soma { syn_NC_MDR04_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR05[0].soma { syn_NC_MDR04_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR04_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR05[0].soma.v(0.5)")
h("setpointer syn_NC_MDR04_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR04[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR05_MDR04_Generic_GJ
print("Adding electrical projection: NC_MDR05_MDR04_Generic_GJ from MDR05 to MDR04, with 1 connection(s)")
h("objectvar syn_NC_MDR05_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR05_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR05[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR04[0].soma], weight: 1.0
h("a_MDR05[0].soma { syn_NC_MDR05_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR04[0].soma { syn_NC_MDR05_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR05_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR04[0].soma.v(0.5)")
h("setpointer syn_NC_MDR05_MDR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR05[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR05_MDR06_Generic_GJ
print("Adding electrical projection: NC_MDR05_MDR06_Generic_GJ from MDR05 to MDR06, with 1 connection(s)")
h("objectvar syn_NC_MDR05_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR05_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR05[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR06[0].soma], weight: 1.0
h("a_MDR05[0].soma { syn_NC_MDR05_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR06[0].soma { syn_NC_MDR05_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR05_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR06[0].soma.v(0.5)")
h("setpointer syn_NC_MDR05_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR05[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR06_MDR05_Generic_GJ
print("Adding electrical projection: NC_MDR06_MDR05_Generic_GJ from MDR06 to MDR05, with 1 connection(s)")
h("objectvar syn_NC_MDR06_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR06_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR06[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR05[0].soma], weight: 1.0
h("a_MDR06[0].soma { syn_NC_MDR06_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR05[0].soma { syn_NC_MDR06_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR06_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR05[0].soma.v(0.5)")
h("setpointer syn_NC_MDR06_MDR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR06[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR06_MDR07_Generic_GJ
print("Adding electrical projection: NC_MDR06_MDR07_Generic_GJ from MDR06 to MDR07, with 1 connection(s)")
h("objectvar syn_NC_MDR06_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR06_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR06[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR07[0].soma], weight: 1.0
h("a_MDR06[0].soma { syn_NC_MDR06_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR07[0].soma { syn_NC_MDR06_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR06_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR07[0].soma.v(0.5)")
h("setpointer syn_NC_MDR06_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR06[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR07_MDR06_Generic_GJ
print("Adding electrical projection: NC_MDR07_MDR06_Generic_GJ from MDR07 to MDR06, with 1 connection(s)")
h("objectvar syn_NC_MDR07_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR07_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR07[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR06[0].soma], weight: 1.0
h("a_MDR07[0].soma { syn_NC_MDR07_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR06[0].soma { syn_NC_MDR07_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR07_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR06[0].soma.v(0.5)")
h("setpointer syn_NC_MDR07_MDR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR07[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR07_MDR08_Generic_GJ
print("Adding electrical projection: NC_MDR07_MDR08_Generic_GJ from MDR07 to MDR08, with 1 connection(s)")
h("objectvar syn_NC_MDR07_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR07_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR07[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR08[0].soma], weight: 1.0
h("a_MDR07[0].soma { syn_NC_MDR07_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR08[0].soma { syn_NC_MDR07_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR07_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR08[0].soma.v(0.5)")
h("setpointer syn_NC_MDR07_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR07[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR08_MDR07_Generic_GJ
print("Adding electrical projection: NC_MDR08_MDR07_Generic_GJ from MDR08 to MDR07, with 1 connection(s)")
h("objectvar syn_NC_MDR08_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR08_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR08[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR07[0].soma], weight: 1.0
h("a_MDR08[0].soma { syn_NC_MDR08_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR07[0].soma { syn_NC_MDR08_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR08_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR07[0].soma.v(0.5)")
h("setpointer syn_NC_MDR08_MDR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR08[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR08_MDR09_Generic_GJ
print("Adding electrical projection: NC_MDR08_MDR09_Generic_GJ from MDR08 to MDR09, with 1 connection(s)")
h("objectvar syn_NC_MDR08_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR08_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR08[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR09[0].soma], weight: 1.0
h("a_MDR08[0].soma { syn_NC_MDR08_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR09[0].soma { syn_NC_MDR08_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR08_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR09[0].soma.v(0.5)")
h("setpointer syn_NC_MDR08_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR08[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR09_MDR08_Generic_GJ
print("Adding electrical projection: NC_MDR09_MDR08_Generic_GJ from MDR09 to MDR08, with 1 connection(s)")
h("objectvar syn_NC_MDR09_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR09_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR09[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR08[0].soma], weight: 1.0
h("a_MDR09[0].soma { syn_NC_MDR09_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR08[0].soma { syn_NC_MDR09_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR09_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR08[0].soma.v(0.5)")
h("setpointer syn_NC_MDR09_MDR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR09[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR09_MDR10_Generic_GJ
print("Adding electrical projection: NC_MDR09_MDR10_Generic_GJ from MDR09 to MDR10, with 1 connection(s)")
h("objectvar syn_NC_MDR09_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR09_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR09[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR10[0].soma], weight: 1.0
h("a_MDR09[0].soma { syn_NC_MDR09_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR10[0].soma { syn_NC_MDR09_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR09_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR10[0].soma.v(0.5)")
h("setpointer syn_NC_MDR09_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR09[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR10_MDR09_Generic_GJ
print("Adding electrical projection: NC_MDR10_MDR09_Generic_GJ from MDR10 to MDR09, with 1 connection(s)")
h("objectvar syn_NC_MDR10_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR10_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR10[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR09[0].soma], weight: 1.0
h("a_MDR10[0].soma { syn_NC_MDR10_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR09[0].soma { syn_NC_MDR10_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR10_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR09[0].soma.v(0.5)")
h("setpointer syn_NC_MDR10_MDR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR10[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR10_MDR11_Generic_GJ
print("Adding electrical projection: NC_MDR10_MDR11_Generic_GJ from MDR10 to MDR11, with 1 connection(s)")
h("objectvar syn_NC_MDR10_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR10_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR10[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR11[0].soma], weight: 1.0
h("a_MDR10[0].soma { syn_NC_MDR10_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR11[0].soma { syn_NC_MDR10_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR10_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR11[0].soma.v(0.5)")
h("setpointer syn_NC_MDR10_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR10[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR11_MDR10_Generic_GJ
print("Adding electrical projection: NC_MDR11_MDR10_Generic_GJ from MDR11 to MDR10, with 1 connection(s)")
h("objectvar syn_NC_MDR11_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR11_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR11[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR10[0].soma], weight: 1.0
h("a_MDR11[0].soma { syn_NC_MDR11_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR10[0].soma { syn_NC_MDR11_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR11_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR10[0].soma.v(0.5)")
h("setpointer syn_NC_MDR11_MDR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR11[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR11_MDR12_Generic_GJ
print("Adding electrical projection: NC_MDR11_MDR12_Generic_GJ from MDR11 to MDR12, with 1 connection(s)")
h("objectvar syn_NC_MDR11_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR11_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR11[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR12[0].soma], weight: 1.0
h("a_MDR11[0].soma { syn_NC_MDR11_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR12[0].soma { syn_NC_MDR11_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR11_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR12[0].soma.v(0.5)")
h("setpointer syn_NC_MDR11_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR11[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR12_MDR11_Generic_GJ
print("Adding electrical projection: NC_MDR12_MDR11_Generic_GJ from MDR12 to MDR11, with 1 connection(s)")
h("objectvar syn_NC_MDR12_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR12_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR12[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR11[0].soma], weight: 1.0
h("a_MDR12[0].soma { syn_NC_MDR12_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR11[0].soma { syn_NC_MDR12_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR12_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR11[0].soma.v(0.5)")
h("setpointer syn_NC_MDR12_MDR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR12[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR12_MDR13_Generic_GJ
print("Adding electrical projection: NC_MDR12_MDR13_Generic_GJ from MDR12 to MDR13, with 1 connection(s)")
h("objectvar syn_NC_MDR12_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR12_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR12[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR13[0].soma], weight: 1.0
h("a_MDR12[0].soma { syn_NC_MDR12_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR13[0].soma { syn_NC_MDR12_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR12_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR13[0].soma.v(0.5)")
h("setpointer syn_NC_MDR12_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR12[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR13_MDR12_Generic_GJ
print("Adding electrical projection: NC_MDR13_MDR12_Generic_GJ from MDR13 to MDR12, with 1 connection(s)")
h("objectvar syn_NC_MDR13_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR13_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR13[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR12[0].soma], weight: 1.0
h("a_MDR13[0].soma { syn_NC_MDR13_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR12[0].soma { syn_NC_MDR13_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR13_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR12[0].soma.v(0.5)")
h("setpointer syn_NC_MDR13_MDR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR13[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR13_MDR14_Generic_GJ
print("Adding electrical projection: NC_MDR13_MDR14_Generic_GJ from MDR13 to MDR14, with 1 connection(s)")
h("objectvar syn_NC_MDR13_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR13_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR13[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR14[0].soma], weight: 1.0
h("a_MDR13[0].soma { syn_NC_MDR13_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR14[0].soma { syn_NC_MDR13_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR13_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR14[0].soma.v(0.5)")
h("setpointer syn_NC_MDR13_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR13[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR14_MDR13_Generic_GJ
print("Adding electrical projection: NC_MDR14_MDR13_Generic_GJ from MDR14 to MDR13, with 1 connection(s)")
h("objectvar syn_NC_MDR14_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR14_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR14[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR13[0].soma], weight: 1.0
h("a_MDR14[0].soma { syn_NC_MDR14_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR13[0].soma { syn_NC_MDR14_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR14_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR13[0].soma.v(0.5)")
h("setpointer syn_NC_MDR14_MDR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR14[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR14_MDR15_Generic_GJ
print("Adding electrical projection: NC_MDR14_MDR15_Generic_GJ from MDR14 to MDR15, with 1 connection(s)")
h("objectvar syn_NC_MDR14_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR14_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR14[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR15[0].soma], weight: 1.0
h("a_MDR14[0].soma { syn_NC_MDR14_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR15[0].soma { syn_NC_MDR14_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR14_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR15[0].soma.v(0.5)")
h("setpointer syn_NC_MDR14_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR14[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR15_MDR14_Generic_GJ
print("Adding electrical projection: NC_MDR15_MDR14_Generic_GJ from MDR15 to MDR14, with 1 connection(s)")
h("objectvar syn_NC_MDR15_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR15_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR15[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR14[0].soma], weight: 1.0
h("a_MDR15[0].soma { syn_NC_MDR15_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR14[0].soma { syn_NC_MDR15_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR15_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR14[0].soma.v(0.5)")
h("setpointer syn_NC_MDR15_MDR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR15[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR15_MDR16_Generic_GJ
print("Adding electrical projection: NC_MDR15_MDR16_Generic_GJ from MDR15 to MDR16, with 1 connection(s)")
h("objectvar syn_NC_MDR15_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR15_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR15[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma], weight: 1.0
h("a_MDR15[0].soma { syn_NC_MDR15_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR16[0].soma { syn_NC_MDR15_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR15_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR16[0].soma.v(0.5)")
h("setpointer syn_NC_MDR15_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR15[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR16_MDR15_Generic_GJ
print("Adding electrical projection: NC_MDR16_MDR15_Generic_GJ from MDR16 to MDR15, with 1 connection(s)")
h("objectvar syn_NC_MDR16_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR16_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR15[0].soma], weight: 1.0
h("a_MDR16[0].soma { syn_NC_MDR16_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR15[0].soma { syn_NC_MDR16_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR16_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR15[0].soma.v(0.5)")
h("setpointer syn_NC_MDR16_MDR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR16[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR16_MDR17_Generic_GJ
print("Adding electrical projection: NC_MDR16_MDR17_Generic_GJ from MDR16 to MDR17, with 1 connection(s)")
h("objectvar syn_NC_MDR16_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR16_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR17[0].soma], weight: 1.0
h("a_MDR16[0].soma { syn_NC_MDR16_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR17[0].soma { syn_NC_MDR16_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR16_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR17[0].soma.v(0.5)")
h("setpointer syn_NC_MDR16_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR16[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR17_MDR16_Generic_GJ
print("Adding electrical projection: NC_MDR17_MDR16_Generic_GJ from MDR17 to MDR16, with 1 connection(s)")
h("objectvar syn_NC_MDR17_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR17_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR17[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma], weight: 1.0
h("a_MDR17[0].soma { syn_NC_MDR17_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR16[0].soma { syn_NC_MDR17_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR17_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR16[0].soma.v(0.5)")
h("setpointer syn_NC_MDR17_MDR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR17[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR17_MDR18_Generic_GJ
print("Adding electrical projection: NC_MDR17_MDR18_Generic_GJ from MDR17 to MDR18, with 1 connection(s)")
h("objectvar syn_NC_MDR17_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR17_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR17[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR18[0].soma], weight: 1.0
h("a_MDR17[0].soma { syn_NC_MDR17_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR18[0].soma { syn_NC_MDR17_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR17_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR18[0].soma.v(0.5)")
h("setpointer syn_NC_MDR17_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR17[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR18_MDR17_Generic_GJ
print("Adding electrical projection: NC_MDR18_MDR17_Generic_GJ from MDR18 to MDR17, with 1 connection(s)")
h("objectvar syn_NC_MDR18_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR18_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR18[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR17[0].soma], weight: 1.0
h("a_MDR18[0].soma { syn_NC_MDR18_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR17[0].soma { syn_NC_MDR18_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR18_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR17[0].soma.v(0.5)")
h("setpointer syn_NC_MDR18_MDR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR18[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR18_MDR19_Generic_GJ
print("Adding electrical projection: NC_MDR18_MDR19_Generic_GJ from MDR18 to MDR19, with 1 connection(s)")
h("objectvar syn_NC_MDR18_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR18_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR18[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma], weight: 1.0
h("a_MDR18[0].soma { syn_NC_MDR18_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR19[0].soma { syn_NC_MDR18_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR18_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR19[0].soma.v(0.5)")
h("setpointer syn_NC_MDR18_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR18[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR19_MDR18_Generic_GJ
print("Adding electrical projection: NC_MDR19_MDR18_Generic_GJ from MDR19 to MDR18, with 1 connection(s)")
h("objectvar syn_NC_MDR19_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR19_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR18[0].soma], weight: 1.0
h("a_MDR19[0].soma { syn_NC_MDR19_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR18[0].soma { syn_NC_MDR19_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR19_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR18[0].soma.v(0.5)")
h("setpointer syn_NC_MDR19_MDR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR19[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR19_MDR20_Generic_GJ
print("Adding electrical projection: NC_MDR19_MDR20_Generic_GJ from MDR19 to MDR20, with 1 connection(s)")
h("objectvar syn_NC_MDR19_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR19_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR20[0].soma], weight: 1.0
h("a_MDR19[0].soma { syn_NC_MDR19_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR20[0].soma { syn_NC_MDR19_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR19_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR20[0].soma.v(0.5)")
h("setpointer syn_NC_MDR19_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR19[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR20_MDR19_Generic_GJ
print("Adding electrical projection: NC_MDR20_MDR19_Generic_GJ from MDR20 to MDR19, with 1 connection(s)")
h("objectvar syn_NC_MDR20_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR20_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR20[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma], weight: 1.0
h("a_MDR20[0].soma { syn_NC_MDR20_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR19[0].soma { syn_NC_MDR20_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR20_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR19[0].soma.v(0.5)")
h("setpointer syn_NC_MDR20_MDR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR20[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR20_MDR21_Generic_GJ
print("Adding electrical projection: NC_MDR20_MDR21_Generic_GJ from MDR20 to MDR21, with 1 connection(s)")
h("objectvar syn_NC_MDR20_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR20_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR20[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR21[0].soma], weight: 1.0
h("a_MDR20[0].soma { syn_NC_MDR20_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR21[0].soma { syn_NC_MDR20_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR20_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR21[0].soma.v(0.5)")
h("setpointer syn_NC_MDR20_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR20[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR21_MDR20_Generic_GJ
print("Adding electrical projection: NC_MDR21_MDR20_Generic_GJ from MDR21 to MDR20, with 1 connection(s)")
h("objectvar syn_NC_MDR21_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR21_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR21[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR20[0].soma], weight: 1.0
h("a_MDR21[0].soma { syn_NC_MDR21_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR20[0].soma { syn_NC_MDR21_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR21_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR20[0].soma.v(0.5)")
h("setpointer syn_NC_MDR21_MDR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR21[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR21_MDR22_Generic_GJ
print("Adding electrical projection: NC_MDR21_MDR22_Generic_GJ from MDR21 to MDR22, with 1 connection(s)")
h("objectvar syn_NC_MDR21_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR21_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR21[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR22[0].soma], weight: 1.0
h("a_MDR21[0].soma { syn_NC_MDR21_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR22[0].soma { syn_NC_MDR21_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR21_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR22[0].soma.v(0.5)")
h("setpointer syn_NC_MDR21_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR21[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR22_MDR21_Generic_GJ
print("Adding electrical projection: NC_MDR22_MDR21_Generic_GJ from MDR22 to MDR21, with 1 connection(s)")
h("objectvar syn_NC_MDR22_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR22_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR22[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR21[0].soma], weight: 1.0
h("a_MDR22[0].soma { syn_NC_MDR22_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR21[0].soma { syn_NC_MDR22_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR22_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR21[0].soma.v(0.5)")
h("setpointer syn_NC_MDR22_MDR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR22[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR22_MDR23_Generic_GJ
print("Adding electrical projection: NC_MDR22_MDR23_Generic_GJ from MDR22 to MDR23, with 1 connection(s)")
h("objectvar syn_NC_MDR22_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR22_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR22[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR23[0].soma], weight: 1.0
h("a_MDR22[0].soma { syn_NC_MDR22_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR23[0].soma { syn_NC_MDR22_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR22_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR23[0].soma.v(0.5)")
h("setpointer syn_NC_MDR22_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR22[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR23_MDR22_Generic_GJ
print("Adding electrical projection: NC_MDR23_MDR22_Generic_GJ from MDR23 to MDR22, with 1 connection(s)")
h("objectvar syn_NC_MDR23_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR23_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR23[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR22[0].soma], weight: 1.0
h("a_MDR23[0].soma { syn_NC_MDR23_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR22[0].soma { syn_NC_MDR23_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR23_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR22[0].soma.v(0.5)")
h("setpointer syn_NC_MDR23_MDR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR23[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR23_MDR24_Generic_GJ
print("Adding electrical projection: NC_MDR23_MDR24_Generic_GJ from MDR23 to MDR24, with 1 connection(s)")
h("objectvar syn_NC_MDR23_MDR24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR23_MDR24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR23[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR24[0].soma], weight: 1.0
h("a_MDR23[0].soma { syn_NC_MDR23_MDR24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR24[0].soma { syn_NC_MDR23_MDR24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR23_MDR24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR24[0].soma.v(0.5)")
h("setpointer syn_NC_MDR23_MDR24_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR23[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MDR24_MDR23_Generic_GJ
print("Adding electrical projection: NC_MDR24_MDR23_Generic_GJ from MDR24 to MDR23, with 1 connection(s)")
h("objectvar syn_NC_MDR24_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MDR24_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MDR24[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR23[0].soma], weight: 1.0
h("a_MDR24[0].soma { syn_NC_MDR24_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MDR23[0].soma { syn_NC_MDR24_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MDR24_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MDR23[0].soma.v(0.5)")
h("setpointer syn_NC_MDR24_MDR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MDR24[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL01_MVL02_Generic_GJ
print("Adding electrical projection: NC_MVL01_MVL02_Generic_GJ from MVL01 to MVL02, with 1 connection(s)")
h("objectvar syn_NC_MVL01_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL01_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL01[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL02[0].soma], weight: 1.0
h("a_MVL01[0].soma { syn_NC_MVL01_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL02[0].soma { syn_NC_MVL01_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL01_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL02[0].soma.v(0.5)")
h("setpointer syn_NC_MVL01_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL01[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL01_MVL03_Generic_GJ
print("Adding electrical projection: NC_MVL01_MVL03_Generic_GJ from MVL01 to MVL03, with 1 connection(s)")
h("objectvar syn_NC_MVL01_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL01_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL01[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL03[0].soma], weight: 1.0
h("a_MVL01[0].soma { syn_NC_MVL01_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL03[0].soma { syn_NC_MVL01_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL01_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL03[0].soma.v(0.5)")
h("setpointer syn_NC_MVL01_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL01[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL02_MVL01_Generic_GJ
print("Adding electrical projection: NC_MVL02_MVL01_Generic_GJ from MVL02 to MVL01, with 1 connection(s)")
h("objectvar syn_NC_MVL02_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL02_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL02[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL01[0].soma], weight: 1.0
h("a_MVL02[0].soma { syn_NC_MVL02_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL01[0].soma { syn_NC_MVL02_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL02_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL01[0].soma.v(0.5)")
h("setpointer syn_NC_MVL02_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL02[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL02_MVL03_Generic_GJ
print("Adding electrical projection: NC_MVL02_MVL03_Generic_GJ from MVL02 to MVL03, with 1 connection(s)")
h("objectvar syn_NC_MVL02_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL02_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL02[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL03[0].soma], weight: 1.0
h("a_MVL02[0].soma { syn_NC_MVL02_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL03[0].soma { syn_NC_MVL02_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL02_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL03[0].soma.v(0.5)")
h("setpointer syn_NC_MVL02_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL02[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL03_MVL01_Generic_GJ
print("Adding electrical projection: NC_MVL03_MVL01_Generic_GJ from MVL03 to MVL01, with 1 connection(s)")
h("objectvar syn_NC_MVL03_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL03_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL01[0].soma], weight: 1.0
h("a_MVL03[0].soma { syn_NC_MVL03_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL01[0].soma { syn_NC_MVL03_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL03_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL01[0].soma.v(0.5)")
h("setpointer syn_NC_MVL03_MVL01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL03_MVL02_Generic_GJ
print("Adding electrical projection: NC_MVL03_MVL02_Generic_GJ from MVL03 to MVL02, with 1 connection(s)")
h("objectvar syn_NC_MVL03_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL03_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL02[0].soma], weight: 1.0
h("a_MVL03[0].soma { syn_NC_MVL03_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL02[0].soma { syn_NC_MVL03_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL03_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL02[0].soma.v(0.5)")
h("setpointer syn_NC_MVL03_MVL02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL03_MVL04_Generic_GJ
print("Adding electrical projection: NC_MVL03_MVL04_Generic_GJ from MVL03 to MVL04, with 1 connection(s)")
h("objectvar syn_NC_MVL03_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL03_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL04[0].soma], weight: 1.0
h("a_MVL03[0].soma { syn_NC_MVL03_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL04[0].soma { syn_NC_MVL03_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL03_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL04[0].soma.v(0.5)")
h("setpointer syn_NC_MVL03_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL04_MVL03_Generic_GJ
print("Adding electrical projection: NC_MVL04_MVL03_Generic_GJ from MVL04 to MVL03, with 1 connection(s)")
h("objectvar syn_NC_MVL04_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL04_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL04[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL03[0].soma], weight: 1.0
h("a_MVL04[0].soma { syn_NC_MVL04_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL03[0].soma { syn_NC_MVL04_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL04_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL03[0].soma.v(0.5)")
h("setpointer syn_NC_MVL04_MVL03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL04[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL04_MVL05_Generic_GJ
print("Adding electrical projection: NC_MVL04_MVL05_Generic_GJ from MVL04 to MVL05, with 1 connection(s)")
h("objectvar syn_NC_MVL04_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL04_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL04[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL05[0].soma], weight: 1.0
h("a_MVL04[0].soma { syn_NC_MVL04_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL05[0].soma { syn_NC_MVL04_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL04_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL05[0].soma.v(0.5)")
h("setpointer syn_NC_MVL04_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL04[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL05_MVL04_Generic_GJ
print("Adding electrical projection: NC_MVL05_MVL04_Generic_GJ from MVL05 to MVL04, with 1 connection(s)")
h("objectvar syn_NC_MVL05_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL05_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL05[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL04[0].soma], weight: 1.0
h("a_MVL05[0].soma { syn_NC_MVL05_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL04[0].soma { syn_NC_MVL05_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL05_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL04[0].soma.v(0.5)")
h("setpointer syn_NC_MVL05_MVL04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL05[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL05_MVL06_Generic_GJ
print("Adding electrical projection: NC_MVL05_MVL06_Generic_GJ from MVL05 to MVL06, with 1 connection(s)")
h("objectvar syn_NC_MVL05_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL05_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL05[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL06[0].soma], weight: 1.0
h("a_MVL05[0].soma { syn_NC_MVL05_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL06[0].soma { syn_NC_MVL05_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL05_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL06[0].soma.v(0.5)")
h("setpointer syn_NC_MVL05_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL05[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL06_MVL05_Generic_GJ
print("Adding electrical projection: NC_MVL06_MVL05_Generic_GJ from MVL06 to MVL05, with 1 connection(s)")
h("objectvar syn_NC_MVL06_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL06_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL06[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL05[0].soma], weight: 1.0
h("a_MVL06[0].soma { syn_NC_MVL06_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL05[0].soma { syn_NC_MVL06_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL06_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL05[0].soma.v(0.5)")
h("setpointer syn_NC_MVL06_MVL05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL06[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL06_MVL07_Generic_GJ
print("Adding electrical projection: NC_MVL06_MVL07_Generic_GJ from MVL06 to MVL07, with 1 connection(s)")
h("objectvar syn_NC_MVL06_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL06_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL06[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL07[0].soma], weight: 1.0
h("a_MVL06[0].soma { syn_NC_MVL06_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL07[0].soma { syn_NC_MVL06_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL06_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL07[0].soma.v(0.5)")
h("setpointer syn_NC_MVL06_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL06[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL07_MVL06_Generic_GJ
print("Adding electrical projection: NC_MVL07_MVL06_Generic_GJ from MVL07 to MVL06, with 1 connection(s)")
h("objectvar syn_NC_MVL07_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL07_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL07[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL06[0].soma], weight: 1.0
h("a_MVL07[0].soma { syn_NC_MVL07_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL06[0].soma { syn_NC_MVL07_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL07_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL06[0].soma.v(0.5)")
h("setpointer syn_NC_MVL07_MVL06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL07[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL07_MVL08_Generic_GJ
print("Adding electrical projection: NC_MVL07_MVL08_Generic_GJ from MVL07 to MVL08, with 1 connection(s)")
h("objectvar syn_NC_MVL07_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL07_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL07[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL08[0].soma], weight: 1.0
h("a_MVL07[0].soma { syn_NC_MVL07_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL08[0].soma { syn_NC_MVL07_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL07_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL08[0].soma.v(0.5)")
h("setpointer syn_NC_MVL07_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL07[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL08_MVL07_Generic_GJ
print("Adding electrical projection: NC_MVL08_MVL07_Generic_GJ from MVL08 to MVL07, with 1 connection(s)")
h("objectvar syn_NC_MVL08_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL08_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL08[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL07[0].soma], weight: 1.0
h("a_MVL08[0].soma { syn_NC_MVL08_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL07[0].soma { syn_NC_MVL08_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL08_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL07[0].soma.v(0.5)")
h("setpointer syn_NC_MVL08_MVL07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL08[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL08_MVL09_Generic_GJ
print("Adding electrical projection: NC_MVL08_MVL09_Generic_GJ from MVL08 to MVL09, with 1 connection(s)")
h("objectvar syn_NC_MVL08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL08[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL09[0].soma], weight: 1.0
h("a_MVL08[0].soma { syn_NC_MVL08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL09[0].soma { syn_NC_MVL08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL09[0].soma.v(0.5)")
h("setpointer syn_NC_MVL08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL08[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL09_MVL08_Generic_GJ
print("Adding electrical projection: NC_MVL09_MVL08_Generic_GJ from MVL09 to MVL08, with 1 connection(s)")
h("objectvar syn_NC_MVL09_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL09_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL09[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL08[0].soma], weight: 1.0
h("a_MVL09[0].soma { syn_NC_MVL09_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL08[0].soma { syn_NC_MVL09_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL09_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL08[0].soma.v(0.5)")
h("setpointer syn_NC_MVL09_MVL08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL09[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL09_MVL10_Generic_GJ
print("Adding electrical projection: NC_MVL09_MVL10_Generic_GJ from MVL09 to MVL10, with 1 connection(s)")
h("objectvar syn_NC_MVL09_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL09_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL09[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL10[0].soma], weight: 1.0
h("a_MVL09[0].soma { syn_NC_MVL09_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL10[0].soma { syn_NC_MVL09_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL09_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL10[0].soma.v(0.5)")
h("setpointer syn_NC_MVL09_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL09[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL09_MVR08_Generic_GJ
print("Adding electrical projection: NC_MVL09_MVR08_Generic_GJ from MVL09 to MVR08, with 1 connection(s)")
h("objectvar syn_NC_MVL09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_2conns_A[1]")
h("objectvar syn_NC_MVL09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL09[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR08[0].soma], weight: 1.0
h("a_MVL09[0].soma { syn_NC_MVL09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_2conns_A[0] = new muscle_to_muscle_elec_syn_2conns(0.5) }")
h("a_MVR08[0].soma { syn_NC_MVL09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_2conns_B[0] = new muscle_to_muscle_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_MVL09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_2conns_A[0].vpeer, a_MVR08[0].soma.v(0.5)")
h("setpointer syn_NC_MVL09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_2conns_B[0].vpeer, a_MVL09[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL10_MVL09_Generic_GJ
print("Adding electrical projection: NC_MVL10_MVL09_Generic_GJ from MVL10 to MVL09, with 1 connection(s)")
h("objectvar syn_NC_MVL10_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL10_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL10[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL09[0].soma], weight: 1.0
h("a_MVL10[0].soma { syn_NC_MVL10_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL09[0].soma { syn_NC_MVL10_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL10_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL09[0].soma.v(0.5)")
h("setpointer syn_NC_MVL10_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL10[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL10_MVL11_Generic_GJ
print("Adding electrical projection: NC_MVL10_MVL11_Generic_GJ from MVL10 to MVL11, with 1 connection(s)")
h("objectvar syn_NC_MVL10_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL10_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL10[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL11[0].soma], weight: 1.0
h("a_MVL10[0].soma { syn_NC_MVL10_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL11[0].soma { syn_NC_MVL10_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL10_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL11[0].soma.v(0.5)")
h("setpointer syn_NC_MVL10_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL10[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL11_MVL10_Generic_GJ
print("Adding electrical projection: NC_MVL11_MVL10_Generic_GJ from MVL11 to MVL10, with 1 connection(s)")
h("objectvar syn_NC_MVL11_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL11_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL11[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL10[0].soma], weight: 1.0
h("a_MVL11[0].soma { syn_NC_MVL11_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL10[0].soma { syn_NC_MVL11_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL11_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL10[0].soma.v(0.5)")
h("setpointer syn_NC_MVL11_MVL10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL11[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL11_MVL12_Generic_GJ
print("Adding electrical projection: NC_MVL11_MVL12_Generic_GJ from MVL11 to MVL12, with 1 connection(s)")
h("objectvar syn_NC_MVL11_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL11_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL11[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL12[0].soma], weight: 1.0
h("a_MVL11[0].soma { syn_NC_MVL11_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL12[0].soma { syn_NC_MVL11_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL11_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL12[0].soma.v(0.5)")
h("setpointer syn_NC_MVL11_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL11[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL12_MVL11_Generic_GJ
print("Adding electrical projection: NC_MVL12_MVL11_Generic_GJ from MVL12 to MVL11, with 1 connection(s)")
h("objectvar syn_NC_MVL12_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL12_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL12[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL11[0].soma], weight: 1.0
h("a_MVL12[0].soma { syn_NC_MVL12_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL11[0].soma { syn_NC_MVL12_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL12_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL11[0].soma.v(0.5)")
h("setpointer syn_NC_MVL12_MVL11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL12[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL12_MVL13_Generic_GJ
print("Adding electrical projection: NC_MVL12_MVL13_Generic_GJ from MVL12 to MVL13, with 1 connection(s)")
h("objectvar syn_NC_MVL12_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL12_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL12[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL13[0].soma], weight: 1.0
h("a_MVL12[0].soma { syn_NC_MVL12_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL13[0].soma { syn_NC_MVL12_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL12_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL13[0].soma.v(0.5)")
h("setpointer syn_NC_MVL12_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL12[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL13_MVL12_Generic_GJ
print("Adding electrical projection: NC_MVL13_MVL12_Generic_GJ from MVL13 to MVL12, with 1 connection(s)")
h("objectvar syn_NC_MVL13_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL13_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL13[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL12[0].soma], weight: 1.0
h("a_MVL13[0].soma { syn_NC_MVL13_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL12[0].soma { syn_NC_MVL13_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL13_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL12[0].soma.v(0.5)")
h("setpointer syn_NC_MVL13_MVL12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL13[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL13_MVL14_Generic_GJ
print("Adding electrical projection: NC_MVL13_MVL14_Generic_GJ from MVL13 to MVL14, with 1 connection(s)")
h("objectvar syn_NC_MVL13_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL13_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL13[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL14[0].soma], weight: 1.0
h("a_MVL13[0].soma { syn_NC_MVL13_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL14[0].soma { syn_NC_MVL13_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL13_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL14[0].soma.v(0.5)")
h("setpointer syn_NC_MVL13_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL13[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL14_MVL13_Generic_GJ
print("Adding electrical projection: NC_MVL14_MVL13_Generic_GJ from MVL14 to MVL13, with 1 connection(s)")
h("objectvar syn_NC_MVL14_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL14_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL14[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL13[0].soma], weight: 1.0
h("a_MVL14[0].soma { syn_NC_MVL14_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL13[0].soma { syn_NC_MVL14_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL14_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL13[0].soma.v(0.5)")
h("setpointer syn_NC_MVL14_MVL13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL14[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL14_MVL15_Generic_GJ
print("Adding electrical projection: NC_MVL14_MVL15_Generic_GJ from MVL14 to MVL15, with 1 connection(s)")
h("objectvar syn_NC_MVL14_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL14_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL14[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL15[0].soma], weight: 1.0
h("a_MVL14[0].soma { syn_NC_MVL14_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL15[0].soma { syn_NC_MVL14_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL14_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL15[0].soma.v(0.5)")
h("setpointer syn_NC_MVL14_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL14[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL15_MVL14_Generic_GJ
print("Adding electrical projection: NC_MVL15_MVL14_Generic_GJ from MVL15 to MVL14, with 1 connection(s)")
h("objectvar syn_NC_MVL15_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL15_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL15[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL14[0].soma], weight: 1.0
h("a_MVL15[0].soma { syn_NC_MVL15_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL14[0].soma { syn_NC_MVL15_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL15_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL14[0].soma.v(0.5)")
h("setpointer syn_NC_MVL15_MVL14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL15[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL15_MVL16_Generic_GJ
print("Adding electrical projection: NC_MVL15_MVL16_Generic_GJ from MVL15 to MVL16, with 1 connection(s)")
h("objectvar syn_NC_MVL15_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL15_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL15[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL16[0].soma], weight: 1.0
h("a_MVL15[0].soma { syn_NC_MVL15_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL16[0].soma { syn_NC_MVL15_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL15_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL16[0].soma.v(0.5)")
h("setpointer syn_NC_MVL15_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL15[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL16_MVL15_Generic_GJ
print("Adding electrical projection: NC_MVL16_MVL15_Generic_GJ from MVL16 to MVL15, with 1 connection(s)")
h("objectvar syn_NC_MVL16_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL16_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL16[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL15[0].soma], weight: 1.0
h("a_MVL16[0].soma { syn_NC_MVL16_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL15[0].soma { syn_NC_MVL16_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL16_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL15[0].soma.v(0.5)")
h("setpointer syn_NC_MVL16_MVL15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL16[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL16_MVL17_Generic_GJ
print("Adding electrical projection: NC_MVL16_MVL17_Generic_GJ from MVL16 to MVL17, with 1 connection(s)")
h("objectvar syn_NC_MVL16_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL16_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL16[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL17[0].soma], weight: 1.0
h("a_MVL16[0].soma { syn_NC_MVL16_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL17[0].soma { syn_NC_MVL16_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL16_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL17[0].soma.v(0.5)")
h("setpointer syn_NC_MVL16_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL16[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL17_MVL16_Generic_GJ
print("Adding electrical projection: NC_MVL17_MVL16_Generic_GJ from MVL17 to MVL16, with 1 connection(s)")
h("objectvar syn_NC_MVL17_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL17_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL17[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL16[0].soma], weight: 1.0
h("a_MVL17[0].soma { syn_NC_MVL17_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL16[0].soma { syn_NC_MVL17_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL17_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL16[0].soma.v(0.5)")
h("setpointer syn_NC_MVL17_MVL16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL17[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL17_MVL18_Generic_GJ
print("Adding electrical projection: NC_MVL17_MVL18_Generic_GJ from MVL17 to MVL18, with 1 connection(s)")
h("objectvar syn_NC_MVL17_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL17_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL17[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL18[0].soma], weight: 1.0
h("a_MVL17[0].soma { syn_NC_MVL17_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL18[0].soma { syn_NC_MVL17_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL17_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL18[0].soma.v(0.5)")
h("setpointer syn_NC_MVL17_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL17[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL18_MVL17_Generic_GJ
print("Adding electrical projection: NC_MVL18_MVL17_Generic_GJ from MVL18 to MVL17, with 1 connection(s)")
h("objectvar syn_NC_MVL18_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL18_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL18[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL17[0].soma], weight: 1.0
h("a_MVL18[0].soma { syn_NC_MVL18_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL17[0].soma { syn_NC_MVL18_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL18_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL17[0].soma.v(0.5)")
h("setpointer syn_NC_MVL18_MVL17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL18[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL18_MVL19_Generic_GJ
print("Adding electrical projection: NC_MVL18_MVL19_Generic_GJ from MVL18 to MVL19, with 1 connection(s)")
h("objectvar syn_NC_MVL18_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL18_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL18[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL19[0].soma], weight: 1.0
h("a_MVL18[0].soma { syn_NC_MVL18_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL19[0].soma { syn_NC_MVL18_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL18_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL19[0].soma.v(0.5)")
h("setpointer syn_NC_MVL18_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL18[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL19_MVL18_Generic_GJ
print("Adding electrical projection: NC_MVL19_MVL18_Generic_GJ from MVL19 to MVL18, with 1 connection(s)")
h("objectvar syn_NC_MVL19_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL19_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL19[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL18[0].soma], weight: 1.0
h("a_MVL19[0].soma { syn_NC_MVL19_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL18[0].soma { syn_NC_MVL19_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL19_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL18[0].soma.v(0.5)")
h("setpointer syn_NC_MVL19_MVL18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL19[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL19_MVL20_Generic_GJ
print("Adding electrical projection: NC_MVL19_MVL20_Generic_GJ from MVL19 to MVL20, with 1 connection(s)")
h("objectvar syn_NC_MVL19_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL19_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL19[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL20[0].soma], weight: 1.0
h("a_MVL19[0].soma { syn_NC_MVL19_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL20[0].soma { syn_NC_MVL19_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL19_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL20[0].soma.v(0.5)")
h("setpointer syn_NC_MVL19_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL19[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL20_MVL19_Generic_GJ
print("Adding electrical projection: NC_MVL20_MVL19_Generic_GJ from MVL20 to MVL19, with 1 connection(s)")
h("objectvar syn_NC_MVL20_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL20_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL20[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL19[0].soma], weight: 1.0
h("a_MVL20[0].soma { syn_NC_MVL20_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL19[0].soma { syn_NC_MVL20_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL20_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL19[0].soma.v(0.5)")
h("setpointer syn_NC_MVL20_MVL19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL20[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL20_MVL21_Generic_GJ
print("Adding electrical projection: NC_MVL20_MVL21_Generic_GJ from MVL20 to MVL21, with 1 connection(s)")
h("objectvar syn_NC_MVL20_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL20_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL20[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL21[0].soma], weight: 1.0
h("a_MVL20[0].soma { syn_NC_MVL20_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL21[0].soma { syn_NC_MVL20_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL20_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL21[0].soma.v(0.5)")
h("setpointer syn_NC_MVL20_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL20[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL21_MVL20_Generic_GJ
print("Adding electrical projection: NC_MVL21_MVL20_Generic_GJ from MVL21 to MVL20, with 1 connection(s)")
h("objectvar syn_NC_MVL21_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL21_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL21[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL20[0].soma], weight: 1.0
h("a_MVL21[0].soma { syn_NC_MVL21_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL20[0].soma { syn_NC_MVL21_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL21_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL20[0].soma.v(0.5)")
h("setpointer syn_NC_MVL21_MVL20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL21[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL21_MVL22_Generic_GJ
print("Adding electrical projection: NC_MVL21_MVL22_Generic_GJ from MVL21 to MVL22, with 1 connection(s)")
h("objectvar syn_NC_MVL21_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL21_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL21[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL22[0].soma], weight: 1.0
h("a_MVL21[0].soma { syn_NC_MVL21_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL22[0].soma { syn_NC_MVL21_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL21_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL22[0].soma.v(0.5)")
h("setpointer syn_NC_MVL21_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL21[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL22_MVL21_Generic_GJ
print("Adding electrical projection: NC_MVL22_MVL21_Generic_GJ from MVL22 to MVL21, with 1 connection(s)")
h("objectvar syn_NC_MVL22_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL22_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL22[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL21[0].soma], weight: 1.0
h("a_MVL22[0].soma { syn_NC_MVL22_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL21[0].soma { syn_NC_MVL22_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL22_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL21[0].soma.v(0.5)")
h("setpointer syn_NC_MVL22_MVL21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL22[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL22_MVL23_Generic_GJ
print("Adding electrical projection: NC_MVL22_MVL23_Generic_GJ from MVL22 to MVL23, with 1 connection(s)")
h("objectvar syn_NC_MVL22_MVL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL22_MVL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL22[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL23[0].soma], weight: 1.0
h("a_MVL22[0].soma { syn_NC_MVL22_MVL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL23[0].soma { syn_NC_MVL22_MVL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL22_MVL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL23[0].soma.v(0.5)")
h("setpointer syn_NC_MVL22_MVL23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL22[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVL23_MVL22_Generic_GJ
print("Adding electrical projection: NC_MVL23_MVL22_Generic_GJ from MVL23 to MVL22, with 1 connection(s)")
h("objectvar syn_NC_MVL23_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVL23_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVL23[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL22[0].soma], weight: 1.0
h("a_MVL23[0].soma { syn_NC_MVL23_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVL22[0].soma { syn_NC_MVL23_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVL23_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVL22[0].soma.v(0.5)")
h("setpointer syn_NC_MVL23_MVL22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVL23[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR01_MVR02_Generic_GJ
print("Adding electrical projection: NC_MVR01_MVR02_Generic_GJ from MVR01 to MVR02, with 1 connection(s)")
h("objectvar syn_NC_MVR01_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR01_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR01[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR02[0].soma], weight: 1.0
h("a_MVR01[0].soma { syn_NC_MVR01_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR02[0].soma { syn_NC_MVR01_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR01_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR02[0].soma.v(0.5)")
h("setpointer syn_NC_MVR01_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR01[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR01_MVR03_Generic_GJ
print("Adding electrical projection: NC_MVR01_MVR03_Generic_GJ from MVR01 to MVR03, with 1 connection(s)")
h("objectvar syn_NC_MVR01_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR01_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR01[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR03[0].soma], weight: 1.0
h("a_MVR01[0].soma { syn_NC_MVR01_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR03[0].soma { syn_NC_MVR01_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR01_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR03[0].soma.v(0.5)")
h("setpointer syn_NC_MVR01_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR01[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR02_MVR01_Generic_GJ
print("Adding electrical projection: NC_MVR02_MVR01_Generic_GJ from MVR02 to MVR01, with 1 connection(s)")
h("objectvar syn_NC_MVR02_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR02_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR02[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR01[0].soma], weight: 1.0
h("a_MVR02[0].soma { syn_NC_MVR02_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR01[0].soma { syn_NC_MVR02_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR02_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR01[0].soma.v(0.5)")
h("setpointer syn_NC_MVR02_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR02[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR02_MVR03_Generic_GJ
print("Adding electrical projection: NC_MVR02_MVR03_Generic_GJ from MVR02 to MVR03, with 1 connection(s)")
h("objectvar syn_NC_MVR02_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR02_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR02[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR03[0].soma], weight: 1.0
h("a_MVR02[0].soma { syn_NC_MVR02_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR03[0].soma { syn_NC_MVR02_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR02_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR03[0].soma.v(0.5)")
h("setpointer syn_NC_MVR02_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR02[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR03_MVR01_Generic_GJ
print("Adding electrical projection: NC_MVR03_MVR01_Generic_GJ from MVR03 to MVR01, with 1 connection(s)")
h("objectvar syn_NC_MVR03_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR03_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR01[0].soma], weight: 1.0
h("a_MVR03[0].soma { syn_NC_MVR03_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR01[0].soma { syn_NC_MVR03_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR03_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR01[0].soma.v(0.5)")
h("setpointer syn_NC_MVR03_MVR01_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR03_MVR02_Generic_GJ
print("Adding electrical projection: NC_MVR03_MVR02_Generic_GJ from MVR03 to MVR02, with 1 connection(s)")
h("objectvar syn_NC_MVR03_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR03_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR02[0].soma], weight: 1.0
h("a_MVR03[0].soma { syn_NC_MVR03_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR02[0].soma { syn_NC_MVR03_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR03_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR02[0].soma.v(0.5)")
h("setpointer syn_NC_MVR03_MVR02_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR03_MVR04_Generic_GJ
print("Adding electrical projection: NC_MVR03_MVR04_Generic_GJ from MVR03 to MVR04, with 1 connection(s)")
h("objectvar syn_NC_MVR03_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR03_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR03[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR04[0].soma], weight: 1.0
h("a_MVR03[0].soma { syn_NC_MVR03_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR04[0].soma { syn_NC_MVR03_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR03_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR04[0].soma.v(0.5)")
h("setpointer syn_NC_MVR03_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR03[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR04_MVR03_Generic_GJ
print("Adding electrical projection: NC_MVR04_MVR03_Generic_GJ from MVR04 to MVR03, with 1 connection(s)")
h("objectvar syn_NC_MVR04_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR04_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR04[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR03[0].soma], weight: 1.0
h("a_MVR04[0].soma { syn_NC_MVR04_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR03[0].soma { syn_NC_MVR04_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR04_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR03[0].soma.v(0.5)")
h("setpointer syn_NC_MVR04_MVR03_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR04[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR04_MVR05_Generic_GJ
print("Adding electrical projection: NC_MVR04_MVR05_Generic_GJ from MVR04 to MVR05, with 1 connection(s)")
h("objectvar syn_NC_MVR04_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR04_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR04[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR05[0].soma], weight: 1.0
h("a_MVR04[0].soma { syn_NC_MVR04_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR05[0].soma { syn_NC_MVR04_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR04_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR05[0].soma.v(0.5)")
h("setpointer syn_NC_MVR04_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR04[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR05_MVR04_Generic_GJ
print("Adding electrical projection: NC_MVR05_MVR04_Generic_GJ from MVR05 to MVR04, with 1 connection(s)")
h("objectvar syn_NC_MVR05_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR05_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR05[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR04[0].soma], weight: 1.0
h("a_MVR05[0].soma { syn_NC_MVR05_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR04[0].soma { syn_NC_MVR05_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR05_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR04[0].soma.v(0.5)")
h("setpointer syn_NC_MVR05_MVR04_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR05[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR05_MVR06_Generic_GJ
print("Adding electrical projection: NC_MVR05_MVR06_Generic_GJ from MVR05 to MVR06, with 1 connection(s)")
h("objectvar syn_NC_MVR05_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR05_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR05[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR06[0].soma], weight: 1.0
h("a_MVR05[0].soma { syn_NC_MVR05_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR06[0].soma { syn_NC_MVR05_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR05_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR06[0].soma.v(0.5)")
h("setpointer syn_NC_MVR05_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR05[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR06_MVR05_Generic_GJ
print("Adding electrical projection: NC_MVR06_MVR05_Generic_GJ from MVR06 to MVR05, with 1 connection(s)")
h("objectvar syn_NC_MVR06_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR06_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR06[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR05[0].soma], weight: 1.0
h("a_MVR06[0].soma { syn_NC_MVR06_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR05[0].soma { syn_NC_MVR06_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR06_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR05[0].soma.v(0.5)")
h("setpointer syn_NC_MVR06_MVR05_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR06[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR06_MVR07_Generic_GJ
print("Adding electrical projection: NC_MVR06_MVR07_Generic_GJ from MVR06 to MVR07, with 1 connection(s)")
h("objectvar syn_NC_MVR06_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR06_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR06[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR07[0].soma], weight: 1.0
h("a_MVR06[0].soma { syn_NC_MVR06_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR07[0].soma { syn_NC_MVR06_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR06_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR07[0].soma.v(0.5)")
h("setpointer syn_NC_MVR06_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR06[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR07_MVR06_Generic_GJ
print("Adding electrical projection: NC_MVR07_MVR06_Generic_GJ from MVR07 to MVR06, with 1 connection(s)")
h("objectvar syn_NC_MVR07_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR07_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR07[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR06[0].soma], weight: 1.0
h("a_MVR07[0].soma { syn_NC_MVR07_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR06[0].soma { syn_NC_MVR07_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR07_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR06[0].soma.v(0.5)")
h("setpointer syn_NC_MVR07_MVR06_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR07[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR07_MVR08_Generic_GJ
print("Adding electrical projection: NC_MVR07_MVR08_Generic_GJ from MVR07 to MVR08, with 1 connection(s)")
h("objectvar syn_NC_MVR07_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR07_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR07[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR08[0].soma], weight: 1.0
h("a_MVR07[0].soma { syn_NC_MVR07_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR08[0].soma { syn_NC_MVR07_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR07_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR08[0].soma.v(0.5)")
h("setpointer syn_NC_MVR07_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR07[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR08_MVL09_Generic_GJ
print("Adding electrical projection: NC_MVR08_MVL09_Generic_GJ from MVR08 to MVL09, with 1 connection(s)")
h("objectvar syn_NC_MVR08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_2conns_A[1]")
h("objectvar syn_NC_MVR08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_2conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR08[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVL09[0].soma], weight: 1.0
h("a_MVR08[0].soma { syn_NC_MVR08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_2conns_A[0] = new muscle_to_muscle_elec_syn_2conns(0.5) }")
h("a_MVL09[0].soma { syn_NC_MVR08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_2conns_B[0] = new muscle_to_muscle_elec_syn_2conns(0.5) }")
h("setpointer syn_NC_MVR08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_2conns_A[0].vpeer, a_MVL09[0].soma.v(0.5)")
h("setpointer syn_NC_MVR08_MVL09_Generic_GJ_muscle_to_muscle_elec_syn_2conns_B[0].vpeer, a_MVR08[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR08_MVR07_Generic_GJ
print("Adding electrical projection: NC_MVR08_MVR07_Generic_GJ from MVR08 to MVR07, with 1 connection(s)")
h("objectvar syn_NC_MVR08_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR08_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR08[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR07[0].soma], weight: 1.0
h("a_MVR08[0].soma { syn_NC_MVR08_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR07[0].soma { syn_NC_MVR08_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR08_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR07[0].soma.v(0.5)")
h("setpointer syn_NC_MVR08_MVR07_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR08[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR08_MVR09_Generic_GJ
print("Adding electrical projection: NC_MVR08_MVR09_Generic_GJ from MVR08 to MVR09, with 1 connection(s)")
h("objectvar syn_NC_MVR08_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR08_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR08[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR09[0].soma], weight: 1.0
h("a_MVR08[0].soma { syn_NC_MVR08_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR09[0].soma { syn_NC_MVR08_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR08_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR09[0].soma.v(0.5)")
h("setpointer syn_NC_MVR08_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR08[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR09_MVR08_Generic_GJ
print("Adding electrical projection: NC_MVR09_MVR08_Generic_GJ from MVR09 to MVR08, with 1 connection(s)")
h("objectvar syn_NC_MVR09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR09[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR08[0].soma], weight: 1.0
h("a_MVR09[0].soma { syn_NC_MVR09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR08[0].soma { syn_NC_MVR09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR08[0].soma.v(0.5)")
h("setpointer syn_NC_MVR09_MVR08_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR09[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR09_MVR10_Generic_GJ
print("Adding electrical projection: NC_MVR09_MVR10_Generic_GJ from MVR09 to MVR10, with 1 connection(s)")
h("objectvar syn_NC_MVR09_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR09_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR09[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR10[0].soma], weight: 1.0
h("a_MVR09[0].soma { syn_NC_MVR09_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR10[0].soma { syn_NC_MVR09_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR09_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR10[0].soma.v(0.5)")
h("setpointer syn_NC_MVR09_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR09[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR10_MVR09_Generic_GJ
print("Adding electrical projection: NC_MVR10_MVR09_Generic_GJ from MVR10 to MVR09, with 1 connection(s)")
h("objectvar syn_NC_MVR10_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR10_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR10[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR09[0].soma], weight: 1.0
h("a_MVR10[0].soma { syn_NC_MVR10_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR09[0].soma { syn_NC_MVR10_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR10_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR09[0].soma.v(0.5)")
h("setpointer syn_NC_MVR10_MVR09_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR10[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR10_MVR11_Generic_GJ
print("Adding electrical projection: NC_MVR10_MVR11_Generic_GJ from MVR10 to MVR11, with 1 connection(s)")
h("objectvar syn_NC_MVR10_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR10_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR10[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR11[0].soma], weight: 1.0
h("a_MVR10[0].soma { syn_NC_MVR10_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR11[0].soma { syn_NC_MVR10_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR10_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR11[0].soma.v(0.5)")
h("setpointer syn_NC_MVR10_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR10[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR11_MVR10_Generic_GJ
print("Adding electrical projection: NC_MVR11_MVR10_Generic_GJ from MVR11 to MVR10, with 1 connection(s)")
h("objectvar syn_NC_MVR11_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR11_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR11[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR10[0].soma], weight: 1.0
h("a_MVR11[0].soma { syn_NC_MVR11_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR10[0].soma { syn_NC_MVR11_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR11_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR10[0].soma.v(0.5)")
h("setpointer syn_NC_MVR11_MVR10_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR11[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR11_MVR12_Generic_GJ
print("Adding electrical projection: NC_MVR11_MVR12_Generic_GJ from MVR11 to MVR12, with 1 connection(s)")
h("objectvar syn_NC_MVR11_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR11_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR11[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR12[0].soma], weight: 1.0
h("a_MVR11[0].soma { syn_NC_MVR11_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR12[0].soma { syn_NC_MVR11_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR11_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR12[0].soma.v(0.5)")
h("setpointer syn_NC_MVR11_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR11[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR12_MVR11_Generic_GJ
print("Adding electrical projection: NC_MVR12_MVR11_Generic_GJ from MVR12 to MVR11, with 1 connection(s)")
h("objectvar syn_NC_MVR12_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR12_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR12[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR11[0].soma], weight: 1.0
h("a_MVR12[0].soma { syn_NC_MVR12_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR11[0].soma { syn_NC_MVR12_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR12_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR11[0].soma.v(0.5)")
h("setpointer syn_NC_MVR12_MVR11_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR12[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR12_MVR13_Generic_GJ
print("Adding electrical projection: NC_MVR12_MVR13_Generic_GJ from MVR12 to MVR13, with 1 connection(s)")
h("objectvar syn_NC_MVR12_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR12_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR12[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR13[0].soma], weight: 1.0
h("a_MVR12[0].soma { syn_NC_MVR12_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR13[0].soma { syn_NC_MVR12_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR12_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR13[0].soma.v(0.5)")
h("setpointer syn_NC_MVR12_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR12[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR13_MVR12_Generic_GJ
print("Adding electrical projection: NC_MVR13_MVR12_Generic_GJ from MVR13 to MVR12, with 1 connection(s)")
h("objectvar syn_NC_MVR13_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR13_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR13[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR12[0].soma], weight: 1.0
h("a_MVR13[0].soma { syn_NC_MVR13_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR12[0].soma { syn_NC_MVR13_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR13_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR12[0].soma.v(0.5)")
h("setpointer syn_NC_MVR13_MVR12_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR13[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR13_MVR14_Generic_GJ
print("Adding electrical projection: NC_MVR13_MVR14_Generic_GJ from MVR13 to MVR14, with 1 connection(s)")
h("objectvar syn_NC_MVR13_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR13_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR13[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR14[0].soma], weight: 1.0
h("a_MVR13[0].soma { syn_NC_MVR13_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR14[0].soma { syn_NC_MVR13_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR13_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR14[0].soma.v(0.5)")
h("setpointer syn_NC_MVR13_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR13[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR14_MVR13_Generic_GJ
print("Adding electrical projection: NC_MVR14_MVR13_Generic_GJ from MVR14 to MVR13, with 1 connection(s)")
h("objectvar syn_NC_MVR14_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR14_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR14[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR13[0].soma], weight: 1.0
h("a_MVR14[0].soma { syn_NC_MVR14_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR13[0].soma { syn_NC_MVR14_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR14_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR13[0].soma.v(0.5)")
h("setpointer syn_NC_MVR14_MVR13_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR14[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR14_MVR15_Generic_GJ
print("Adding electrical projection: NC_MVR14_MVR15_Generic_GJ from MVR14 to MVR15, with 1 connection(s)")
h("objectvar syn_NC_MVR14_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR14_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR14[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR15[0].soma], weight: 1.0
h("a_MVR14[0].soma { syn_NC_MVR14_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR15[0].soma { syn_NC_MVR14_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR14_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR15[0].soma.v(0.5)")
h("setpointer syn_NC_MVR14_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR14[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR15_MVR14_Generic_GJ
print("Adding electrical projection: NC_MVR15_MVR14_Generic_GJ from MVR15 to MVR14, with 1 connection(s)")
h("objectvar syn_NC_MVR15_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR15_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR15[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR14[0].soma], weight: 1.0
h("a_MVR15[0].soma { syn_NC_MVR15_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR14[0].soma { syn_NC_MVR15_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR15_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR14[0].soma.v(0.5)")
h("setpointer syn_NC_MVR15_MVR14_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR15[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR15_MVR16_Generic_GJ
print("Adding electrical projection: NC_MVR15_MVR16_Generic_GJ from MVR15 to MVR16, with 1 connection(s)")
h("objectvar syn_NC_MVR15_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR15_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR15[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR16[0].soma], weight: 1.0
h("a_MVR15[0].soma { syn_NC_MVR15_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR16[0].soma { syn_NC_MVR15_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR15_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR16[0].soma.v(0.5)")
h("setpointer syn_NC_MVR15_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR15[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR16_MVR15_Generic_GJ
print("Adding electrical projection: NC_MVR16_MVR15_Generic_GJ from MVR16 to MVR15, with 1 connection(s)")
h("objectvar syn_NC_MVR16_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR16_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR16[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR15[0].soma], weight: 1.0
h("a_MVR16[0].soma { syn_NC_MVR16_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR15[0].soma { syn_NC_MVR16_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR16_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR15[0].soma.v(0.5)")
h("setpointer syn_NC_MVR16_MVR15_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR16[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR16_MVR17_Generic_GJ
print("Adding electrical projection: NC_MVR16_MVR17_Generic_GJ from MVR16 to MVR17, with 1 connection(s)")
h("objectvar syn_NC_MVR16_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR16_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR16[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR17[0].soma], weight: 1.0
h("a_MVR16[0].soma { syn_NC_MVR16_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR17[0].soma { syn_NC_MVR16_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR16_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR17[0].soma.v(0.5)")
h("setpointer syn_NC_MVR16_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR16[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR17_MVR16_Generic_GJ
print("Adding electrical projection: NC_MVR17_MVR16_Generic_GJ from MVR17 to MVR16, with 1 connection(s)")
h("objectvar syn_NC_MVR17_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR17_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR17[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR16[0].soma], weight: 1.0
h("a_MVR17[0].soma { syn_NC_MVR17_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR16[0].soma { syn_NC_MVR17_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR17_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR16[0].soma.v(0.5)")
h("setpointer syn_NC_MVR17_MVR16_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR17[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR17_MVR18_Generic_GJ
print("Adding electrical projection: NC_MVR17_MVR18_Generic_GJ from MVR17 to MVR18, with 1 connection(s)")
h("objectvar syn_NC_MVR17_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR17_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR17[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR18[0].soma], weight: 1.0
h("a_MVR17[0].soma { syn_NC_MVR17_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR18[0].soma { syn_NC_MVR17_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR17_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR18[0].soma.v(0.5)")
h("setpointer syn_NC_MVR17_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR17[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR18_MVR17_Generic_GJ
print("Adding electrical projection: NC_MVR18_MVR17_Generic_GJ from MVR18 to MVR17, with 1 connection(s)")
h("objectvar syn_NC_MVR18_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR18_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR18[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR17[0].soma], weight: 1.0
h("a_MVR18[0].soma { syn_NC_MVR18_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR17[0].soma { syn_NC_MVR18_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR18_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR17[0].soma.v(0.5)")
h("setpointer syn_NC_MVR18_MVR17_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR18[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR18_MVR19_Generic_GJ
print("Adding electrical projection: NC_MVR18_MVR19_Generic_GJ from MVR18 to MVR19, with 1 connection(s)")
h("objectvar syn_NC_MVR18_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR18_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR18[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR19[0].soma], weight: 1.0
h("a_MVR18[0].soma { syn_NC_MVR18_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR19[0].soma { syn_NC_MVR18_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR18_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR19[0].soma.v(0.5)")
h("setpointer syn_NC_MVR18_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR18[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR19_MVR18_Generic_GJ
print("Adding electrical projection: NC_MVR19_MVR18_Generic_GJ from MVR19 to MVR18, with 1 connection(s)")
h("objectvar syn_NC_MVR19_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR19_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR19[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR18[0].soma], weight: 1.0
h("a_MVR19[0].soma { syn_NC_MVR19_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR18[0].soma { syn_NC_MVR19_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR19_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR18[0].soma.v(0.5)")
h("setpointer syn_NC_MVR19_MVR18_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR19[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR19_MVR20_Generic_GJ
print("Adding electrical projection: NC_MVR19_MVR20_Generic_GJ from MVR19 to MVR20, with 1 connection(s)")
h("objectvar syn_NC_MVR19_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR19_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR19[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR20[0].soma], weight: 1.0
h("a_MVR19[0].soma { syn_NC_MVR19_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR20[0].soma { syn_NC_MVR19_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR19_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR20[0].soma.v(0.5)")
h("setpointer syn_NC_MVR19_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR19[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR20_MVR19_Generic_GJ
print("Adding electrical projection: NC_MVR20_MVR19_Generic_GJ from MVR20 to MVR19, with 1 connection(s)")
h("objectvar syn_NC_MVR20_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR20_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR20[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR19[0].soma], weight: 1.0
h("a_MVR20[0].soma { syn_NC_MVR20_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR19[0].soma { syn_NC_MVR20_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR20_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR19[0].soma.v(0.5)")
h("setpointer syn_NC_MVR20_MVR19_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR20[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR20_MVR21_Generic_GJ
print("Adding electrical projection: NC_MVR20_MVR21_Generic_GJ from MVR20 to MVR21, with 1 connection(s)")
h("objectvar syn_NC_MVR20_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR20_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR20[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR21[0].soma], weight: 1.0
h("a_MVR20[0].soma { syn_NC_MVR20_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR21[0].soma { syn_NC_MVR20_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR20_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR21[0].soma.v(0.5)")
h("setpointer syn_NC_MVR20_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR20[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR21_MVR20_Generic_GJ
print("Adding electrical projection: NC_MVR21_MVR20_Generic_GJ from MVR21 to MVR20, with 1 connection(s)")
h("objectvar syn_NC_MVR21_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR21_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR21[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR20[0].soma], weight: 1.0
h("a_MVR21[0].soma { syn_NC_MVR21_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR20[0].soma { syn_NC_MVR21_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR21_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR20[0].soma.v(0.5)")
h("setpointer syn_NC_MVR21_MVR20_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR21[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR21_MVR22_Generic_GJ
print("Adding electrical projection: NC_MVR21_MVR22_Generic_GJ from MVR21 to MVR22, with 1 connection(s)")
h("objectvar syn_NC_MVR21_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR21_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR21[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR22[0].soma], weight: 1.0
h("a_MVR21[0].soma { syn_NC_MVR21_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR22[0].soma { syn_NC_MVR21_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR21_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR22[0].soma.v(0.5)")
h("setpointer syn_NC_MVR21_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR21[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR22_MVR21_Generic_GJ
print("Adding electrical projection: NC_MVR22_MVR21_Generic_GJ from MVR22 to MVR21, with 1 connection(s)")
h("objectvar syn_NC_MVR22_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR22_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR22[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR21[0].soma], weight: 1.0
h("a_MVR22[0].soma { syn_NC_MVR22_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR21[0].soma { syn_NC_MVR22_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR22_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR21[0].soma.v(0.5)")
h("setpointer syn_NC_MVR22_MVR21_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR22[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR22_MVR23_Generic_GJ
print("Adding electrical projection: NC_MVR22_MVR23_Generic_GJ from MVR22 to MVR23, with 1 connection(s)")
h("objectvar syn_NC_MVR22_MVR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR22_MVR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR22[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR23[0].soma], weight: 1.0
h("a_MVR22[0].soma { syn_NC_MVR22_MVR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR23[0].soma { syn_NC_MVR22_MVR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR22_MVR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR23[0].soma.v(0.5)")
h("setpointer syn_NC_MVR22_MVR23_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR22[0].soma.v(0.5)")
# ###################### Electrical Projection: NC_MVR23_MVR22_Generic_GJ
print("Adding electrical projection: NC_MVR23_MVR22_Generic_GJ from MVR23 to MVR22, with 1 connection(s)")
h("objectvar syn_NC_MVR23_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[1]")
h("objectvar syn_NC_MVR23_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[1]")
# Elect Connection 0: cell 0, seg 0 (0.5) [0.5 on a_MVR23[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MVR22[0].soma], weight: 1.0
h("a_MVR23[0].soma { syn_NC_MVR23_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("a_MVR22[0].soma { syn_NC_MVR23_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0] = new muscle_to_muscle_elec_syn_15conns(0.5) }")
h("setpointer syn_NC_MVR23_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_A[0].vpeer, a_MVR22[0].soma.v(0.5)")
h("setpointer syn_NC_MVR23_MVR22_Generic_GJ_muscle_to_muscle_elec_syn_15conns_B[0].vpeer, a_MVR23[0].soma.v(0.5)")
# ###################### Continuous Projection: NC_AVAL_AVBL_Acetylcholine
print("Adding continuous projection: NC_AVAL_AVBL_Acetylcholine from AVAL to AVBL, with 1 connection(s)")
h("objectvar syn_NC_AVAL_AVBL_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAL_AVBL_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_AVBL_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AVBL[0].soma { syn_NC_AVAL_AVBL_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0] = new neuron_to_neuron_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_AVAL_AVBL_Acetylcholine_silent_pre[0].vpeer, a_AVBL[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAL_AVBL_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0].vpeer, a_AVAL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAL_DA1_Acetylcholine
print("Adding continuous projection: NC_AVAL_DA1_Acetylcholine from AVAL to DA1, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA1_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAL_DA1_Acetylcholine_neuron_to_neuron_exc_syn_6conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA1_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA1[0].soma { syn_NC_AVAL_DA1_Acetylcholine_neuron_to_neuron_exc_syn_6conns_post[0] = new neuron_to_neuron_exc_syn_6conns(0.500000) }")
h("setpointer syn_NC_AVAL_DA1_Acetylcholine_silent_pre[0].vpeer, a_DA1[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAL_DA1_Acetylcholine_neuron_to_neuron_exc_syn_6conns_post[0].vpeer, a_AVAL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAL_DA2_Acetylcholine
print("Adding continuous projection: NC_AVAL_DA2_Acetylcholine from AVAL to DA2, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA2_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAL_DA2_Acetylcholine_neuron_to_neuron_exc_syn_10conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA2_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA2[0].soma { syn_NC_AVAL_DA2_Acetylcholine_neuron_to_neuron_exc_syn_10conns_post[0] = new neuron_to_neuron_exc_syn_10conns(0.500000) }")
h("setpointer syn_NC_AVAL_DA2_Acetylcholine_silent_pre[0].vpeer, a_DA2[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAL_DA2_Acetylcholine_neuron_to_neuron_exc_syn_10conns_post[0].vpeer, a_AVAL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAL_DA3_Acetylcholine
print("Adding continuous projection: NC_AVAL_DA3_Acetylcholine from AVAL to DA3, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA3_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAL_DA3_Acetylcholine_neuron_to_neuron_exc_syn_12conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA3_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA3[0].soma { syn_NC_AVAL_DA3_Acetylcholine_neuron_to_neuron_exc_syn_12conns_post[0] = new neuron_to_neuron_exc_syn_12conns(0.500000) }")
h("setpointer syn_NC_AVAL_DA3_Acetylcholine_silent_pre[0].vpeer, a_DA3[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAL_DA3_Acetylcholine_neuron_to_neuron_exc_syn_12conns_post[0].vpeer, a_AVAL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAL_DA4_Acetylcholine
print("Adding continuous projection: NC_AVAL_DA4_Acetylcholine from AVAL to DA4, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA4_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAL_DA4_Acetylcholine_neuron_to_neuron_exc_syn_12conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA4_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA4[0].soma { syn_NC_AVAL_DA4_Acetylcholine_neuron_to_neuron_exc_syn_12conns_post[0] = new neuron_to_neuron_exc_syn_12conns(0.500000) }")
h("setpointer syn_NC_AVAL_DA4_Acetylcholine_silent_pre[0].vpeer, a_DA4[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAL_DA4_Acetylcholine_neuron_to_neuron_exc_syn_12conns_post[0].vpeer, a_AVAL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAL_DA5_Acetylcholine
print("Adding continuous projection: NC_AVAL_DA5_Acetylcholine from AVAL to DA5, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA5_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAL_DA5_Acetylcholine_neuron_to_neuron_exc_syn_14conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA5_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA5[0].soma { syn_NC_AVAL_DA5_Acetylcholine_neuron_to_neuron_exc_syn_14conns_post[0] = new neuron_to_neuron_exc_syn_14conns(0.500000) }")
h("setpointer syn_NC_AVAL_DA5_Acetylcholine_silent_pre[0].vpeer, a_DA5[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAL_DA5_Acetylcholine_neuron_to_neuron_exc_syn_14conns_post[0].vpeer, a_AVAL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAL_DA7_Acetylcholine
print("Adding continuous projection: NC_AVAL_DA7_Acetylcholine from AVAL to DA7, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA7_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAL_DA7_Acetylcholine_neuron_to_neuron_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA7_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA7[0].soma { syn_NC_AVAL_DA7_Acetylcholine_neuron_to_neuron_exc_syn_4conns_post[0] = new neuron_to_neuron_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_AVAL_DA7_Acetylcholine_silent_pre[0].vpeer, a_DA7[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAL_DA7_Acetylcholine_neuron_to_neuron_exc_syn_4conns_post[0].vpeer, a_AVAL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAL_DA8_Acetylcholine
print("Adding continuous projection: NC_AVAL_DA8_Acetylcholine from AVAL to DA8, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA8_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAL_DA8_Acetylcholine_neuron_to_neuron_exc_syn_5conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA8_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA8[0].soma { syn_NC_AVAL_DA8_Acetylcholine_neuron_to_neuron_exc_syn_5conns_post[0] = new neuron_to_neuron_exc_syn_5conns(0.500000) }")
h("setpointer syn_NC_AVAL_DA8_Acetylcholine_silent_pre[0].vpeer, a_DA8[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAL_DA8_Acetylcholine_neuron_to_neuron_exc_syn_5conns_post[0].vpeer, a_AVAL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAL_DA9_Acetylcholine
print("Adding continuous projection: NC_AVAL_DA9_Acetylcholine from AVAL to DA9, with 1 connection(s)")
h("objectvar syn_NC_AVAL_DA9_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAL_DA9_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma], weight: 1.0
h("a_AVAL[0].soma { syn_NC_AVAL_DA9_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA9[0].soma { syn_NC_AVAL_DA9_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0] = new neuron_to_neuron_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_AVAL_DA9_Acetylcholine_silent_pre[0].vpeer, a_DA9[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAL_DA9_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0].vpeer, a_AVAL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_AVBL_Acetylcholine
print("Adding continuous projection: NC_AVAR_AVBL_Acetylcholine from AVAR to AVBL, with 1 connection(s)")
h("objectvar syn_NC_AVAR_AVBL_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_AVBL_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_AVBL_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AVBL[0].soma { syn_NC_AVAR_AVBL_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0] = new neuron_to_neuron_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_AVAR_AVBL_Acetylcholine_silent_pre[0].vpeer, a_AVBL[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_AVBL_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_AVBR_Acetylcholine
print("Adding continuous projection: NC_AVAR_AVBR_Acetylcholine from AVAR to AVBR, with 1 connection(s)")
h("objectvar syn_NC_AVAR_AVBR_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_AVBR_Acetylcholine_neuron_to_neuron_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_AVBR_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AVBR[0].soma { syn_NC_AVAR_AVBR_Acetylcholine_neuron_to_neuron_exc_syn_4conns_post[0] = new neuron_to_neuron_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_AVAR_AVBR_Acetylcholine_silent_pre[0].vpeer, a_AVBR[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_AVBR_Acetylcholine_neuron_to_neuron_exc_syn_4conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_DA1_Acetylcholine
print("Adding continuous projection: NC_AVAR_DA1_Acetylcholine from AVAR to DA1, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA1_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_DA1_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA1_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA1[0].soma { syn_NC_AVAR_DA1_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0] = new neuron_to_neuron_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_AVAR_DA1_Acetylcholine_silent_pre[0].vpeer, a_DA1[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_DA1_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_DA2_Acetylcholine
print("Adding continuous projection: NC_AVAR_DA2_Acetylcholine from AVAR to DA2, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA2_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_DA2_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA2_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA2[0].soma { syn_NC_AVAR_DA2_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[0] = new neuron_to_neuron_exc_syn_9conns(0.500000) }")
h("setpointer syn_NC_AVAR_DA2_Acetylcholine_silent_pre[0].vpeer, a_DA2[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_DA2_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_DA3_Acetylcholine
print("Adding continuous projection: NC_AVAR_DA3_Acetylcholine from AVAR to DA3, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA3_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_DA3_Acetylcholine_neuron_to_neuron_exc_syn_8conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA3_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA3[0].soma { syn_NC_AVAR_DA3_Acetylcholine_neuron_to_neuron_exc_syn_8conns_post[0] = new neuron_to_neuron_exc_syn_8conns(0.500000) }")
h("setpointer syn_NC_AVAR_DA3_Acetylcholine_silent_pre[0].vpeer, a_DA3[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_DA3_Acetylcholine_neuron_to_neuron_exc_syn_8conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_DA4_Acetylcholine
print("Adding continuous projection: NC_AVAR_DA4_Acetylcholine from AVAR to DA4, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA4_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_DA4_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA4_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA4[0].soma { syn_NC_AVAR_DA4_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[0] = new neuron_to_neuron_exc_syn_9conns(0.500000) }")
h("setpointer syn_NC_AVAR_DA4_Acetylcholine_silent_pre[0].vpeer, a_DA4[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_DA4_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_DA5_Acetylcholine
print("Adding continuous projection: NC_AVAR_DA5_Acetylcholine from AVAR to DA5, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA5_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_DA5_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA5_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA5[0].soma { syn_NC_AVAR_DA5_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[0] = new neuron_to_neuron_exc_syn_9conns(0.500000) }")
h("setpointer syn_NC_AVAR_DA5_Acetylcholine_silent_pre[0].vpeer, a_DA5[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_DA5_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_DA6_Acetylcholine
print("Adding continuous projection: NC_AVAR_DA6_Acetylcholine from AVAR to DA6, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA6_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_DA6_Acetylcholine_neuron_to_neuron_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA6_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA6[0].soma { syn_NC_AVAR_DA6_Acetylcholine_neuron_to_neuron_exc_syn_4conns_post[0] = new neuron_to_neuron_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_AVAR_DA6_Acetylcholine_silent_pre[0].vpeer, a_DA6[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_DA6_Acetylcholine_neuron_to_neuron_exc_syn_4conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_DA7_Acetylcholine
print("Adding continuous projection: NC_AVAR_DA7_Acetylcholine from AVAR to DA7, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA7_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_DA7_Acetylcholine_neuron_to_neuron_exc_syn_6conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA7_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA7[0].soma { syn_NC_AVAR_DA7_Acetylcholine_neuron_to_neuron_exc_syn_6conns_post[0] = new neuron_to_neuron_exc_syn_6conns(0.500000) }")
h("setpointer syn_NC_AVAR_DA7_Acetylcholine_silent_pre[0].vpeer, a_DA7[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_DA7_Acetylcholine_neuron_to_neuron_exc_syn_6conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_DA8_Acetylcholine
print("Adding continuous projection: NC_AVAR_DA8_Acetylcholine from AVAR to DA8, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA8_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_DA8_Acetylcholine_neuron_to_neuron_exc_syn_20conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA8_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA8[0].soma { syn_NC_AVAR_DA8_Acetylcholine_neuron_to_neuron_exc_syn_20conns_post[0] = new neuron_to_neuron_exc_syn_20conns(0.500000) }")
h("setpointer syn_NC_AVAR_DA8_Acetylcholine_silent_pre[0].vpeer, a_DA8[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_DA8_Acetylcholine_neuron_to_neuron_exc_syn_20conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVAR_DA9_Acetylcholine
print("Adding continuous projection: NC_AVAR_DA9_Acetylcholine from AVAR to DA9, with 1 connection(s)")
h("objectvar syn_NC_AVAR_DA9_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVAR_DA9_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma], weight: 1.0
h("a_AVAR[0].soma { syn_NC_AVAR_DA9_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA9[0].soma { syn_NC_AVAR_DA9_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0] = new neuron_to_neuron_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_AVAR_DA9_Acetylcholine_silent_pre[0].vpeer, a_DA9[0].soma.v(0.500000)")
h("setpointer syn_NC_AVAR_DA9_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0].vpeer, a_AVAR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVBL_AVAL_Acetylcholine
print("Adding continuous projection: NC_AVBL_AVAL_Acetylcholine from AVBL to AVAL, with 1 connection(s)")
h("objectvar syn_NC_AVBL_AVAL_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVBL_AVAL_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_AVBL[0].soma { syn_NC_AVBL_AVAL_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AVAL[0].soma { syn_NC_AVBL_AVAL_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[0] = new neuron_to_neuron_exc_syn_9conns(0.500000) }")
h("setpointer syn_NC_AVBL_AVAL_Acetylcholine_silent_pre[0].vpeer, a_AVAL[0].soma.v(0.500000)")
h("setpointer syn_NC_AVBL_AVAL_Acetylcholine_neuron_to_neuron_exc_syn_9conns_post[0].vpeer, a_AVBL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVBL_AVAR_Acetylcholine
print("Adding continuous projection: NC_AVBL_AVAR_Acetylcholine from AVBL to AVAR, with 1 connection(s)")
h("objectvar syn_NC_AVBL_AVAR_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVBL_AVAR_Acetylcholine_neuron_to_neuron_exc_syn_14conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBL[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_AVBL[0].soma { syn_NC_AVBL_AVAR_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AVAR[0].soma { syn_NC_AVBL_AVAR_Acetylcholine_neuron_to_neuron_exc_syn_14conns_post[0] = new neuron_to_neuron_exc_syn_14conns(0.500000) }")
h("setpointer syn_NC_AVBL_AVAR_Acetylcholine_silent_pre[0].vpeer, a_AVAR[0].soma.v(0.500000)")
h("setpointer syn_NC_AVBL_AVAR_Acetylcholine_neuron_to_neuron_exc_syn_14conns_post[0].vpeer, a_AVBL[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVBR_AVAL_Acetylcholine
print("Adding continuous projection: NC_AVBR_AVAL_Acetylcholine from AVBR to AVAL, with 1 connection(s)")
h("objectvar syn_NC_AVBR_AVAL_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVBR_AVAL_Acetylcholine_neuron_to_neuron_exc_syn_10conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAL[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_AVAL_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AVAL[0].soma { syn_NC_AVBR_AVAL_Acetylcholine_neuron_to_neuron_exc_syn_10conns_post[0] = new neuron_to_neuron_exc_syn_10conns(0.500000) }")
h("setpointer syn_NC_AVBR_AVAL_Acetylcholine_silent_pre[0].vpeer, a_AVAL[0].soma.v(0.500000)")
h("setpointer syn_NC_AVBR_AVAL_Acetylcholine_neuron_to_neuron_exc_syn_10conns_post[0].vpeer, a_AVBR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVBR_AVAR_Acetylcholine
print("Adding continuous projection: NC_AVBR_AVAR_Acetylcholine from AVBR to AVAR, with 1 connection(s)")
h("objectvar syn_NC_AVBR_AVAR_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVBR_AVAR_Acetylcholine_neuron_to_neuron_exc_syn_14conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AVAR[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_AVAR_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AVAR[0].soma { syn_NC_AVBR_AVAR_Acetylcholine_neuron_to_neuron_exc_syn_14conns_post[0] = new neuron_to_neuron_exc_syn_14conns(0.500000) }")
h("setpointer syn_NC_AVBR_AVAR_Acetylcholine_silent_pre[0].vpeer, a_AVAR[0].soma.v(0.500000)")
h("setpointer syn_NC_AVBR_AVAR_Acetylcholine_neuron_to_neuron_exc_syn_14conns_post[0].vpeer, a_AVBR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AVBR_DB4_Acetylcholine
print("Adding continuous projection: NC_AVBR_DB4_Acetylcholine from AVBR to DB4, with 1 connection(s)")
h("objectvar syn_NC_AVBR_DB4_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AVBR_DB4_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AVBR[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma], weight: 1.0
h("a_AVBR[0].soma { syn_NC_AVBR_DB4_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB4[0].soma { syn_NC_AVBR_DB4_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_AVBR_DB4_Acetylcholine_silent_pre[0].vpeer, a_DB4[0].soma.v(0.500000)")
h("setpointer syn_NC_AVBR_DB4_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_AVBR[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA1_DB1_Acetylcholine
print("Adding continuous projection: NC_DA1_DB1_Acetylcholine from DA1 to DB1, with 1 connection(s)")
h("objectvar syn_NC_DA1_DB1_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA1_DB1_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma], weight: 1.0
h("a_DA1[0].soma { syn_NC_DA1_DB1_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB1[0].soma { syn_NC_DA1_DB1_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA1_DB1_Acetylcholine_silent_pre[0].vpeer, a_DB1[0].soma.v(0.500000)")
h("setpointer syn_NC_DA1_DB1_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA2_DA3_Acetylcholine
print("Adding continuous projection: NC_DA2_DA3_Acetylcholine from DA2 to DA3, with 1 connection(s)")
h("objectvar syn_NC_DA2_DA3_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA2_DA3_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_DA3_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA3[0].soma { syn_NC_DA2_DA3_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA2_DA3_Acetylcholine_silent_pre[0].vpeer, a_DA3[0].soma.v(0.500000)")
h("setpointer syn_NC_DA2_DA3_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA2_DB1_Acetylcholine
print("Adding continuous projection: NC_DA2_DB1_Acetylcholine from DA2 to DB1, with 1 connection(s)")
h("objectvar syn_NC_DA2_DB1_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA2_DB1_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_DB1_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB1[0].soma { syn_NC_DA2_DB1_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA2_DB1_Acetylcholine_silent_pre[0].vpeer, a_DB1[0].soma.v(0.500000)")
h("setpointer syn_NC_DA2_DB1_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA3_DA4_Acetylcholine
print("Adding continuous projection: NC_DA3_DA4_Acetylcholine from DA3 to DA4, with 1 connection(s)")
h("objectvar syn_NC_DA3_DA4_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA3_DA4_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_DA4_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA4[0].soma { syn_NC_DA3_DA4_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0] = new neuron_to_neuron_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DA3_DA4_Acetylcholine_silent_pre[0].vpeer, a_DA4[0].soma.v(0.500000)")
h("setpointer syn_NC_DA3_DA4_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0].vpeer, a_DA3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA3_DB3_Acetylcholine
print("Adding continuous projection: NC_DA3_DB3_Acetylcholine from DA3 to DB3, with 1 connection(s)")
h("objectvar syn_NC_DA3_DB3_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA3_DB3_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_DB3_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB3[0].soma { syn_NC_DA3_DB3_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0] = new neuron_to_neuron_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DA3_DB3_Acetylcholine_silent_pre[0].vpeer, a_DB3[0].soma.v(0.500000)")
h("setpointer syn_NC_DA3_DB3_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0].vpeer, a_DA3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA4_DB2_Acetylcholine
print("Adding continuous projection: NC_DA4_DB2_Acetylcholine from DA4 to DB2, with 1 connection(s)")
h("objectvar syn_NC_DA4_DB2_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA4_DB2_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_DB2_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB2[0].soma { syn_NC_DA4_DB2_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0] = new neuron_to_neuron_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DA4_DB2_Acetylcholine_silent_pre[0].vpeer, a_DB2[0].soma.v(0.500000)")
h("setpointer syn_NC_DA4_DB2_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0].vpeer, a_DA4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA5_DA4_Acetylcholine
print("Adding continuous projection: NC_DA5_DA4_Acetylcholine from DA5 to DA4, with 1 connection(s)")
h("objectvar syn_NC_DA5_DA4_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA5_DA4_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_DA4_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA4[0].soma { syn_NC_DA5_DA4_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA5_DA4_Acetylcholine_silent_pre[0].vpeer, a_DA4[0].soma.v(0.500000)")
h("setpointer syn_NC_DA5_DA4_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA5_DB4_Acetylcholine
print("Adding continuous projection: NC_DA5_DB4_Acetylcholine from DA5 to DB4, with 1 connection(s)")
h("objectvar syn_NC_DA5_DB4_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA5_DB4_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_DB4_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB4[0].soma { syn_NC_DA5_DB4_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA5_DB4_Acetylcholine_silent_pre[0].vpeer, a_DB4[0].soma.v(0.500000)")
h("setpointer syn_NC_DA5_DB4_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_DA5_Acetylcholine
print("Adding continuous projection: NC_DA6_DA5_Acetylcholine from DA6 to DA5, with 1 connection(s)")
h("objectvar syn_NC_DA6_DA5_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_DA5_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_DA5_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA5[0].soma { syn_NC_DA6_DA5_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA6_DA5_Acetylcholine_silent_pre[0].vpeer, a_DA5[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_DA5_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_DB5_Acetylcholine
print("Adding continuous projection: NC_DA6_DB5_Acetylcholine from DA6 to DB5, with 1 connection(s)")
h("objectvar syn_NC_DA6_DB5_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_DB5_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_DB5_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB5[0].soma { syn_NC_DA6_DB5_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA6_DB5_Acetylcholine_silent_pre[0].vpeer, a_DB5[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_DB5_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_DA6_Acetylcholine
print("Adding continuous projection: NC_DA7_DA6_Acetylcholine from DA7 to DA6, with 1 connection(s)")
h("objectvar syn_NC_DA7_DA6_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_DA6_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_DA6_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA6[0].soma { syn_NC_DA7_DA6_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA7_DA6_Acetylcholine_silent_pre[0].vpeer, a_DA6[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_DA6_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_DB6_Acetylcholine
print("Adding continuous projection: NC_DA7_DB6_Acetylcholine from DA7 to DB6, with 1 connection(s)")
h("objectvar syn_NC_DA7_DB6_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_DB6_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_DB6_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB6[0].soma { syn_NC_DA7_DB6_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA7_DB6_Acetylcholine_silent_pre[0].vpeer, a_DB6[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_DB6_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_DA7_Acetylcholine
print("Adding continuous projection: NC_DA8_DA7_Acetylcholine from DA8 to DA7, with 1 connection(s)")
h("objectvar syn_NC_DA8_DA7_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_DA7_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_DA7_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA7[0].soma { syn_NC_DA8_DA7_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA8_DA7_Acetylcholine_silent_pre[0].vpeer, a_DA7[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_DA7_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_DB7_Acetylcholine
print("Adding continuous projection: NC_DA8_DB7_Acetylcholine from DA8 to DB7, with 1 connection(s)")
h("objectvar syn_NC_DA8_DB7_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_DB7_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_DB7_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB7[0].soma { syn_NC_DA8_DB7_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA8_DB7_Acetylcholine_silent_pre[0].vpeer, a_DB7[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_DB7_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_DA8_Acetylcholine
print("Adding continuous projection: NC_DA9_DA8_Acetylcholine from DA9 to DA8, with 1 connection(s)")
h("objectvar syn_NC_DA9_DA8_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_DA8_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_DA8_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA8[0].soma { syn_NC_DA9_DA8_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA9_DA8_Acetylcholine_silent_pre[0].vpeer, a_DA8[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_DA8_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_DB7_Acetylcholine
print("Adding continuous projection: NC_DA9_DB7_Acetylcholine from DA9 to DB7, with 1 connection(s)")
h("objectvar syn_NC_DA9_DB7_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_DB7_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_DB7_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DB7[0].soma { syn_NC_DA9_DB7_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA9_DB7_Acetylcholine_silent_pre[0].vpeer, a_DB7[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_DB7_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB1_AS1_Acetylcholine
print("Adding continuous projection: NC_DB1_AS1_Acetylcholine from DB1 to AS1, with 1 connection(s)")
h("objectvar syn_NC_DB1_AS1_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB1_AS1_Acetylcholine_neuron_to_neuron_inh_syn_28conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS1[0].soma], weight: 1.0
h("a_DB1[0].soma { syn_NC_DB1_AS1_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS1[0].soma { syn_NC_DB1_AS1_Acetylcholine_neuron_to_neuron_inh_syn_28conns_post[0] = new neuron_to_neuron_inh_syn_28conns(0.500000) }")
h("setpointer syn_NC_DB1_AS1_Acetylcholine_silent_pre[0].vpeer, a_AS1[0].soma.v(0.500000)")
h("setpointer syn_NC_DB1_AS1_Acetylcholine_neuron_to_neuron_inh_syn_28conns_post[0].vpeer, a_DB1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB1_AS2_Acetylcholine
print("Adding continuous projection: NC_DB1_AS2_Acetylcholine from DB1 to AS2, with 1 connection(s)")
h("objectvar syn_NC_DB1_AS2_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB1_AS2_Acetylcholine_neuron_to_neuron_inh_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS2[0].soma], weight: 1.0
h("a_DB1[0].soma { syn_NC_DB1_AS2_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS2[0].soma { syn_NC_DB1_AS2_Acetylcholine_neuron_to_neuron_inh_syn_4conns_post[0] = new neuron_to_neuron_inh_syn_4conns(0.500000) }")
h("setpointer syn_NC_DB1_AS2_Acetylcholine_silent_pre[0].vpeer, a_AS2[0].soma.v(0.500000)")
h("setpointer syn_NC_DB1_AS2_Acetylcholine_neuron_to_neuron_inh_syn_4conns_post[0].vpeer, a_DB1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB2_AS3_Acetylcholine
print("Adding continuous projection: NC_DB2_AS3_Acetylcholine from DB2 to AS3, with 1 connection(s)")
h("objectvar syn_NC_DB2_AS3_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB2_AS3_Acetylcholine_neuron_to_neuron_inh_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS3[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_AS3_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS3[0].soma { syn_NC_DB2_AS3_Acetylcholine_neuron_to_neuron_inh_syn_3conns_post[0] = new neuron_to_neuron_inh_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB2_AS3_Acetylcholine_silent_pre[0].vpeer, a_AS3[0].soma.v(0.500000)")
h("setpointer syn_NC_DB2_AS3_Acetylcholine_neuron_to_neuron_inh_syn_3conns_post[0].vpeer, a_DB2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB2_AS4_Acetylcholine
print("Adding continuous projection: NC_DB2_AS4_Acetylcholine from DB2 to AS4, with 1 connection(s)")
h("objectvar syn_NC_DB2_AS4_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB2_AS4_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS4[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_AS4_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS4[0].soma { syn_NC_DB2_AS4_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0] = new neuron_to_neuron_inh_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB2_AS4_Acetylcholine_silent_pre[0].vpeer, a_AS4[0].soma.v(0.500000)")
h("setpointer syn_NC_DB2_AS4_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0].vpeer, a_DB2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB3_AS4_Acetylcholine
print("Adding continuous projection: NC_DB3_AS4_Acetylcholine from DB3 to AS4, with 1 connection(s)")
h("objectvar syn_NC_DB3_AS4_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB3_AS4_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS4[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_AS4_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS4[0].soma { syn_NC_DB3_AS4_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0] = new neuron_to_neuron_inh_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB3_AS4_Acetylcholine_silent_pre[0].vpeer, a_AS4[0].soma.v(0.500000)")
h("setpointer syn_NC_DB3_AS4_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0].vpeer, a_DB3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB3_AS5_Acetylcholine
print("Adding continuous projection: NC_DB3_AS5_Acetylcholine from DB3 to AS5, with 1 connection(s)")
h("objectvar syn_NC_DB3_AS5_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB3_AS5_Acetylcholine_neuron_to_neuron_inh_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS5[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_AS5_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS5[0].soma { syn_NC_DB3_AS5_Acetylcholine_neuron_to_neuron_inh_syn_1conns_post[0] = new neuron_to_neuron_inh_syn_1conns(0.500000) }")
h("setpointer syn_NC_DB3_AS5_Acetylcholine_silent_pre[0].vpeer, a_AS5[0].soma.v(0.500000)")
h("setpointer syn_NC_DB3_AS5_Acetylcholine_neuron_to_neuron_inh_syn_1conns_post[0].vpeer, a_DB3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB4_AS6_Acetylcholine
print("Adding continuous projection: NC_DB4_AS6_Acetylcholine from DB4 to AS6, with 1 connection(s)")
h("objectvar syn_NC_DB4_AS6_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB4_AS6_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS6[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_AS6_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS6[0].soma { syn_NC_DB4_AS6_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0] = new neuron_to_neuron_inh_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB4_AS6_Acetylcholine_silent_pre[0].vpeer, a_AS6[0].soma.v(0.500000)")
h("setpointer syn_NC_DB4_AS6_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0].vpeer, a_DB4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_AS7_Acetylcholine
print("Adding continuous projection: NC_DB5_AS7_Acetylcholine from DB5 to AS7, with 1 connection(s)")
h("objectvar syn_NC_DB5_AS7_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_AS7_Acetylcholine_neuron_to_neuron_inh_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS7[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_AS7_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS7[0].soma { syn_NC_DB5_AS7_Acetylcholine_neuron_to_neuron_inh_syn_3conns_post[0] = new neuron_to_neuron_inh_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB5_AS7_Acetylcholine_silent_pre[0].vpeer, a_AS7[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_AS7_Acetylcholine_neuron_to_neuron_inh_syn_3conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_AS8_Acetylcholine
print("Adding continuous projection: NC_DB5_AS8_Acetylcholine from DB5 to AS8, with 1 connection(s)")
h("objectvar syn_NC_DB5_AS8_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_AS8_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS8[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_AS8_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS8[0].soma { syn_NC_DB5_AS8_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0] = new neuron_to_neuron_inh_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_AS8_Acetylcholine_silent_pre[0].vpeer, a_AS8[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_AS8_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_AS8_Acetylcholine
print("Adding continuous projection: NC_DB6_AS8_Acetylcholine from DB6 to AS8, with 1 connection(s)")
h("objectvar syn_NC_DB6_AS8_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_AS8_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS8[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_AS8_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS8[0].soma { syn_NC_DB6_AS8_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0] = new neuron_to_neuron_inh_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_AS8_Acetylcholine_silent_pre[0].vpeer, a_AS8[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_AS8_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_AS9_Acetylcholine
print("Adding continuous projection: NC_DB6_AS9_Acetylcholine from DB6 to AS9, with 1 connection(s)")
h("objectvar syn_NC_DB6_AS9_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_AS9_Acetylcholine_neuron_to_neuron_inh_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS9[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_AS9_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS9[0].soma { syn_NC_DB6_AS9_Acetylcholine_neuron_to_neuron_inh_syn_1conns_post[0] = new neuron_to_neuron_inh_syn_1conns(0.500000) }")
h("setpointer syn_NC_DB6_AS9_Acetylcholine_silent_pre[0].vpeer, a_AS9[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_AS9_Acetylcholine_neuron_to_neuron_inh_syn_1conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_AS10_Acetylcholine
print("Adding continuous projection: NC_DB7_AS10_Acetylcholine from DB7 to AS10, with 1 connection(s)")
h("objectvar syn_NC_DB7_AS10_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_AS10_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS10[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_AS10_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS10[0].soma { syn_NC_DB7_AS10_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0] = new neuron_to_neuron_inh_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_AS10_Acetylcholine_silent_pre[0].vpeer, a_AS10[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_AS10_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_AS11_Acetylcholine
print("Adding continuous projection: NC_DB7_AS11_Acetylcholine from DB7 to AS11, with 1 connection(s)")
h("objectvar syn_NC_DB7_AS11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_AS11_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS11[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_AS11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS11[0].soma { syn_NC_DB7_AS11_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0] = new neuron_to_neuron_inh_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_AS11_Acetylcholine_silent_pre[0].vpeer, a_AS11[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_AS11_Acetylcholine_neuron_to_neuron_inh_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AS1_DA1_Acetylcholine
print("Adding continuous projection: NC_AS1_DA1_Acetylcholine from AS1 to DA1, with 1 connection(s)")
h("objectvar syn_NC_AS1_DA1_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AS1_DA1_Acetylcholine_neuron_to_neuron_exc_syn_8conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AS1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma], weight: 1.0
h("a_AS1[0].soma { syn_NC_AS1_DA1_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA1[0].soma { syn_NC_AS1_DA1_Acetylcholine_neuron_to_neuron_exc_syn_8conns_post[0] = new neuron_to_neuron_exc_syn_8conns(0.500000) }")
h("setpointer syn_NC_AS1_DA1_Acetylcholine_silent_pre[0].vpeer, a_DA1[0].soma.v(0.500000)")
h("setpointer syn_NC_AS1_DA1_Acetylcholine_neuron_to_neuron_exc_syn_8conns_post[0].vpeer, a_AS1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AS1_AS1_Acetylcholine
print("Adding continuous projection: NC_AS1_AS1_Acetylcholine from AS1 to AS1, with 1 connection(s)")
h("objectvar syn_NC_AS1_AS1_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AS1_AS1_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AS1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS1[0].soma], weight: 1.0
h("a_AS1[0].soma { syn_NC_AS1_AS1_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS1[0].soma { syn_NC_AS1_AS1_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0] = new neuron_to_neuron_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_AS1_AS1_Acetylcholine_silent_pre[0].vpeer, a_AS1[0].soma.v(0.500000)")
h("setpointer syn_NC_AS1_AS1_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0].vpeer, a_AS1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AS3_DA3_Acetylcholine
print("Adding continuous projection: NC_AS3_DA3_Acetylcholine from AS3 to DA3, with 1 connection(s)")
h("objectvar syn_NC_AS3_DA3_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AS3_DA3_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AS3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma], weight: 1.0
h("a_AS3[0].soma { syn_NC_AS3_DA3_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA3[0].soma { syn_NC_AS3_DA3_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_AS3_DA3_Acetylcholine_silent_pre[0].vpeer, a_DA3[0].soma.v(0.500000)")
h("setpointer syn_NC_AS3_DA3_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_AS3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AS4_DA3_Acetylcholine
print("Adding continuous projection: NC_AS4_DA3_Acetylcholine from AS4 to DA3, with 1 connection(s)")
h("objectvar syn_NC_AS4_DA3_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AS4_DA3_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AS4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma], weight: 1.0
h("a_AS4[0].soma { syn_NC_AS4_DA3_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA3[0].soma { syn_NC_AS4_DA3_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0] = new neuron_to_neuron_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_AS4_DA3_Acetylcholine_silent_pre[0].vpeer, a_DA3[0].soma.v(0.500000)")
h("setpointer syn_NC_AS4_DA3_Acetylcholine_neuron_to_neuron_exc_syn_2conns_post[0].vpeer, a_AS4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AS5_AS5_Acetylcholine
print("Adding continuous projection: NC_AS5_AS5_Acetylcholine from AS5 to AS5, with 1 connection(s)")
h("objectvar syn_NC_AS5_AS5_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AS5_AS5_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AS5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_AS5[0].soma], weight: 1.0
h("a_AS5[0].soma { syn_NC_AS5_AS5_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_AS5[0].soma { syn_NC_AS5_AS5_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0] = new neuron_to_neuron_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_AS5_AS5_Acetylcholine_silent_pre[0].vpeer, a_AS5[0].soma.v(0.500000)")
h("setpointer syn_NC_AS5_AS5_Acetylcholine_neuron_to_neuron_exc_syn_3conns_post[0].vpeer, a_AS5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_AS6_DA5_Acetylcholine
print("Adding continuous projection: NC_AS6_DA5_Acetylcholine from AS6 to DA5, with 1 connection(s)")
h("objectvar syn_NC_AS6_DA5_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_AS6_DA5_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_AS6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma], weight: 1.0
h("a_AS6[0].soma { syn_NC_AS6_DA5_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_DA5[0].soma { syn_NC_AS6_DA5_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0] = new neuron_to_neuron_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_AS6_DA5_Acetylcholine_silent_pre[0].vpeer, a_DA5[0].soma.v(0.500000)")
h("setpointer syn_NC_AS6_DA5_Acetylcholine_neuron_to_neuron_exc_syn_1conns_post[0].vpeer, a_AS6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA1_MDL06_Acetylcholine
print("Adding continuous projection: NC_DA1_MDL06_Acetylcholine from DA1 to MDL06, with 1 connection(s)")
h("objectvar syn_NC_DA1_MDL06_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA1_MDL06_Acetylcholine_neuron_to_muscle_exc_syn_9conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL06[0].soma], weight: 1.0
h("a_DA1[0].soma { syn_NC_DA1_MDL06_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL06[0].soma { syn_NC_DA1_MDL06_Acetylcholine_neuron_to_muscle_exc_syn_9conns_post[0] = new neuron_to_muscle_exc_syn_9conns(0.500000) }")
h("setpointer syn_NC_DA1_MDL06_Acetylcholine_silent_pre[0].vpeer, a_MDL06[0].soma.v(0.500000)")
h("setpointer syn_NC_DA1_MDL06_Acetylcholine_neuron_to_muscle_exc_syn_9conns_post[0].vpeer, a_DA1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA1_MDL07_Acetylcholine
print("Adding continuous projection: NC_DA1_MDL07_Acetylcholine from DA1 to MDL07, with 1 connection(s)")
h("objectvar syn_NC_DA1_MDL07_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA1_MDL07_Acetylcholine_neuron_to_muscle_exc_syn_8conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL07[0].soma], weight: 1.0
h("a_DA1[0].soma { syn_NC_DA1_MDL07_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL07[0].soma { syn_NC_DA1_MDL07_Acetylcholine_neuron_to_muscle_exc_syn_8conns_post[0] = new neuron_to_muscle_exc_syn_8conns(0.500000) }")
h("setpointer syn_NC_DA1_MDL07_Acetylcholine_silent_pre[0].vpeer, a_MDL07[0].soma.v(0.500000)")
h("setpointer syn_NC_DA1_MDL07_Acetylcholine_neuron_to_muscle_exc_syn_8conns_post[0].vpeer, a_DA1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA1_MDL08_Acetylcholine
print("Adding continuous projection: NC_DA1_MDL08_Acetylcholine from DA1 to MDL08, with 1 connection(s)")
h("objectvar syn_NC_DA1_MDL08_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA1_MDL08_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL08[0].soma], weight: 1.0
h("a_DA1[0].soma { syn_NC_DA1_MDL08_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL08[0].soma { syn_NC_DA1_MDL08_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA1_MDL08_Acetylcholine_silent_pre[0].vpeer, a_MDL08[0].soma.v(0.500000)")
h("setpointer syn_NC_DA1_MDL08_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA1_MDR06_Acetylcholine
print("Adding continuous projection: NC_DA1_MDR06_Acetylcholine from DA1 to MDR06, with 1 connection(s)")
h("objectvar syn_NC_DA1_MDR06_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA1_MDR06_Acetylcholine_neuron_to_muscle_exc_syn_8conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR06[0].soma], weight: 1.0
h("a_DA1[0].soma { syn_NC_DA1_MDR06_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR06[0].soma { syn_NC_DA1_MDR06_Acetylcholine_neuron_to_muscle_exc_syn_8conns_post[0] = new neuron_to_muscle_exc_syn_8conns(0.500000) }")
h("setpointer syn_NC_DA1_MDR06_Acetylcholine_silent_pre[0].vpeer, a_MDR06[0].soma.v(0.500000)")
h("setpointer syn_NC_DA1_MDR06_Acetylcholine_neuron_to_muscle_exc_syn_8conns_post[0].vpeer, a_DA1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA1_MDR07_Acetylcholine
print("Adding continuous projection: NC_DA1_MDR07_Acetylcholine from DA1 to MDR07, with 1 connection(s)")
h("objectvar syn_NC_DA1_MDR07_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA1_MDR07_Acetylcholine_neuron_to_muscle_exc_syn_9conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR07[0].soma], weight: 1.0
h("a_DA1[0].soma { syn_NC_DA1_MDR07_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR07[0].soma { syn_NC_DA1_MDR07_Acetylcholine_neuron_to_muscle_exc_syn_9conns_post[0] = new neuron_to_muscle_exc_syn_9conns(0.500000) }")
h("setpointer syn_NC_DA1_MDR07_Acetylcholine_silent_pre[0].vpeer, a_MDR07[0].soma.v(0.500000)")
h("setpointer syn_NC_DA1_MDR07_Acetylcholine_neuron_to_muscle_exc_syn_9conns_post[0].vpeer, a_DA1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA2_MDL07_Acetylcholine
print("Adding continuous projection: NC_DA2_MDL07_Acetylcholine from DA2 to MDL07, with 1 connection(s)")
h("objectvar syn_NC_DA2_MDL07_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA2_MDL07_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL07[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_MDL07_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL07[0].soma { syn_NC_DA2_MDL07_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA2_MDL07_Acetylcholine_silent_pre[0].vpeer, a_MDL07[0].soma.v(0.500000)")
h("setpointer syn_NC_DA2_MDL07_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DA2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA2_MDL08_Acetylcholine
print("Adding continuous projection: NC_DA2_MDL08_Acetylcholine from DA2 to MDL08, with 1 connection(s)")
h("objectvar syn_NC_DA2_MDL08_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA2_MDL08_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL08[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_MDL08_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL08[0].soma { syn_NC_DA2_MDL08_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0] = new neuron_to_muscle_exc_syn_5conns(0.500000) }")
h("setpointer syn_NC_DA2_MDL08_Acetylcholine_silent_pre[0].vpeer, a_MDL08[0].soma.v(0.500000)")
h("setpointer syn_NC_DA2_MDL08_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0].vpeer, a_DA2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA2_MDL09_Acetylcholine
print("Adding continuous projection: NC_DA2_MDL09_Acetylcholine from DA2 to MDL09, with 1 connection(s)")
h("objectvar syn_NC_DA2_MDL09_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA2_MDL09_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL09[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_MDL09_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL09[0].soma { syn_NC_DA2_MDL09_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA2_MDL09_Acetylcholine_silent_pre[0].vpeer, a_MDL09[0].soma.v(0.500000)")
h("setpointer syn_NC_DA2_MDL09_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA2_MDL10_Acetylcholine
print("Adding continuous projection: NC_DA2_MDL10_Acetylcholine from DA2 to MDL10, with 1 connection(s)")
h("objectvar syn_NC_DA2_MDL10_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA2_MDL10_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL10[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_MDL10_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL10[0].soma { syn_NC_DA2_MDL10_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DA2_MDL10_Acetylcholine_silent_pre[0].vpeer, a_MDL10[0].soma.v(0.500000)")
h("setpointer syn_NC_DA2_MDL10_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DA2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA2_MDR07_Acetylcholine
print("Adding continuous projection: NC_DA2_MDR07_Acetylcholine from DA2 to MDR07, with 1 connection(s)")
h("objectvar syn_NC_DA2_MDR07_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA2_MDR07_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR07[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_MDR07_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR07[0].soma { syn_NC_DA2_MDR07_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA2_MDR07_Acetylcholine_silent_pre[0].vpeer, a_MDR07[0].soma.v(0.500000)")
h("setpointer syn_NC_DA2_MDR07_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA2_MDR08_Acetylcholine
print("Adding continuous projection: NC_DA2_MDR08_Acetylcholine from DA2 to MDR08, with 1 connection(s)")
h("objectvar syn_NC_DA2_MDR08_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA2_MDR08_Acetylcholine_neuron_to_muscle_exc_syn_6conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR08[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_MDR08_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR08[0].soma { syn_NC_DA2_MDR08_Acetylcholine_neuron_to_muscle_exc_syn_6conns_post[0] = new neuron_to_muscle_exc_syn_6conns(0.500000) }")
h("setpointer syn_NC_DA2_MDR08_Acetylcholine_silent_pre[0].vpeer, a_MDR08[0].soma.v(0.500000)")
h("setpointer syn_NC_DA2_MDR08_Acetylcholine_neuron_to_muscle_exc_syn_6conns_post[0].vpeer, a_DA2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA2_MDR09_Acetylcholine
print("Adding continuous projection: NC_DA2_MDR09_Acetylcholine from DA2 to MDR09, with 1 connection(s)")
h("objectvar syn_NC_DA2_MDR09_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA2_MDR09_Acetylcholine_neuron_to_muscle_exc_syn_7conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR09[0].soma], weight: 1.0
h("a_DA2[0].soma { syn_NC_DA2_MDR09_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR09[0].soma { syn_NC_DA2_MDR09_Acetylcholine_neuron_to_muscle_exc_syn_7conns_post[0] = new neuron_to_muscle_exc_syn_7conns(0.500000) }")
h("setpointer syn_NC_DA2_MDR09_Acetylcholine_silent_pre[0].vpeer, a_MDR09[0].soma.v(0.500000)")
h("setpointer syn_NC_DA2_MDR09_Acetylcholine_neuron_to_muscle_exc_syn_7conns_post[0].vpeer, a_DA2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA3_MDL09_Acetylcholine
print("Adding continuous projection: NC_DA3_MDL09_Acetylcholine from DA3 to MDL09, with 1 connection(s)")
h("objectvar syn_NC_DA3_MDL09_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA3_MDL09_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL09[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_MDL09_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL09[0].soma { syn_NC_DA3_MDL09_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA3_MDL09_Acetylcholine_silent_pre[0].vpeer, a_MDL09[0].soma.v(0.500000)")
h("setpointer syn_NC_DA3_MDL09_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA3_MDL10_Acetylcholine
print("Adding continuous projection: NC_DA3_MDL10_Acetylcholine from DA3 to MDL10, with 1 connection(s)")
h("objectvar syn_NC_DA3_MDL10_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA3_MDL10_Acetylcholine_neuron_to_muscle_exc_syn_17conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL10[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_MDL10_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL10[0].soma { syn_NC_DA3_MDL10_Acetylcholine_neuron_to_muscle_exc_syn_17conns_post[0] = new neuron_to_muscle_exc_syn_17conns(0.500000) }")
h("setpointer syn_NC_DA3_MDL10_Acetylcholine_silent_pre[0].vpeer, a_MDL10[0].soma.v(0.500000)")
h("setpointer syn_NC_DA3_MDL10_Acetylcholine_neuron_to_muscle_exc_syn_17conns_post[0].vpeer, a_DA3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA3_MDL11_Acetylcholine
print("Adding continuous projection: NC_DA3_MDL11_Acetylcholine from DA3 to MDL11, with 1 connection(s)")
h("objectvar syn_NC_DA3_MDL11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA3_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_12conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL11[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_MDL11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL11[0].soma { syn_NC_DA3_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_12conns_post[0] = new neuron_to_muscle_exc_syn_12conns(0.500000) }")
h("setpointer syn_NC_DA3_MDL11_Acetylcholine_silent_pre[0].vpeer, a_MDL11[0].soma.v(0.500000)")
h("setpointer syn_NC_DA3_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_12conns_post[0].vpeer, a_DA3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA3_MDR09_Acetylcholine
print("Adding continuous projection: NC_DA3_MDR09_Acetylcholine from DA3 to MDR09, with 1 connection(s)")
h("objectvar syn_NC_DA3_MDR09_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA3_MDR09_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR09[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_MDR09_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR09[0].soma { syn_NC_DA3_MDR09_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA3_MDR09_Acetylcholine_silent_pre[0].vpeer, a_MDR09[0].soma.v(0.500000)")
h("setpointer syn_NC_DA3_MDR09_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA3_MDR10_Acetylcholine
print("Adding continuous projection: NC_DA3_MDR10_Acetylcholine from DA3 to MDR10, with 1 connection(s)")
h("objectvar syn_NC_DA3_MDR10_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA3_MDR10_Acetylcholine_neuron_to_muscle_exc_syn_14conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR10[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_MDR10_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR10[0].soma { syn_NC_DA3_MDR10_Acetylcholine_neuron_to_muscle_exc_syn_14conns_post[0] = new neuron_to_muscle_exc_syn_14conns(0.500000) }")
h("setpointer syn_NC_DA3_MDR10_Acetylcholine_silent_pre[0].vpeer, a_MDR10[0].soma.v(0.500000)")
h("setpointer syn_NC_DA3_MDR10_Acetylcholine_neuron_to_muscle_exc_syn_14conns_post[0].vpeer, a_DA3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA3_MDR11_Acetylcholine
print("Adding continuous projection: NC_DA3_MDR11_Acetylcholine from DA3 to MDR11, with 1 connection(s)")
h("objectvar syn_NC_DA3_MDR11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA3_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR11[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_MDR11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR11[0].soma { syn_NC_DA3_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA3_MDR11_Acetylcholine_silent_pre[0].vpeer, a_MDR11[0].soma.v(0.500000)")
h("setpointer syn_NC_DA3_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA3_MDR12_Acetylcholine
print("Adding continuous projection: NC_DA3_MDR12_Acetylcholine from DA3 to MDR12, with 1 connection(s)")
h("objectvar syn_NC_DA3_MDR12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA3_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR12[0].soma], weight: 1.0
h("a_DA3[0].soma { syn_NC_DA3_MDR12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR12[0].soma { syn_NC_DA3_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DA3_MDR12_Acetylcholine_silent_pre[0].vpeer, a_MDR12[0].soma.v(0.500000)")
h("setpointer syn_NC_DA3_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DA3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA4_MDL11_Acetylcholine
print("Adding continuous projection: NC_DA4_MDL11_Acetylcholine from DA4 to MDL11, with 1 connection(s)")
h("objectvar syn_NC_DA4_MDL11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA4_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_6conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL11[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_MDL11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL11[0].soma { syn_NC_DA4_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_6conns_post[0] = new neuron_to_muscle_exc_syn_6conns(0.500000) }")
h("setpointer syn_NC_DA4_MDL11_Acetylcholine_silent_pre[0].vpeer, a_MDL11[0].soma.v(0.500000)")
h("setpointer syn_NC_DA4_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_6conns_post[0].vpeer, a_DA4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA4_MDL12_Acetylcholine
print("Adding continuous projection: NC_DA4_MDL12_Acetylcholine from DA4 to MDL12, with 1 connection(s)")
h("objectvar syn_NC_DA4_MDL12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA4_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_10conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL12[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_MDL12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL12[0].soma { syn_NC_DA4_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_10conns_post[0] = new neuron_to_muscle_exc_syn_10conns(0.500000) }")
h("setpointer syn_NC_DA4_MDL12_Acetylcholine_silent_pre[0].vpeer, a_MDL12[0].soma.v(0.500000)")
h("setpointer syn_NC_DA4_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_10conns_post[0].vpeer, a_DA4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA4_MDL13_Acetylcholine
print("Adding continuous projection: NC_DA4_MDL13_Acetylcholine from DA4 to MDL13, with 1 connection(s)")
h("objectvar syn_NC_DA4_MDL13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA4_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL13[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_MDL13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL13[0].soma { syn_NC_DA4_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA4_MDL13_Acetylcholine_silent_pre[0].vpeer, a_MDL13[0].soma.v(0.500000)")
h("setpointer syn_NC_DA4_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DA4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA4_MDR11_Acetylcholine
print("Adding continuous projection: NC_DA4_MDR11_Acetylcholine from DA4 to MDR11, with 1 connection(s)")
h("objectvar syn_NC_DA4_MDR11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA4_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR11[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_MDR11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR11[0].soma { syn_NC_DA4_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0] = new neuron_to_muscle_exc_syn_5conns(0.500000) }")
h("setpointer syn_NC_DA4_MDR11_Acetylcholine_silent_pre[0].vpeer, a_MDR11[0].soma.v(0.500000)")
h("setpointer syn_NC_DA4_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0].vpeer, a_DA4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA4_MDR12_Acetylcholine
print("Adding continuous projection: NC_DA4_MDR12_Acetylcholine from DA4 to MDR12, with 1 connection(s)")
h("objectvar syn_NC_DA4_MDR12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA4_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR12[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_MDR12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR12[0].soma { syn_NC_DA4_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA4_MDR12_Acetylcholine_silent_pre[0].vpeer, a_MDR12[0].soma.v(0.500000)")
h("setpointer syn_NC_DA4_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA4_MDR13_Acetylcholine
print("Adding continuous projection: NC_DA4_MDR13_Acetylcholine from DA4 to MDR13, with 1 connection(s)")
h("objectvar syn_NC_DA4_MDR13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA4_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_9conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR13[0].soma], weight: 1.0
h("a_DA4[0].soma { syn_NC_DA4_MDR13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR13[0].soma { syn_NC_DA4_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_9conns_post[0] = new neuron_to_muscle_exc_syn_9conns(0.500000) }")
h("setpointer syn_NC_DA4_MDR13_Acetylcholine_silent_pre[0].vpeer, a_MDR13[0].soma.v(0.500000)")
h("setpointer syn_NC_DA4_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_9conns_post[0].vpeer, a_DA4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA5_MDL12_Acetylcholine
print("Adding continuous projection: NC_DA5_MDL12_Acetylcholine from DA5 to MDL12, with 1 connection(s)")
h("objectvar syn_NC_DA5_MDL12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA5_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL12[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_MDL12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL12[0].soma { syn_NC_DA5_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA5_MDL12_Acetylcholine_silent_pre[0].vpeer, a_MDL12[0].soma.v(0.500000)")
h("setpointer syn_NC_DA5_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DA5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA5_MDL13_Acetylcholine
print("Adding continuous projection: NC_DA5_MDL13_Acetylcholine from DA5 to MDL13, with 1 connection(s)")
h("objectvar syn_NC_DA5_MDL13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA5_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_10conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL13[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_MDL13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL13[0].soma { syn_NC_DA5_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_10conns_post[0] = new neuron_to_muscle_exc_syn_10conns(0.500000) }")
h("setpointer syn_NC_DA5_MDL13_Acetylcholine_silent_pre[0].vpeer, a_MDL13[0].soma.v(0.500000)")
h("setpointer syn_NC_DA5_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_10conns_post[0].vpeer, a_DA5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA5_MDL14_Acetylcholine
print("Adding continuous projection: NC_DA5_MDL14_Acetylcholine from DA5 to MDL14, with 1 connection(s)")
h("objectvar syn_NC_DA5_MDL14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA5_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_7conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_MDL14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL14[0].soma { syn_NC_DA5_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_7conns_post[0] = new neuron_to_muscle_exc_syn_7conns(0.500000) }")
h("setpointer syn_NC_DA5_MDL14_Acetylcholine_silent_pre[0].vpeer, a_MDL14[0].soma.v(0.500000)")
h("setpointer syn_NC_DA5_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_7conns_post[0].vpeer, a_DA5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA5_MDR12_Acetylcholine
print("Adding continuous projection: NC_DA5_MDR12_Acetylcholine from DA5 to MDR12, with 1 connection(s)")
h("objectvar syn_NC_DA5_MDR12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA5_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR12[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_MDR12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR12[0].soma { syn_NC_DA5_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DA5_MDR12_Acetylcholine_silent_pre[0].vpeer, a_MDR12[0].soma.v(0.500000)")
h("setpointer syn_NC_DA5_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DA5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA5_MDR13_Acetylcholine
print("Adding continuous projection: NC_DA5_MDR13_Acetylcholine from DA5 to MDR13, with 1 connection(s)")
h("objectvar syn_NC_DA5_MDR13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA5_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_7conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR13[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_MDR13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR13[0].soma { syn_NC_DA5_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_7conns_post[0] = new neuron_to_muscle_exc_syn_7conns(0.500000) }")
h("setpointer syn_NC_DA5_MDR13_Acetylcholine_silent_pre[0].vpeer, a_MDR13[0].soma.v(0.500000)")
h("setpointer syn_NC_DA5_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_7conns_post[0].vpeer, a_DA5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA5_MDR14_Acetylcholine
print("Adding continuous projection: NC_DA5_MDR14_Acetylcholine from DA5 to MDR14, with 1 connection(s)")
h("objectvar syn_NC_DA5_MDR14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA5_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_8conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR14[0].soma], weight: 1.0
h("a_DA5[0].soma { syn_NC_DA5_MDR14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR14[0].soma { syn_NC_DA5_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_8conns_post[0] = new neuron_to_muscle_exc_syn_8conns(0.500000) }")
h("setpointer syn_NC_DA5_MDR14_Acetylcholine_silent_pre[0].vpeer, a_MDR14[0].soma.v(0.500000)")
h("setpointer syn_NC_DA5_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_8conns_post[0].vpeer, a_DA5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDL11_Acetylcholine
print("Adding continuous projection: NC_DA6_MDL11_Acetylcholine from DA6 to MDL11, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDL11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL11[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDL11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL11[0].soma { syn_NC_DA6_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA6_MDL11_Acetylcholine_silent_pre[0].vpeer, a_MDL11[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDL12_Acetylcholine
print("Adding continuous projection: NC_DA6_MDL12_Acetylcholine from DA6 to MDL12, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDL12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL12[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDL12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL12[0].soma { syn_NC_DA6_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA6_MDL12_Acetylcholine_silent_pre[0].vpeer, a_MDL12[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDL13_Acetylcholine
print("Adding continuous projection: NC_DA6_MDL13_Acetylcholine from DA6 to MDL13, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDL13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL13[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDL13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL13[0].soma { syn_NC_DA6_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0] = new neuron_to_muscle_exc_syn_5conns(0.500000) }")
h("setpointer syn_NC_DA6_MDL13_Acetylcholine_silent_pre[0].vpeer, a_MDL13[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDL14_Acetylcholine
print("Adding continuous projection: NC_DA6_MDL14_Acetylcholine from DA6 to MDL14, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDL14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDL14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL14[0].soma { syn_NC_DA6_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA6_MDL14_Acetylcholine_silent_pre[0].vpeer, a_MDL14[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDL15_Acetylcholine
print("Adding continuous projection: NC_DA6_MDL15_Acetylcholine from DA6 to MDL15, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDL15_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL15[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDL15_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL15[0].soma { syn_NC_DA6_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA6_MDL15_Acetylcholine_silent_pre[0].vpeer, a_MDL15[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDL16_Acetylcholine
print("Adding continuous projection: NC_DA6_MDL16_Acetylcholine from DA6 to MDL16, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDL16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDL16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL16[0].soma { syn_NC_DA6_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA6_MDL16_Acetylcholine_silent_pre[0].vpeer, a_MDL16[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDR10_Acetylcholine
print("Adding continuous projection: NC_DA6_MDR10_Acetylcholine from DA6 to MDR10, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDR10_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDR10_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR10[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDR10_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR10[0].soma { syn_NC_DA6_MDR10_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA6_MDR10_Acetylcholine_silent_pre[0].vpeer, a_MDR10[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDR10_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDR11_Acetylcholine
print("Adding continuous projection: NC_DA6_MDR11_Acetylcholine from DA6 to MDR11, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDR11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR11[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDR11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR11[0].soma { syn_NC_DA6_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA6_MDR11_Acetylcholine_silent_pre[0].vpeer, a_MDR11[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDR12_Acetylcholine
print("Adding continuous projection: NC_DA6_MDR12_Acetylcholine from DA6 to MDR12, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDR12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR12[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDR12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR12[0].soma { syn_NC_DA6_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DA6_MDR12_Acetylcholine_silent_pre[0].vpeer, a_MDR12[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDR13_Acetylcholine
print("Adding continuous projection: NC_DA6_MDR13_Acetylcholine from DA6 to MDR13, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDR13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR13[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDR13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR13[0].soma { syn_NC_DA6_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0] = new neuron_to_muscle_exc_syn_5conns(0.500000) }")
h("setpointer syn_NC_DA6_MDR13_Acetylcholine_silent_pre[0].vpeer, a_MDR13[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDR14_Acetylcholine
print("Adding continuous projection: NC_DA6_MDR14_Acetylcholine from DA6 to MDR14, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDR14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR14[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDR14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR14[0].soma { syn_NC_DA6_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA6_MDR14_Acetylcholine_silent_pre[0].vpeer, a_MDR14[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDR15_Acetylcholine
print("Adding continuous projection: NC_DA6_MDR15_Acetylcholine from DA6 to MDR15, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDR15_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR15[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDR15_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR15[0].soma { syn_NC_DA6_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA6_MDR15_Acetylcholine_silent_pre[0].vpeer, a_MDR15[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA6_MDR16_Acetylcholine
print("Adding continuous projection: NC_DA6_MDR16_Acetylcholine from DA6 to MDR16, with 1 connection(s)")
h("objectvar syn_NC_DA6_MDR16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA6_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma], weight: 1.0
h("a_DA6[0].soma { syn_NC_DA6_MDR16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR16[0].soma { syn_NC_DA6_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA6_MDR16_Acetylcholine_silent_pre[0].vpeer, a_MDR16[0].soma.v(0.500000)")
h("setpointer syn_NC_DA6_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDL14_Acetylcholine
print("Adding continuous projection: NC_DA7_MDL14_Acetylcholine from DA7 to MDL14, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDL14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDL14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL14[0].soma { syn_NC_DA7_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDL14_Acetylcholine_silent_pre[0].vpeer, a_MDL14[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDL15_Acetylcholine
print("Adding continuous projection: NC_DA7_MDL15_Acetylcholine from DA7 to MDL15, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDL15_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL15[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDL15_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL15[0].soma { syn_NC_DA7_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDL15_Acetylcholine_silent_pre[0].vpeer, a_MDL15[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDL16_Acetylcholine
print("Adding continuous projection: NC_DA7_MDL16_Acetylcholine from DA7 to MDL16, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDL16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDL16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL16[0].soma { syn_NC_DA7_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDL16_Acetylcholine_silent_pre[0].vpeer, a_MDL16[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDL17_Acetylcholine
print("Adding continuous projection: NC_DA7_MDL17_Acetylcholine from DA7 to MDL17, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDL17_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL17[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDL17_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL17[0].soma { syn_NC_DA7_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDL17_Acetylcholine_silent_pre[0].vpeer, a_MDL17[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDL18_Acetylcholine
print("Adding continuous projection: NC_DA7_MDL18_Acetylcholine from DA7 to MDL18, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDL18_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL18[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDL18_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL18[0].soma { syn_NC_DA7_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA7_MDL18_Acetylcholine_silent_pre[0].vpeer, a_MDL18[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDL19_Acetylcholine
print("Adding continuous projection: NC_DA7_MDL19_Acetylcholine from DA7 to MDL19, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDL19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDL19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL19[0].soma { syn_NC_DA7_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDL19_Acetylcholine_silent_pre[0].vpeer, a_MDL19[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDR14_Acetylcholine
print("Adding continuous projection: NC_DA7_MDR14_Acetylcholine from DA7 to MDR14, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDR14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR14[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDR14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR14[0].soma { syn_NC_DA7_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDR14_Acetylcholine_silent_pre[0].vpeer, a_MDR14[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDR15_Acetylcholine
print("Adding continuous projection: NC_DA7_MDR15_Acetylcholine from DA7 to MDR15, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDR15_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR15[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDR15_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR15[0].soma { syn_NC_DA7_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDR15_Acetylcholine_silent_pre[0].vpeer, a_MDR15[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDR16_Acetylcholine
print("Adding continuous projection: NC_DA7_MDR16_Acetylcholine from DA7 to MDR16, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDR16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDR16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR16[0].soma { syn_NC_DA7_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDR16_Acetylcholine_silent_pre[0].vpeer, a_MDR16[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDR17_Acetylcholine
print("Adding continuous projection: NC_DA7_MDR17_Acetylcholine from DA7 to MDR17, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDR17_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR17[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDR17_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR17[0].soma { syn_NC_DA7_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDR17_Acetylcholine_silent_pre[0].vpeer, a_MDR17[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDR18_Acetylcholine
print("Adding continuous projection: NC_DA7_MDR18_Acetylcholine from DA7 to MDR18, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDR18_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR18[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDR18_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR18[0].soma { syn_NC_DA7_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA7_MDR18_Acetylcholine_silent_pre[0].vpeer, a_MDR18[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA7_MDR19_Acetylcholine
print("Adding continuous projection: NC_DA7_MDR19_Acetylcholine from DA7 to MDR19, with 1 connection(s)")
h("objectvar syn_NC_DA7_MDR19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA7_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma], weight: 1.0
h("a_DA7[0].soma { syn_NC_DA7_MDR19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR19[0].soma { syn_NC_DA7_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA7_MDR19_Acetylcholine_silent_pre[0].vpeer, a_MDR19[0].soma.v(0.500000)")
h("setpointer syn_NC_DA7_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDL16_Acetylcholine
print("Adding continuous projection: NC_DA8_MDL16_Acetylcholine from DA8 to MDL16, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDL16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDL16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL16[0].soma { syn_NC_DA8_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDL16_Acetylcholine_silent_pre[0].vpeer, a_MDL16[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDL17_Acetylcholine
print("Adding continuous projection: NC_DA8_MDL17_Acetylcholine from DA8 to MDL17, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDL17_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL17[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDL17_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL17[0].soma { syn_NC_DA8_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDL17_Acetylcholine_silent_pre[0].vpeer, a_MDL17[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDL18_Acetylcholine
print("Adding continuous projection: NC_DA8_MDL18_Acetylcholine from DA8 to MDL18, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDL18_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL18[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDL18_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL18[0].soma { syn_NC_DA8_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDL18_Acetylcholine_silent_pre[0].vpeer, a_MDL18[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDL19_Acetylcholine
print("Adding continuous projection: NC_DA8_MDL19_Acetylcholine from DA8 to MDL19, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDL19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDL19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL19[0].soma { syn_NC_DA8_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDL19_Acetylcholine_silent_pre[0].vpeer, a_MDL19[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDL20_Acetylcholine
print("Adding continuous projection: NC_DA8_MDL20_Acetylcholine from DA8 to MDL20, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDL20_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL20[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDL20_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL20[0].soma { syn_NC_DA8_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA8_MDL20_Acetylcholine_silent_pre[0].vpeer, a_MDL20[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDL21_Acetylcholine
print("Adding continuous projection: NC_DA8_MDL21_Acetylcholine from DA8 to MDL21, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDL21_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL21[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDL21_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL21[0].soma { syn_NC_DA8_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDL21_Acetylcholine_silent_pre[0].vpeer, a_MDL21[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDR16_Acetylcholine
print("Adding continuous projection: NC_DA8_MDR16_Acetylcholine from DA8 to MDR16, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDR16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDR16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR16[0].soma { syn_NC_DA8_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDR16_Acetylcholine_silent_pre[0].vpeer, a_MDR16[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDR17_Acetylcholine
print("Adding continuous projection: NC_DA8_MDR17_Acetylcholine from DA8 to MDR17, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDR17_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR17[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDR17_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR17[0].soma { syn_NC_DA8_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDR17_Acetylcholine_silent_pre[0].vpeer, a_MDR17[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDR18_Acetylcholine
print("Adding continuous projection: NC_DA8_MDR18_Acetylcholine from DA8 to MDR18, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDR18_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR18[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDR18_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR18[0].soma { syn_NC_DA8_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDR18_Acetylcholine_silent_pre[0].vpeer, a_MDR18[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDR19_Acetylcholine
print("Adding continuous projection: NC_DA8_MDR19_Acetylcholine from DA8 to MDR19, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDR19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDR19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR19[0].soma { syn_NC_DA8_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDR19_Acetylcholine_silent_pre[0].vpeer, a_MDR19[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDR20_Acetylcholine
print("Adding continuous projection: NC_DA8_MDR20_Acetylcholine from DA8 to MDR20, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDR20_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR20[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDR20_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR20[0].soma { syn_NC_DA8_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA8_MDR20_Acetylcholine_silent_pre[0].vpeer, a_MDR20[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA8_MDR21_Acetylcholine
print("Adding continuous projection: NC_DA8_MDR21_Acetylcholine from DA8 to MDR21, with 1 connection(s)")
h("objectvar syn_NC_DA8_MDR21_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA8_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA8[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR21[0].soma], weight: 1.0
h("a_DA8[0].soma { syn_NC_DA8_MDR21_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR21[0].soma { syn_NC_DA8_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA8_MDR21_Acetylcholine_silent_pre[0].vpeer, a_MDR21[0].soma.v(0.500000)")
h("setpointer syn_NC_DA8_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA8[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDL19_Acetylcholine
print("Adding continuous projection: NC_DA9_MDL19_Acetylcholine from DA9 to MDL19, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDL19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDL19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL19[0].soma { syn_NC_DA9_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDL19_Acetylcholine_silent_pre[0].vpeer, a_MDL19[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDL20_Acetylcholine
print("Adding continuous projection: NC_DA9_MDL20_Acetylcholine from DA9 to MDL20, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDL20_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL20[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDL20_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL20[0].soma { syn_NC_DA9_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDL20_Acetylcholine_silent_pre[0].vpeer, a_MDL20[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDL21_Acetylcholine
print("Adding continuous projection: NC_DA9_MDL21_Acetylcholine from DA9 to MDL21, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDL21_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL21[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDL21_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL21[0].soma { syn_NC_DA9_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDL21_Acetylcholine_silent_pre[0].vpeer, a_MDL21[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDL22_Acetylcholine
print("Adding continuous projection: NC_DA9_MDL22_Acetylcholine from DA9 to MDL22, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDL22_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDL22_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL22[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDL22_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL22[0].soma { syn_NC_DA9_MDL22_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDL22_Acetylcholine_silent_pre[0].vpeer, a_MDL22[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDL22_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDL23_Acetylcholine
print("Adding continuous projection: NC_DA9_MDL23_Acetylcholine from DA9 to MDL23, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDL23_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDL23_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL23[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDL23_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL23[0].soma { syn_NC_DA9_MDL23_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDL23_Acetylcholine_silent_pre[0].vpeer, a_MDL23[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDL23_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDL24_Acetylcholine
print("Adding continuous projection: NC_DA9_MDL24_Acetylcholine from DA9 to MDL24, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDL24_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDL24_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL24[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDL24_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL24[0].soma { syn_NC_DA9_MDL24_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA9_MDL24_Acetylcholine_silent_pre[0].vpeer, a_MDL24[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDL24_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDR19_Acetylcholine
print("Adding continuous projection: NC_DA9_MDR19_Acetylcholine from DA9 to MDR19, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDR19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDR19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR19[0].soma { syn_NC_DA9_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDR19_Acetylcholine_silent_pre[0].vpeer, a_MDR19[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDR20_Acetylcholine
print("Adding continuous projection: NC_DA9_MDR20_Acetylcholine from DA9 to MDR20, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDR20_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR20[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDR20_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR20[0].soma { syn_NC_DA9_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDR20_Acetylcholine_silent_pre[0].vpeer, a_MDR20[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDR21_Acetylcholine
print("Adding continuous projection: NC_DA9_MDR21_Acetylcholine from DA9 to MDR21, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDR21_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR21[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDR21_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR21[0].soma { syn_NC_DA9_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDR21_Acetylcholine_silent_pre[0].vpeer, a_MDR21[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDR22_Acetylcholine
print("Adding continuous projection: NC_DA9_MDR22_Acetylcholine from DA9 to MDR22, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDR22_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDR22_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR22[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDR22_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR22[0].soma { syn_NC_DA9_MDR22_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDR22_Acetylcholine_silent_pre[0].vpeer, a_MDR22[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDR22_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDR23_Acetylcholine
print("Adding continuous projection: NC_DA9_MDR23_Acetylcholine from DA9 to MDR23, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDR23_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDR23_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR23[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDR23_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR23[0].soma { syn_NC_DA9_MDR23_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DA9_MDR23_Acetylcholine_silent_pre[0].vpeer, a_MDR23[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDR23_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DA9_MDR24_Acetylcholine
print("Adding continuous projection: NC_DA9_MDR24_Acetylcholine from DA9 to MDR24, with 1 connection(s)")
h("objectvar syn_NC_DA9_MDR24_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DA9_MDR24_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DA9[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR24[0].soma], weight: 1.0
h("a_DA9[0].soma { syn_NC_DA9_MDR24_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR24[0].soma { syn_NC_DA9_MDR24_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DA9_MDR24_Acetylcholine_silent_pre[0].vpeer, a_MDR24[0].soma.v(0.500000)")
h("setpointer syn_NC_DA9_MDR24_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DA9[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB1_MDL06_Acetylcholine
print("Adding continuous projection: NC_DB1_MDL06_Acetylcholine from DB1 to MDL06, with 1 connection(s)")
h("objectvar syn_NC_DB1_MDL06_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB1_MDL06_Acetylcholine_DB1_to_MDL06_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL06[0].soma], weight: 1.0
h("a_DB1[0].soma { syn_NC_DB1_MDL06_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL06[0].soma { syn_NC_DB1_MDL06_Acetylcholine_DB1_to_MDL06_exc_syn_3conns_post[0] = new DB1_to_MDL06_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB1_MDL06_Acetylcholine_silent_pre[0].vpeer, a_MDL06[0].soma.v(0.500000)")
h("setpointer syn_NC_DB1_MDL06_Acetylcholine_DB1_to_MDL06_exc_syn_3conns_post[0].vpeer, a_DB1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB1_MDL08_Acetylcholine
print("Adding continuous projection: NC_DB1_MDL08_Acetylcholine from DB1 to MDL08, with 1 connection(s)")
h("objectvar syn_NC_DB1_MDL08_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB1_MDL08_Acetylcholine_DB1_to_MDL08_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL08[0].soma], weight: 1.0
h("a_DB1[0].soma { syn_NC_DB1_MDL08_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL08[0].soma { syn_NC_DB1_MDL08_Acetylcholine_DB1_to_MDL08_exc_syn_3conns_post[0] = new DB1_to_MDL08_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB1_MDL08_Acetylcholine_silent_pre[0].vpeer, a_MDL08[0].soma.v(0.500000)")
h("setpointer syn_NC_DB1_MDL08_Acetylcholine_DB1_to_MDL08_exc_syn_3conns_post[0].vpeer, a_DB1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB1_MDL09_Acetylcholine
print("Adding continuous projection: NC_DB1_MDL09_Acetylcholine from DB1 to MDL09, with 1 connection(s)")
h("objectvar syn_NC_DB1_MDL09_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB1_MDL09_Acetylcholine_DB1_to_MDL09_exc_syn_6conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL09[0].soma], weight: 1.0
h("a_DB1[0].soma { syn_NC_DB1_MDL09_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL09[0].soma { syn_NC_DB1_MDL09_Acetylcholine_DB1_to_MDL09_exc_syn_6conns_post[0] = new DB1_to_MDL09_exc_syn_6conns(0.500000) }")
h("setpointer syn_NC_DB1_MDL09_Acetylcholine_silent_pre[0].vpeer, a_MDL09[0].soma.v(0.500000)")
h("setpointer syn_NC_DB1_MDL09_Acetylcholine_DB1_to_MDL09_exc_syn_6conns_post[0].vpeer, a_DB1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB1_MDR08_Acetylcholine
print("Adding continuous projection: NC_DB1_MDR08_Acetylcholine from DB1 to MDR08, with 1 connection(s)")
h("objectvar syn_NC_DB1_MDR08_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB1_MDR08_Acetylcholine_DB1_to_MDR08_exc_syn_6conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR08[0].soma], weight: 1.0
h("a_DB1[0].soma { syn_NC_DB1_MDR08_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR08[0].soma { syn_NC_DB1_MDR08_Acetylcholine_DB1_to_MDR08_exc_syn_6conns_post[0] = new DB1_to_MDR08_exc_syn_6conns(0.500000) }")
h("setpointer syn_NC_DB1_MDR08_Acetylcholine_silent_pre[0].vpeer, a_MDR08[0].soma.v(0.500000)")
h("setpointer syn_NC_DB1_MDR08_Acetylcholine_DB1_to_MDR08_exc_syn_6conns_post[0].vpeer, a_DB1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB1_MDR09_Acetylcholine
print("Adding continuous projection: NC_DB1_MDR09_Acetylcholine from DB1 to MDR09, with 1 connection(s)")
h("objectvar syn_NC_DB1_MDR09_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB1_MDR09_Acetylcholine_DB1_to_MDR09_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB1[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR09[0].soma], weight: 1.0
h("a_DB1[0].soma { syn_NC_DB1_MDR09_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR09[0].soma { syn_NC_DB1_MDR09_Acetylcholine_DB1_to_MDR09_exc_syn_2conns_post[0] = new DB1_to_MDR09_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB1_MDR09_Acetylcholine_silent_pre[0].vpeer, a_MDR09[0].soma.v(0.500000)")
h("setpointer syn_NC_DB1_MDR09_Acetylcholine_DB1_to_MDR09_exc_syn_2conns_post[0].vpeer, a_DB1[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB2_MDL09_Acetylcholine
print("Adding continuous projection: NC_DB2_MDL09_Acetylcholine from DB2 to MDL09, with 1 connection(s)")
h("objectvar syn_NC_DB2_MDL09_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB2_MDL09_Acetylcholine_DB2_to_MDL09_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL09[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_MDL09_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL09[0].soma { syn_NC_DB2_MDL09_Acetylcholine_DB2_to_MDL09_exc_syn_2conns_post[0] = new DB2_to_MDL09_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB2_MDL09_Acetylcholine_silent_pre[0].vpeer, a_MDL09[0].soma.v(0.500000)")
h("setpointer syn_NC_DB2_MDL09_Acetylcholine_DB2_to_MDL09_exc_syn_2conns_post[0].vpeer, a_DB2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB2_MDL10_Acetylcholine
print("Adding continuous projection: NC_DB2_MDL10_Acetylcholine from DB2 to MDL10, with 1 connection(s)")
h("objectvar syn_NC_DB2_MDL10_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB2_MDL10_Acetylcholine_DB2_to_MDL10_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL10[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_MDL10_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL10[0].soma { syn_NC_DB2_MDL10_Acetylcholine_DB2_to_MDL10_exc_syn_4conns_post[0] = new DB2_to_MDL10_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DB2_MDL10_Acetylcholine_silent_pre[0].vpeer, a_MDL10[0].soma.v(0.500000)")
h("setpointer syn_NC_DB2_MDL10_Acetylcholine_DB2_to_MDL10_exc_syn_4conns_post[0].vpeer, a_DB2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB2_MDL11_Acetylcholine
print("Adding continuous projection: NC_DB2_MDL11_Acetylcholine from DB2 to MDL11, with 1 connection(s)")
h("objectvar syn_NC_DB2_MDL11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB2_MDL11_Acetylcholine_DB2_to_MDL11_exc_syn_5conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL11[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_MDL11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL11[0].soma { syn_NC_DB2_MDL11_Acetylcholine_DB2_to_MDL11_exc_syn_5conns_post[0] = new DB2_to_MDL11_exc_syn_5conns(0.500000) }")
h("setpointer syn_NC_DB2_MDL11_Acetylcholine_silent_pre[0].vpeer, a_MDL11[0].soma.v(0.500000)")
h("setpointer syn_NC_DB2_MDL11_Acetylcholine_DB2_to_MDL11_exc_syn_5conns_post[0].vpeer, a_DB2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB2_MDL12_Acetylcholine
print("Adding continuous projection: NC_DB2_MDL12_Acetylcholine from DB2 to MDL12, with 1 connection(s)")
h("objectvar syn_NC_DB2_MDL12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB2_MDL12_Acetylcholine_DB2_to_MDL12_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL12[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_MDL12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL12[0].soma { syn_NC_DB2_MDL12_Acetylcholine_DB2_to_MDL12_exc_syn_1conns_post[0] = new DB2_to_MDL12_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DB2_MDL12_Acetylcholine_silent_pre[0].vpeer, a_MDL12[0].soma.v(0.500000)")
h("setpointer syn_NC_DB2_MDL12_Acetylcholine_DB2_to_MDL12_exc_syn_1conns_post[0].vpeer, a_DB2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB2_MDR09_Acetylcholine
print("Adding continuous projection: NC_DB2_MDR09_Acetylcholine from DB2 to MDR09, with 1 connection(s)")
h("objectvar syn_NC_DB2_MDR09_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB2_MDR09_Acetylcholine_DB2_to_MDR09_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR09[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_MDR09_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR09[0].soma { syn_NC_DB2_MDR09_Acetylcholine_DB2_to_MDR09_exc_syn_1conns_post[0] = new DB2_to_MDR09_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DB2_MDR09_Acetylcholine_silent_pre[0].vpeer, a_MDR09[0].soma.v(0.500000)")
h("setpointer syn_NC_DB2_MDR09_Acetylcholine_DB2_to_MDR09_exc_syn_1conns_post[0].vpeer, a_DB2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB2_MDR10_Acetylcholine
print("Adding continuous projection: NC_DB2_MDR10_Acetylcholine from DB2 to MDR10, with 1 connection(s)")
h("objectvar syn_NC_DB2_MDR10_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB2_MDR10_Acetylcholine_DB2_to_MDR10_exc_syn_6conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR10[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_MDR10_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR10[0].soma { syn_NC_DB2_MDR10_Acetylcholine_DB2_to_MDR10_exc_syn_6conns_post[0] = new DB2_to_MDR10_exc_syn_6conns(0.500000) }")
h("setpointer syn_NC_DB2_MDR10_Acetylcholine_silent_pre[0].vpeer, a_MDR10[0].soma.v(0.500000)")
h("setpointer syn_NC_DB2_MDR10_Acetylcholine_DB2_to_MDR10_exc_syn_6conns_post[0].vpeer, a_DB2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB2_MDR11_Acetylcholine
print("Adding continuous projection: NC_DB2_MDR11_Acetylcholine from DB2 to MDR11, with 1 connection(s)")
h("objectvar syn_NC_DB2_MDR11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB2_MDR11_Acetylcholine_DB2_to_MDR11_exc_syn_8conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB2[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR11[0].soma], weight: 1.0
h("a_DB2[0].soma { syn_NC_DB2_MDR11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR11[0].soma { syn_NC_DB2_MDR11_Acetylcholine_DB2_to_MDR11_exc_syn_8conns_post[0] = new DB2_to_MDR11_exc_syn_8conns(0.500000) }")
h("setpointer syn_NC_DB2_MDR11_Acetylcholine_silent_pre[0].vpeer, a_MDR11[0].soma.v(0.500000)")
h("setpointer syn_NC_DB2_MDR11_Acetylcholine_DB2_to_MDR11_exc_syn_8conns_post[0].vpeer, a_DB2[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB3_MDL11_Acetylcholine
print("Adding continuous projection: NC_DB3_MDL11_Acetylcholine from DB3 to MDL11, with 1 connection(s)")
h("objectvar syn_NC_DB3_MDL11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB3_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_6conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL11[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_MDL11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL11[0].soma { syn_NC_DB3_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_6conns_post[0] = new neuron_to_muscle_exc_syn_6conns(0.500000) }")
h("setpointer syn_NC_DB3_MDL11_Acetylcholine_silent_pre[0].vpeer, a_MDL11[0].soma.v(0.500000)")
h("setpointer syn_NC_DB3_MDL11_Acetylcholine_neuron_to_muscle_exc_syn_6conns_post[0].vpeer, a_DB3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB3_MDL12_Acetylcholine
print("Adding continuous projection: NC_DB3_MDL12_Acetylcholine from DB3 to MDL12, with 1 connection(s)")
h("objectvar syn_NC_DB3_MDL12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB3_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL12[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_MDL12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL12[0].soma { syn_NC_DB3_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DB3_MDL12_Acetylcholine_silent_pre[0].vpeer, a_MDL12[0].soma.v(0.500000)")
h("setpointer syn_NC_DB3_MDL12_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DB3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB3_MDL13_Acetylcholine
print("Adding continuous projection: NC_DB3_MDL13_Acetylcholine from DB3 to MDL13, with 1 connection(s)")
h("objectvar syn_NC_DB3_MDL13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB3_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL13[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_MDL13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL13[0].soma { syn_NC_DB3_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB3_MDL13_Acetylcholine_silent_pre[0].vpeer, a_MDL13[0].soma.v(0.500000)")
h("setpointer syn_NC_DB3_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DB3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB3_MDL14_Acetylcholine
print("Adding continuous projection: NC_DB3_MDL14_Acetylcholine from DB3 to MDL14, with 1 connection(s)")
h("objectvar syn_NC_DB3_MDL14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB3_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_MDL14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL14[0].soma { syn_NC_DB3_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DB3_MDL14_Acetylcholine_silent_pre[0].vpeer, a_MDL14[0].soma.v(0.500000)")
h("setpointer syn_NC_DB3_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DB3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB3_MDR11_Acetylcholine
print("Adding continuous projection: NC_DB3_MDR11_Acetylcholine from DB3 to MDR11, with 1 connection(s)")
h("objectvar syn_NC_DB3_MDR11_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB3_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR11[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_MDR11_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR11[0].soma { syn_NC_DB3_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB3_MDR11_Acetylcholine_silent_pre[0].vpeer, a_MDR11[0].soma.v(0.500000)")
h("setpointer syn_NC_DB3_MDR11_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB3_MDR12_Acetylcholine
print("Adding continuous projection: NC_DB3_MDR12_Acetylcholine from DB3 to MDR12, with 1 connection(s)")
h("objectvar syn_NC_DB3_MDR12_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB3_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_13conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR12[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_MDR12_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR12[0].soma { syn_NC_DB3_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_13conns_post[0] = new neuron_to_muscle_exc_syn_13conns(0.500000) }")
h("setpointer syn_NC_DB3_MDR12_Acetylcholine_silent_pre[0].vpeer, a_MDR12[0].soma.v(0.500000)")
h("setpointer syn_NC_DB3_MDR12_Acetylcholine_neuron_to_muscle_exc_syn_13conns_post[0].vpeer, a_DB3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB3_MDR13_Acetylcholine
print("Adding continuous projection: NC_DB3_MDR13_Acetylcholine from DB3 to MDR13, with 1 connection(s)")
h("objectvar syn_NC_DB3_MDR13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB3_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB3[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR13[0].soma], weight: 1.0
h("a_DB3[0].soma { syn_NC_DB3_MDR13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR13[0].soma { syn_NC_DB3_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DB3_MDR13_Acetylcholine_silent_pre[0].vpeer, a_MDR13[0].soma.v(0.500000)")
h("setpointer syn_NC_DB3_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DB3[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB4_MDL13_Acetylcholine
print("Adding continuous projection: NC_DB4_MDL13_Acetylcholine from DB4 to MDL13, with 1 connection(s)")
h("objectvar syn_NC_DB4_MDL13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB4_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL13[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_MDL13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL13[0].soma { syn_NC_DB4_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0] = new neuron_to_muscle_exc_syn_4conns(0.500000) }")
h("setpointer syn_NC_DB4_MDL13_Acetylcholine_silent_pre[0].vpeer, a_MDL13[0].soma.v(0.500000)")
h("setpointer syn_NC_DB4_MDL13_Acetylcholine_neuron_to_muscle_exc_syn_4conns_post[0].vpeer, a_DB4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB4_MDL14_Acetylcholine
print("Adding continuous projection: NC_DB4_MDL14_Acetylcholine from DB4 to MDL14, with 1 connection(s)")
h("objectvar syn_NC_DB4_MDL14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB4_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_MDL14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL14[0].soma { syn_NC_DB4_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0] = new neuron_to_muscle_exc_syn_1conns(0.500000) }")
h("setpointer syn_NC_DB4_MDL14_Acetylcholine_silent_pre[0].vpeer, a_MDL14[0].soma.v(0.500000)")
h("setpointer syn_NC_DB4_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_1conns_post[0].vpeer, a_DB4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB4_MDL15_Acetylcholine
print("Adding continuous projection: NC_DB4_MDL15_Acetylcholine from DB4 to MDL15, with 1 connection(s)")
h("objectvar syn_NC_DB4_MDL15_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB4_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL15[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_MDL15_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL15[0].soma { syn_NC_DB4_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB4_MDL15_Acetylcholine_silent_pre[0].vpeer, a_MDL15[0].soma.v(0.500000)")
h("setpointer syn_NC_DB4_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DB4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB4_MDL16_Acetylcholine
print("Adding continuous projection: NC_DB4_MDL16_Acetylcholine from DB4 to MDL16, with 1 connection(s)")
h("objectvar syn_NC_DB4_MDL16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB4_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_MDL16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL16[0].soma { syn_NC_DB4_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB4_MDL16_Acetylcholine_silent_pre[0].vpeer, a_MDL16[0].soma.v(0.500000)")
h("setpointer syn_NC_DB4_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DB4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB4_MDR13_Acetylcholine
print("Adding continuous projection: NC_DB4_MDR13_Acetylcholine from DB4 to MDR13, with 1 connection(s)")
h("objectvar syn_NC_DB4_MDR13_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB4_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR13[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_MDR13_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR13[0].soma { syn_NC_DB4_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB4_MDR13_Acetylcholine_silent_pre[0].vpeer, a_MDR13[0].soma.v(0.500000)")
h("setpointer syn_NC_DB4_MDR13_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DB4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB4_MDR14_Acetylcholine
print("Adding continuous projection: NC_DB4_MDR14_Acetylcholine from DB4 to MDR14, with 1 connection(s)")
h("objectvar syn_NC_DB4_MDR14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB4_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR14[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_MDR14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR14[0].soma { syn_NC_DB4_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0] = new neuron_to_muscle_exc_syn_5conns(0.500000) }")
h("setpointer syn_NC_DB4_MDR14_Acetylcholine_silent_pre[0].vpeer, a_MDR14[0].soma.v(0.500000)")
h("setpointer syn_NC_DB4_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_5conns_post[0].vpeer, a_DB4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB4_MDR15_Acetylcholine
print("Adding continuous projection: NC_DB4_MDR15_Acetylcholine from DB4 to MDR15, with 1 connection(s)")
h("objectvar syn_NC_DB4_MDR15_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB4_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR15[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_MDR15_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR15[0].soma { syn_NC_DB4_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB4_MDR15_Acetylcholine_silent_pre[0].vpeer, a_MDR15[0].soma.v(0.500000)")
h("setpointer syn_NC_DB4_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DB4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB4_MDR16_Acetylcholine
print("Adding continuous projection: NC_DB4_MDR16_Acetylcholine from DB4 to MDR16, with 1 connection(s)")
h("objectvar syn_NC_DB4_MDR16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB4_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB4[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma], weight: 1.0
h("a_DB4[0].soma { syn_NC_DB4_MDR16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR16[0].soma { syn_NC_DB4_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0] = new neuron_to_muscle_exc_syn_3conns(0.500000) }")
h("setpointer syn_NC_DB4_MDR16_Acetylcholine_silent_pre[0].vpeer, a_MDR16[0].soma.v(0.500000)")
h("setpointer syn_NC_DB4_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_3conns_post[0].vpeer, a_DB4[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDL14_Acetylcholine
print("Adding continuous projection: NC_DB5_MDL14_Acetylcholine from DB5 to MDL14, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDL14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL14[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDL14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL14[0].soma { syn_NC_DB5_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDL14_Acetylcholine_silent_pre[0].vpeer, a_MDL14[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDL14_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDL15_Acetylcholine
print("Adding continuous projection: NC_DB5_MDL15_Acetylcholine from DB5 to MDL15, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDL15_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL15[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDL15_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL15[0].soma { syn_NC_DB5_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDL15_Acetylcholine_silent_pre[0].vpeer, a_MDL15[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDL15_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDL16_Acetylcholine
print("Adding continuous projection: NC_DB5_MDL16_Acetylcholine from DB5 to MDL16, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDL16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDL16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL16[0].soma { syn_NC_DB5_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDL16_Acetylcholine_silent_pre[0].vpeer, a_MDL16[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDL17_Acetylcholine
print("Adding continuous projection: NC_DB5_MDL17_Acetylcholine from DB5 to MDL17, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDL17_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL17[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDL17_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL17[0].soma { syn_NC_DB5_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDL17_Acetylcholine_silent_pre[0].vpeer, a_MDL17[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDL18_Acetylcholine
print("Adding continuous projection: NC_DB5_MDL18_Acetylcholine from DB5 to MDL18, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDL18_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL18[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDL18_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL18[0].soma { syn_NC_DB5_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDL18_Acetylcholine_silent_pre[0].vpeer, a_MDL18[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDL19_Acetylcholine
print("Adding continuous projection: NC_DB5_MDL19_Acetylcholine from DB5 to MDL19, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDL19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDL19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL19[0].soma { syn_NC_DB5_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDL19_Acetylcholine_silent_pre[0].vpeer, a_MDL19[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDR14_Acetylcholine
print("Adding continuous projection: NC_DB5_MDR14_Acetylcholine from DB5 to MDR14, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDR14_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR14[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDR14_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR14[0].soma { syn_NC_DB5_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDR14_Acetylcholine_silent_pre[0].vpeer, a_MDR14[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDR14_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDR15_Acetylcholine
print("Adding continuous projection: NC_DB5_MDR15_Acetylcholine from DB5 to MDR15, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDR15_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR15[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDR15_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR15[0].soma { syn_NC_DB5_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDR15_Acetylcholine_silent_pre[0].vpeer, a_MDR15[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDR15_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDR16_Acetylcholine
print("Adding continuous projection: NC_DB5_MDR16_Acetylcholine from DB5 to MDR16, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDR16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDR16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR16[0].soma { syn_NC_DB5_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDR16_Acetylcholine_silent_pre[0].vpeer, a_MDR16[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDR17_Acetylcholine
print("Adding continuous projection: NC_DB5_MDR17_Acetylcholine from DB5 to MDR17, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDR17_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR17[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDR17_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR17[0].soma { syn_NC_DB5_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDR17_Acetylcholine_silent_pre[0].vpeer, a_MDR17[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDR18_Acetylcholine
print("Adding continuous projection: NC_DB5_MDR18_Acetylcholine from DB5 to MDR18, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDR18_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR18[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDR18_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR18[0].soma { syn_NC_DB5_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDR18_Acetylcholine_silent_pre[0].vpeer, a_MDR18[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB5_MDR19_Acetylcholine
print("Adding continuous projection: NC_DB5_MDR19_Acetylcholine from DB5 to MDR19, with 1 connection(s)")
h("objectvar syn_NC_DB5_MDR19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB5_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB5[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma], weight: 1.0
h("a_DB5[0].soma { syn_NC_DB5_MDR19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR19[0].soma { syn_NC_DB5_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB5_MDR19_Acetylcholine_silent_pre[0].vpeer, a_MDR19[0].soma.v(0.500000)")
h("setpointer syn_NC_DB5_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB5[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDL16_Acetylcholine
print("Adding continuous projection: NC_DB6_MDL16_Acetylcholine from DB6 to MDL16, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDL16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL16[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDL16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL16[0].soma { syn_NC_DB6_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDL16_Acetylcholine_silent_pre[0].vpeer, a_MDL16[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDL16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDL17_Acetylcholine
print("Adding continuous projection: NC_DB6_MDL17_Acetylcholine from DB6 to MDL17, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDL17_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL17[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDL17_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL17[0].soma { syn_NC_DB6_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDL17_Acetylcholine_silent_pre[0].vpeer, a_MDL17[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDL17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDL18_Acetylcholine
print("Adding continuous projection: NC_DB6_MDL18_Acetylcholine from DB6 to MDL18, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDL18_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL18[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDL18_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL18[0].soma { syn_NC_DB6_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDL18_Acetylcholine_silent_pre[0].vpeer, a_MDL18[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDL18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDL19_Acetylcholine
print("Adding continuous projection: NC_DB6_MDL19_Acetylcholine from DB6 to MDL19, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDL19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDL19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL19[0].soma { syn_NC_DB6_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDL19_Acetylcholine_silent_pre[0].vpeer, a_MDL19[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDL20_Acetylcholine
print("Adding continuous projection: NC_DB6_MDL20_Acetylcholine from DB6 to MDL20, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDL20_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL20[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDL20_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL20[0].soma { syn_NC_DB6_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDL20_Acetylcholine_silent_pre[0].vpeer, a_MDL20[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDL21_Acetylcholine
print("Adding continuous projection: NC_DB6_MDL21_Acetylcholine from DB6 to MDL21, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDL21_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL21[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDL21_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL21[0].soma { syn_NC_DB6_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDL21_Acetylcholine_silent_pre[0].vpeer, a_MDL21[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDR16_Acetylcholine
print("Adding continuous projection: NC_DB6_MDR16_Acetylcholine from DB6 to MDR16, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDR16_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR16[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDR16_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR16[0].soma { syn_NC_DB6_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDR16_Acetylcholine_silent_pre[0].vpeer, a_MDR16[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDR16_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDR17_Acetylcholine
print("Adding continuous projection: NC_DB6_MDR17_Acetylcholine from DB6 to MDR17, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDR17_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR17[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDR17_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR17[0].soma { syn_NC_DB6_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDR17_Acetylcholine_silent_pre[0].vpeer, a_MDR17[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDR17_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDR18_Acetylcholine
print("Adding continuous projection: NC_DB6_MDR18_Acetylcholine from DB6 to MDR18, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDR18_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR18[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDR18_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR18[0].soma { syn_NC_DB6_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDR18_Acetylcholine_silent_pre[0].vpeer, a_MDR18[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDR18_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDR19_Acetylcholine
print("Adding continuous projection: NC_DB6_MDR19_Acetylcholine from DB6 to MDR19, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDR19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDR19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR19[0].soma { syn_NC_DB6_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDR19_Acetylcholine_silent_pre[0].vpeer, a_MDR19[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDR20_Acetylcholine
print("Adding continuous projection: NC_DB6_MDR20_Acetylcholine from DB6 to MDR20, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDR20_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR20[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDR20_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR20[0].soma { syn_NC_DB6_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDR20_Acetylcholine_silent_pre[0].vpeer, a_MDR20[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB6_MDR21_Acetylcholine
print("Adding continuous projection: NC_DB6_MDR21_Acetylcholine from DB6 to MDR21, with 1 connection(s)")
h("objectvar syn_NC_DB6_MDR21_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB6_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB6[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR21[0].soma], weight: 1.0
h("a_DB6[0].soma { syn_NC_DB6_MDR21_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR21[0].soma { syn_NC_DB6_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB6_MDR21_Acetylcholine_silent_pre[0].vpeer, a_MDR21[0].soma.v(0.500000)")
h("setpointer syn_NC_DB6_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB6[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDL19_Acetylcholine
print("Adding continuous projection: NC_DB7_MDL19_Acetylcholine from DB7 to MDL19, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDL19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL19[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDL19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL19[0].soma { syn_NC_DB7_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDL19_Acetylcholine_silent_pre[0].vpeer, a_MDL19[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDL19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDL20_Acetylcholine
print("Adding continuous projection: NC_DB7_MDL20_Acetylcholine from DB7 to MDL20, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDL20_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL20[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDL20_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL20[0].soma { syn_NC_DB7_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDL20_Acetylcholine_silent_pre[0].vpeer, a_MDL20[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDL20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDL21_Acetylcholine
print("Adding continuous projection: NC_DB7_MDL21_Acetylcholine from DB7 to MDL21, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDL21_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL21[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDL21_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL21[0].soma { syn_NC_DB7_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDL21_Acetylcholine_silent_pre[0].vpeer, a_MDL21[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDL21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDL22_Acetylcholine
print("Adding continuous projection: NC_DB7_MDL22_Acetylcholine from DB7 to MDL22, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDL22_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDL22_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL22[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDL22_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL22[0].soma { syn_NC_DB7_MDL22_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDL22_Acetylcholine_silent_pre[0].vpeer, a_MDL22[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDL22_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDL23_Acetylcholine
print("Adding continuous projection: NC_DB7_MDL23_Acetylcholine from DB7 to MDL23, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDL23_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDL23_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL23[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDL23_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL23[0].soma { syn_NC_DB7_MDL23_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDL23_Acetylcholine_silent_pre[0].vpeer, a_MDL23[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDL23_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDL24_Acetylcholine
print("Adding continuous projection: NC_DB7_MDL24_Acetylcholine from DB7 to MDL24, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDL24_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDL24_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDL24[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDL24_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDL24[0].soma { syn_NC_DB7_MDL24_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDL24_Acetylcholine_silent_pre[0].vpeer, a_MDL24[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDL24_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDR19_Acetylcholine
print("Adding continuous projection: NC_DB7_MDR19_Acetylcholine from DB7 to MDR19, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDR19_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR19[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDR19_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR19[0].soma { syn_NC_DB7_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDR19_Acetylcholine_silent_pre[0].vpeer, a_MDR19[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDR19_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDR20_Acetylcholine
print("Adding continuous projection: NC_DB7_MDR20_Acetylcholine from DB7 to MDR20, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDR20_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR20[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDR20_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR20[0].soma { syn_NC_DB7_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDR20_Acetylcholine_silent_pre[0].vpeer, a_MDR20[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDR20_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDR21_Acetylcholine
print("Adding continuous projection: NC_DB7_MDR21_Acetylcholine from DB7 to MDR21, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDR21_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR21[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDR21_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR21[0].soma { syn_NC_DB7_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDR21_Acetylcholine_silent_pre[0].vpeer, a_MDR21[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDR21_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDR22_Acetylcholine
print("Adding continuous projection: NC_DB7_MDR22_Acetylcholine from DB7 to MDR22, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDR22_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDR22_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR22[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDR22_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR22[0].soma { syn_NC_DB7_MDR22_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDR22_Acetylcholine_silent_pre[0].vpeer, a_MDR22[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDR22_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDR23_Acetylcholine
print("Adding continuous projection: NC_DB7_MDR23_Acetylcholine from DB7 to MDR23, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDR23_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDR23_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR23[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDR23_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR23[0].soma { syn_NC_DB7_MDR23_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDR23_Acetylcholine_silent_pre[0].vpeer, a_MDR23[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDR23_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Continuous Projection: NC_DB7_MDR24_Acetylcholine
print("Adding continuous projection: NC_DB7_MDR24_Acetylcholine from DB7 to MDR24, with 1 connection(s)")
h("objectvar syn_NC_DB7_MDR24_Acetylcholine_silent_pre[1]")
h("objectvar syn_NC_DB7_MDR24_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[1]")
# Continuous Connection 0: cell 0, seg 0 (0.5) [0.5 on a_DB7[0].soma] -> cell 0, seg 0 (0.5) [0.5 on a_MDR24[0].soma], weight: 1.0
h("a_DB7[0].soma { syn_NC_DB7_MDR24_Acetylcholine_silent_pre[0] = new silent(0.500000) }")
h("a_MDR24[0].soma { syn_NC_DB7_MDR24_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0] = new neuron_to_muscle_exc_syn_2conns(0.500000) }")
h("setpointer syn_NC_DB7_MDR24_Acetylcholine_silent_pre[0].vpeer, a_MDR24[0].soma.v(0.500000)")
h("setpointer syn_NC_DB7_MDR24_Acetylcholine_neuron_to_muscle_exc_syn_2conns_post[0].vpeer, a_DB7[0].soma.v(0.500000)")
# ###################### Input List: Input_AVBL_stim_AVBL_1
print("Adding input list: Input_AVBL_stim_AVBL_1 to AVBL, with 1 inputs of type stim_AVBL_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AVBL_stim_AVBL_1_0")
h("a_AVBL[0].soma { Input_AVBL_stim_AVBL_1_0 = new stim_AVBL_1(0.5) } ")
# ###################### Input List: Input_AVBR_stim_AVBR_1
print("Adding input list: Input_AVBR_stim_AVBR_1 to AVBR, with 1 inputs of type stim_AVBR_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AVBR_stim_AVBR_1_0")
h("a_AVBR[0].soma { Input_AVBR_stim_AVBR_1_0 = new stim_AVBR_1(0.5) } ")
# ###################### Input List: Input_AS1_stim_AS1_1
print("Adding input list: Input_AS1_stim_AS1_1 to AS1, with 1 inputs of type stim_AS1_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS1_stim_AS1_1_0")
h("a_AS1[0].soma { Input_AS1_stim_AS1_1_0 = new stim_AS1_1(0.5) } ")
# ###################### Input List: Input_AS2_stim_AS2_1
print("Adding input list: Input_AS2_stim_AS2_1 to AS2, with 1 inputs of type stim_AS2_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS2_stim_AS2_1_0")
h("a_AS2[0].soma { Input_AS2_stim_AS2_1_0 = new stim_AS2_1(0.5) } ")
# ###################### Input List: Input_AS3_stim_AS3_1
print("Adding input list: Input_AS3_stim_AS3_1 to AS3, with 1 inputs of type stim_AS3_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS3_stim_AS3_1_0")
h("a_AS3[0].soma { Input_AS3_stim_AS3_1_0 = new stim_AS3_1(0.5) } ")
# ###################### Input List: Input_AS4_stim_AS4_1
print("Adding input list: Input_AS4_stim_AS4_1 to AS4, with 1 inputs of type stim_AS4_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS4_stim_AS4_1_0")
h("a_AS4[0].soma { Input_AS4_stim_AS4_1_0 = new stim_AS4_1(0.5) } ")
# ###################### Input List: Input_AS5_stim_AS5_1
print("Adding input list: Input_AS5_stim_AS5_1 to AS5, with 1 inputs of type stim_AS5_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS5_stim_AS5_1_0")
h("a_AS5[0].soma { Input_AS5_stim_AS5_1_0 = new stim_AS5_1(0.5) } ")
# ###################### Input List: Input_AS6_stim_AS6_1
print("Adding input list: Input_AS6_stim_AS6_1 to AS6, with 1 inputs of type stim_AS6_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS6_stim_AS6_1_0")
h("a_AS6[0].soma { Input_AS6_stim_AS6_1_0 = new stim_AS6_1(0.5) } ")
# ###################### Input List: Input_AS7_stim_AS7_1
print("Adding input list: Input_AS7_stim_AS7_1 to AS7, with 1 inputs of type stim_AS7_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS7_stim_AS7_1_0")
h("a_AS7[0].soma { Input_AS7_stim_AS7_1_0 = new stim_AS7_1(0.5) } ")
# ###################### Input List: Input_AS8_stim_AS8_1
print("Adding input list: Input_AS8_stim_AS8_1 to AS8, with 1 inputs of type stim_AS8_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS8_stim_AS8_1_0")
h("a_AS8[0].soma { Input_AS8_stim_AS8_1_0 = new stim_AS8_1(0.5) } ")
# ###################### Input List: Input_AS9_stim_AS9_1
print("Adding input list: Input_AS9_stim_AS9_1 to AS9, with 1 inputs of type stim_AS9_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS9_stim_AS9_1_0")
h("a_AS9[0].soma { Input_AS9_stim_AS9_1_0 = new stim_AS9_1(0.5) } ")
# ###################### Input List: Input_AS10_stim_AS10_1
print("Adding input list: Input_AS10_stim_AS10_1 to AS10, with 1 inputs of type stim_AS10_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS10_stim_AS10_1_0")
h("a_AS10[0].soma { Input_AS10_stim_AS10_1_0 = new stim_AS10_1(0.5) } ")
# ###################### Input List: Input_AS11_stim_AS11_1
print("Adding input list: Input_AS11_stim_AS11_1 to AS11, with 1 inputs of type stim_AS11_1")
# Adding single input: Component(id=0 type=input)
h("objref Input_AS11_stim_AS11_1_0")
h("a_AS11[0].soma { Input_AS11_stim_AS11_1_0 = new stim_AS11_1(0.5) } ")
trec = h.Vector()
trec.record(h._ref_t)
h.tstop = tstop
h.dt = dt
h.steps_per_ms = 1/h.dt
# ###################### File to save: c302_C2_AS_DA_DB.activity.dat (neurons_activity)
# Column: AS1/0/GenericNeuronCell/caConc
h(' objectvar v_AS1_v_neurons_activity ')
h(' { v_AS1_v_neurons_activity = new Vector() } ')
h(' { v_AS1_v_neurons_activity.record(&a_AS1[0].soma.cai(0.5)) } ')
h.v_AS1_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS10/0/GenericNeuronCell/caConc
h(' objectvar v_AS10_v_neurons_activity ')
h(' { v_AS10_v_neurons_activity = new Vector() } ')
h(' { v_AS10_v_neurons_activity.record(&a_AS10[0].soma.cai(0.5)) } ')
h.v_AS10_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS11/0/GenericNeuronCell/caConc
h(' objectvar v_AS11_v_neurons_activity ')
h(' { v_AS11_v_neurons_activity = new Vector() } ')
h(' { v_AS11_v_neurons_activity.record(&a_AS11[0].soma.cai(0.5)) } ')
h.v_AS11_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS2/0/GenericNeuronCell/caConc
h(' objectvar v_AS2_v_neurons_activity ')
h(' { v_AS2_v_neurons_activity = new Vector() } ')
h(' { v_AS2_v_neurons_activity.record(&a_AS2[0].soma.cai(0.5)) } ')
h.v_AS2_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS3/0/GenericNeuronCell/caConc
h(' objectvar v_AS3_v_neurons_activity ')
h(' { v_AS3_v_neurons_activity = new Vector() } ')
h(' { v_AS3_v_neurons_activity.record(&a_AS3[0].soma.cai(0.5)) } ')
h.v_AS3_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS4/0/GenericNeuronCell/caConc
h(' objectvar v_AS4_v_neurons_activity ')
h(' { v_AS4_v_neurons_activity = new Vector() } ')
h(' { v_AS4_v_neurons_activity.record(&a_AS4[0].soma.cai(0.5)) } ')
h.v_AS4_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS5/0/GenericNeuronCell/caConc
h(' objectvar v_AS5_v_neurons_activity ')
h(' { v_AS5_v_neurons_activity = new Vector() } ')
h(' { v_AS5_v_neurons_activity.record(&a_AS5[0].soma.cai(0.5)) } ')
h.v_AS5_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS6/0/GenericNeuronCell/caConc
h(' objectvar v_AS6_v_neurons_activity ')
h(' { v_AS6_v_neurons_activity = new Vector() } ')
h(' { v_AS6_v_neurons_activity.record(&a_AS6[0].soma.cai(0.5)) } ')
h.v_AS6_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS7/0/GenericNeuronCell/caConc
h(' objectvar v_AS7_v_neurons_activity ')
h(' { v_AS7_v_neurons_activity = new Vector() } ')
h(' { v_AS7_v_neurons_activity.record(&a_AS7[0].soma.cai(0.5)) } ')
h.v_AS7_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS8/0/GenericNeuronCell/caConc
h(' objectvar v_AS8_v_neurons_activity ')
h(' { v_AS8_v_neurons_activity = new Vector() } ')
h(' { v_AS8_v_neurons_activity.record(&a_AS8[0].soma.cai(0.5)) } ')
h.v_AS8_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS9/0/GenericNeuronCell/caConc
h(' objectvar v_AS9_v_neurons_activity ')
h(' { v_AS9_v_neurons_activity = new Vector() } ')
h(' { v_AS9_v_neurons_activity.record(&a_AS9[0].soma.cai(0.5)) } ')
h.v_AS9_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AVAL/0/GenericNeuronCell/caConc
h(' objectvar v_AVAL_v_neurons_activity ')
h(' { v_AVAL_v_neurons_activity = new Vector() } ')
h(' { v_AVAL_v_neurons_activity.record(&a_AVAL[0].soma.cai(0.5)) } ')
h.v_AVAL_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AVAR/0/GenericNeuronCell/caConc
h(' objectvar v_AVAR_v_neurons_activity ')
h(' { v_AVAR_v_neurons_activity = new Vector() } ')
h(' { v_AVAR_v_neurons_activity.record(&a_AVAR[0].soma.cai(0.5)) } ')
h.v_AVAR_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AVBL/0/GenericNeuronCell/caConc
h(' objectvar v_AVBL_v_neurons_activity ')
h(' { v_AVBL_v_neurons_activity = new Vector() } ')
h(' { v_AVBL_v_neurons_activity.record(&a_AVBL[0].soma.cai(0.5)) } ')
h.v_AVBL_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AVBR/0/GenericNeuronCell/caConc
h(' objectvar v_AVBR_v_neurons_activity ')
h(' { v_AVBR_v_neurons_activity = new Vector() } ')
h(' { v_AVBR_v_neurons_activity.record(&a_AVBR[0].soma.cai(0.5)) } ')
h.v_AVBR_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA1/0/GenericNeuronCell/caConc
h(' objectvar v_DA1_v_neurons_activity ')
h(' { v_DA1_v_neurons_activity = new Vector() } ')
h(' { v_DA1_v_neurons_activity.record(&a_DA1[0].soma.cai(0.5)) } ')
h.v_DA1_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA2/0/GenericNeuronCell/caConc
h(' objectvar v_DA2_v_neurons_activity ')
h(' { v_DA2_v_neurons_activity = new Vector() } ')
h(' { v_DA2_v_neurons_activity.record(&a_DA2[0].soma.cai(0.5)) } ')
h.v_DA2_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA3/0/GenericNeuronCell/caConc
h(' objectvar v_DA3_v_neurons_activity ')
h(' { v_DA3_v_neurons_activity = new Vector() } ')
h(' { v_DA3_v_neurons_activity.record(&a_DA3[0].soma.cai(0.5)) } ')
h.v_DA3_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA4/0/GenericNeuronCell/caConc
h(' objectvar v_DA4_v_neurons_activity ')
h(' { v_DA4_v_neurons_activity = new Vector() } ')
h(' { v_DA4_v_neurons_activity.record(&a_DA4[0].soma.cai(0.5)) } ')
h.v_DA4_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA5/0/GenericNeuronCell/caConc
h(' objectvar v_DA5_v_neurons_activity ')
h(' { v_DA5_v_neurons_activity = new Vector() } ')
h(' { v_DA5_v_neurons_activity.record(&a_DA5[0].soma.cai(0.5)) } ')
h.v_DA5_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA6/0/GenericNeuronCell/caConc
h(' objectvar v_DA6_v_neurons_activity ')
h(' { v_DA6_v_neurons_activity = new Vector() } ')
h(' { v_DA6_v_neurons_activity.record(&a_DA6[0].soma.cai(0.5)) } ')
h.v_DA6_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA7/0/GenericNeuronCell/caConc
h(' objectvar v_DA7_v_neurons_activity ')
h(' { v_DA7_v_neurons_activity = new Vector() } ')
h(' { v_DA7_v_neurons_activity.record(&a_DA7[0].soma.cai(0.5)) } ')
h.v_DA7_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA8/0/GenericNeuronCell/caConc
h(' objectvar v_DA8_v_neurons_activity ')
h(' { v_DA8_v_neurons_activity = new Vector() } ')
h(' { v_DA8_v_neurons_activity.record(&a_DA8[0].soma.cai(0.5)) } ')
h.v_DA8_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA9/0/GenericNeuronCell/caConc
h(' objectvar v_DA9_v_neurons_activity ')
h(' { v_DA9_v_neurons_activity = new Vector() } ')
h(' { v_DA9_v_neurons_activity.record(&a_DA9[0].soma.cai(0.5)) } ')
h.v_DA9_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB1/0/GenericNeuronCell/caConc
h(' objectvar v_DB1_v_neurons_activity ')
h(' { v_DB1_v_neurons_activity = new Vector() } ')
h(' { v_DB1_v_neurons_activity.record(&a_DB1[0].soma.cai(0.5)) } ')
h.v_DB1_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB2/0/GenericNeuronCell/caConc
h(' objectvar v_DB2_v_neurons_activity ')
h(' { v_DB2_v_neurons_activity = new Vector() } ')
h(' { v_DB2_v_neurons_activity.record(&a_DB2[0].soma.cai(0.5)) } ')
h.v_DB2_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB3/0/GenericNeuronCell/caConc
h(' objectvar v_DB3_v_neurons_activity ')
h(' { v_DB3_v_neurons_activity = new Vector() } ')
h(' { v_DB3_v_neurons_activity.record(&a_DB3[0].soma.cai(0.5)) } ')
h.v_DB3_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB4/0/GenericNeuronCell/caConc
h(' objectvar v_DB4_v_neurons_activity ')
h(' { v_DB4_v_neurons_activity = new Vector() } ')
h(' { v_DB4_v_neurons_activity.record(&a_DB4[0].soma.cai(0.5)) } ')
h.v_DB4_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB5/0/GenericNeuronCell/caConc
h(' objectvar v_DB5_v_neurons_activity ')
h(' { v_DB5_v_neurons_activity = new Vector() } ')
h(' { v_DB5_v_neurons_activity.record(&a_DB5[0].soma.cai(0.5)) } ')
h.v_DB5_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB6/0/GenericNeuronCell/caConc
h(' objectvar v_DB6_v_neurons_activity ')
h(' { v_DB6_v_neurons_activity = new Vector() } ')
h(' { v_DB6_v_neurons_activity.record(&a_DB6[0].soma.cai(0.5)) } ')
h.v_DB6_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB7/0/GenericNeuronCell/caConc
h(' objectvar v_DB7_v_neurons_activity ')
h(' { v_DB7_v_neurons_activity = new Vector() } ')
h(' { v_DB7_v_neurons_activity.record(&a_DB7[0].soma.cai(0.5)) } ')
h.v_DB7_v_neurons_activity.resize((h.tstop * h.steps_per_ms) + 1)
# ###################### File to save: c302_C2_AS_DA_DB.muscles.dat (muscles_v)
# Column: MDR01/0/GenericMuscleCell/v
h(' objectvar v_MDR01_v_muscles_v ')
h(' { v_MDR01_v_muscles_v = new Vector() } ')
h(' { v_MDR01_v_muscles_v.record(&a_MDR01[0].soma.v(0.5)) } ')
h.v_MDR01_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR02/0/GenericMuscleCell/v
h(' objectvar v_MDR02_v_muscles_v ')
h(' { v_MDR02_v_muscles_v = new Vector() } ')
h(' { v_MDR02_v_muscles_v.record(&a_MDR02[0].soma.v(0.5)) } ')
h.v_MDR02_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR03/0/GenericMuscleCell/v
h(' objectvar v_MDR03_v_muscles_v ')
h(' { v_MDR03_v_muscles_v = new Vector() } ')
h(' { v_MDR03_v_muscles_v.record(&a_MDR03[0].soma.v(0.5)) } ')
h.v_MDR03_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR04/0/GenericMuscleCell/v
h(' objectvar v_MDR04_v_muscles_v ')
h(' { v_MDR04_v_muscles_v = new Vector() } ')
h(' { v_MDR04_v_muscles_v.record(&a_MDR04[0].soma.v(0.5)) } ')
h.v_MDR04_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR05/0/GenericMuscleCell/v
h(' objectvar v_MDR05_v_muscles_v ')
h(' { v_MDR05_v_muscles_v = new Vector() } ')
h(' { v_MDR05_v_muscles_v.record(&a_MDR05[0].soma.v(0.5)) } ')
h.v_MDR05_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR06/0/GenericMuscleCell/v
h(' objectvar v_MDR06_v_muscles_v ')
h(' { v_MDR06_v_muscles_v = new Vector() } ')
h(' { v_MDR06_v_muscles_v.record(&a_MDR06[0].soma.v(0.5)) } ')
h.v_MDR06_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR07/0/GenericMuscleCell/v
h(' objectvar v_MDR07_v_muscles_v ')
h(' { v_MDR07_v_muscles_v = new Vector() } ')
h(' { v_MDR07_v_muscles_v.record(&a_MDR07[0].soma.v(0.5)) } ')
h.v_MDR07_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR08/0/GenericMuscleCell/v
h(' objectvar v_MDR08_v_muscles_v ')
h(' { v_MDR08_v_muscles_v = new Vector() } ')
h(' { v_MDR08_v_muscles_v.record(&a_MDR08[0].soma.v(0.5)) } ')
h.v_MDR08_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR09/0/GenericMuscleCell/v
h(' objectvar v_MDR09_v_muscles_v ')
h(' { v_MDR09_v_muscles_v = new Vector() } ')
h(' { v_MDR09_v_muscles_v.record(&a_MDR09[0].soma.v(0.5)) } ')
h.v_MDR09_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR10/0/GenericMuscleCell/v
h(' objectvar v_MDR10_v_muscles_v ')
h(' { v_MDR10_v_muscles_v = new Vector() } ')
h(' { v_MDR10_v_muscles_v.record(&a_MDR10[0].soma.v(0.5)) } ')
h.v_MDR10_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR11/0/GenericMuscleCell/v
h(' objectvar v_MDR11_v_muscles_v ')
h(' { v_MDR11_v_muscles_v = new Vector() } ')
h(' { v_MDR11_v_muscles_v.record(&a_MDR11[0].soma.v(0.5)) } ')
h.v_MDR11_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR12/0/GenericMuscleCell/v
h(' objectvar v_MDR12_v_muscles_v ')
h(' { v_MDR12_v_muscles_v = new Vector() } ')
h(' { v_MDR12_v_muscles_v.record(&a_MDR12[0].soma.v(0.5)) } ')
h.v_MDR12_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR13/0/GenericMuscleCell/v
h(' objectvar v_MDR13_v_muscles_v ')
h(' { v_MDR13_v_muscles_v = new Vector() } ')
h(' { v_MDR13_v_muscles_v.record(&a_MDR13[0].soma.v(0.5)) } ')
h.v_MDR13_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR14/0/GenericMuscleCell/v
h(' objectvar v_MDR14_v_muscles_v ')
h(' { v_MDR14_v_muscles_v = new Vector() } ')
h(' { v_MDR14_v_muscles_v.record(&a_MDR14[0].soma.v(0.5)) } ')
h.v_MDR14_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR15/0/GenericMuscleCell/v
h(' objectvar v_MDR15_v_muscles_v ')
h(' { v_MDR15_v_muscles_v = new Vector() } ')
h(' { v_MDR15_v_muscles_v.record(&a_MDR15[0].soma.v(0.5)) } ')
h.v_MDR15_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR16/0/GenericMuscleCell/v
h(' objectvar v_MDR16_v_muscles_v ')
h(' { v_MDR16_v_muscles_v = new Vector() } ')
h(' { v_MDR16_v_muscles_v.record(&a_MDR16[0].soma.v(0.5)) } ')
h.v_MDR16_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR17/0/GenericMuscleCell/v
h(' objectvar v_MDR17_v_muscles_v ')
h(' { v_MDR17_v_muscles_v = new Vector() } ')
h(' { v_MDR17_v_muscles_v.record(&a_MDR17[0].soma.v(0.5)) } ')
h.v_MDR17_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR18/0/GenericMuscleCell/v
h(' objectvar v_MDR18_v_muscles_v ')
h(' { v_MDR18_v_muscles_v = new Vector() } ')
h(' { v_MDR18_v_muscles_v.record(&a_MDR18[0].soma.v(0.5)) } ')
h.v_MDR18_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR19/0/GenericMuscleCell/v
h(' objectvar v_MDR19_v_muscles_v ')
h(' { v_MDR19_v_muscles_v = new Vector() } ')
h(' { v_MDR19_v_muscles_v.record(&a_MDR19[0].soma.v(0.5)) } ')
h.v_MDR19_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR20/0/GenericMuscleCell/v
h(' objectvar v_MDR20_v_muscles_v ')
h(' { v_MDR20_v_muscles_v = new Vector() } ')
h(' { v_MDR20_v_muscles_v.record(&a_MDR20[0].soma.v(0.5)) } ')
h.v_MDR20_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR21/0/GenericMuscleCell/v
h(' objectvar v_MDR21_v_muscles_v ')
h(' { v_MDR21_v_muscles_v = new Vector() } ')
h(' { v_MDR21_v_muscles_v.record(&a_MDR21[0].soma.v(0.5)) } ')
h.v_MDR21_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR22/0/GenericMuscleCell/v
h(' objectvar v_MDR22_v_muscles_v ')
h(' { v_MDR22_v_muscles_v = new Vector() } ')
h(' { v_MDR22_v_muscles_v.record(&a_MDR22[0].soma.v(0.5)) } ')
h.v_MDR22_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR23/0/GenericMuscleCell/v
h(' objectvar v_MDR23_v_muscles_v ')
h(' { v_MDR23_v_muscles_v = new Vector() } ')
h(' { v_MDR23_v_muscles_v.record(&a_MDR23[0].soma.v(0.5)) } ')
h.v_MDR23_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR24/0/GenericMuscleCell/v
h(' objectvar v_MDR24_v_muscles_v ')
h(' { v_MDR24_v_muscles_v = new Vector() } ')
h(' { v_MDR24_v_muscles_v.record(&a_MDR24[0].soma.v(0.5)) } ')
h.v_MDR24_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR01/0/GenericMuscleCell/v
h(' objectvar v_MVR01_v_muscles_v ')
h(' { v_MVR01_v_muscles_v = new Vector() } ')
h(' { v_MVR01_v_muscles_v.record(&a_MVR01[0].soma.v(0.5)) } ')
h.v_MVR01_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR02/0/GenericMuscleCell/v
h(' objectvar v_MVR02_v_muscles_v ')
h(' { v_MVR02_v_muscles_v = new Vector() } ')
h(' { v_MVR02_v_muscles_v.record(&a_MVR02[0].soma.v(0.5)) } ')
h.v_MVR02_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR03/0/GenericMuscleCell/v
h(' objectvar v_MVR03_v_muscles_v ')
h(' { v_MVR03_v_muscles_v = new Vector() } ')
h(' { v_MVR03_v_muscles_v.record(&a_MVR03[0].soma.v(0.5)) } ')
h.v_MVR03_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR04/0/GenericMuscleCell/v
h(' objectvar v_MVR04_v_muscles_v ')
h(' { v_MVR04_v_muscles_v = new Vector() } ')
h(' { v_MVR04_v_muscles_v.record(&a_MVR04[0].soma.v(0.5)) } ')
h.v_MVR04_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR05/0/GenericMuscleCell/v
h(' objectvar v_MVR05_v_muscles_v ')
h(' { v_MVR05_v_muscles_v = new Vector() } ')
h(' { v_MVR05_v_muscles_v.record(&a_MVR05[0].soma.v(0.5)) } ')
h.v_MVR05_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR06/0/GenericMuscleCell/v
h(' objectvar v_MVR06_v_muscles_v ')
h(' { v_MVR06_v_muscles_v = new Vector() } ')
h(' { v_MVR06_v_muscles_v.record(&a_MVR06[0].soma.v(0.5)) } ')
h.v_MVR06_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR07/0/GenericMuscleCell/v
h(' objectvar v_MVR07_v_muscles_v ')
h(' { v_MVR07_v_muscles_v = new Vector() } ')
h(' { v_MVR07_v_muscles_v.record(&a_MVR07[0].soma.v(0.5)) } ')
h.v_MVR07_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR08/0/GenericMuscleCell/v
h(' objectvar v_MVR08_v_muscles_v ')
h(' { v_MVR08_v_muscles_v = new Vector() } ')
h(' { v_MVR08_v_muscles_v.record(&a_MVR08[0].soma.v(0.5)) } ')
h.v_MVR08_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR09/0/GenericMuscleCell/v
h(' objectvar v_MVR09_v_muscles_v ')
h(' { v_MVR09_v_muscles_v = new Vector() } ')
h(' { v_MVR09_v_muscles_v.record(&a_MVR09[0].soma.v(0.5)) } ')
h.v_MVR09_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR10/0/GenericMuscleCell/v
h(' objectvar v_MVR10_v_muscles_v ')
h(' { v_MVR10_v_muscles_v = new Vector() } ')
h(' { v_MVR10_v_muscles_v.record(&a_MVR10[0].soma.v(0.5)) } ')
h.v_MVR10_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR11/0/GenericMuscleCell/v
h(' objectvar v_MVR11_v_muscles_v ')
h(' { v_MVR11_v_muscles_v = new Vector() } ')
h(' { v_MVR11_v_muscles_v.record(&a_MVR11[0].soma.v(0.5)) } ')
h.v_MVR11_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR12/0/GenericMuscleCell/v
h(' objectvar v_MVR12_v_muscles_v ')
h(' { v_MVR12_v_muscles_v = new Vector() } ')
h(' { v_MVR12_v_muscles_v.record(&a_MVR12[0].soma.v(0.5)) } ')
h.v_MVR12_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR13/0/GenericMuscleCell/v
h(' objectvar v_MVR13_v_muscles_v ')
h(' { v_MVR13_v_muscles_v = new Vector() } ')
h(' { v_MVR13_v_muscles_v.record(&a_MVR13[0].soma.v(0.5)) } ')
h.v_MVR13_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR14/0/GenericMuscleCell/v
h(' objectvar v_MVR14_v_muscles_v ')
h(' { v_MVR14_v_muscles_v = new Vector() } ')
h(' { v_MVR14_v_muscles_v.record(&a_MVR14[0].soma.v(0.5)) } ')
h.v_MVR14_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR15/0/GenericMuscleCell/v
h(' objectvar v_MVR15_v_muscles_v ')
h(' { v_MVR15_v_muscles_v = new Vector() } ')
h(' { v_MVR15_v_muscles_v.record(&a_MVR15[0].soma.v(0.5)) } ')
h.v_MVR15_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR16/0/GenericMuscleCell/v
h(' objectvar v_MVR16_v_muscles_v ')
h(' { v_MVR16_v_muscles_v = new Vector() } ')
h(' { v_MVR16_v_muscles_v.record(&a_MVR16[0].soma.v(0.5)) } ')
h.v_MVR16_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR17/0/GenericMuscleCell/v
h(' objectvar v_MVR17_v_muscles_v ')
h(' { v_MVR17_v_muscles_v = new Vector() } ')
h(' { v_MVR17_v_muscles_v.record(&a_MVR17[0].soma.v(0.5)) } ')
h.v_MVR17_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR18/0/GenericMuscleCell/v
h(' objectvar v_MVR18_v_muscles_v ')
h(' { v_MVR18_v_muscles_v = new Vector() } ')
h(' { v_MVR18_v_muscles_v.record(&a_MVR18[0].soma.v(0.5)) } ')
h.v_MVR18_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR19/0/GenericMuscleCell/v
h(' objectvar v_MVR19_v_muscles_v ')
h(' { v_MVR19_v_muscles_v = new Vector() } ')
h(' { v_MVR19_v_muscles_v.record(&a_MVR19[0].soma.v(0.5)) } ')
h.v_MVR19_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR20/0/GenericMuscleCell/v
h(' objectvar v_MVR20_v_muscles_v ')
h(' { v_MVR20_v_muscles_v = new Vector() } ')
h(' { v_MVR20_v_muscles_v.record(&a_MVR20[0].soma.v(0.5)) } ')
h.v_MVR20_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR21/0/GenericMuscleCell/v
h(' objectvar v_MVR21_v_muscles_v ')
h(' { v_MVR21_v_muscles_v = new Vector() } ')
h(' { v_MVR21_v_muscles_v.record(&a_MVR21[0].soma.v(0.5)) } ')
h.v_MVR21_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR22/0/GenericMuscleCell/v
h(' objectvar v_MVR22_v_muscles_v ')
h(' { v_MVR22_v_muscles_v = new Vector() } ')
h(' { v_MVR22_v_muscles_v.record(&a_MVR22[0].soma.v(0.5)) } ')
h.v_MVR22_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR23/0/GenericMuscleCell/v
h(' objectvar v_MVR23_v_muscles_v ')
h(' { v_MVR23_v_muscles_v = new Vector() } ')
h(' { v_MVR23_v_muscles_v.record(&a_MVR23[0].soma.v(0.5)) } ')
h.v_MVR23_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL01/0/GenericMuscleCell/v
h(' objectvar v_MVL01_v_muscles_v ')
h(' { v_MVL01_v_muscles_v = new Vector() } ')
h(' { v_MVL01_v_muscles_v.record(&a_MVL01[0].soma.v(0.5)) } ')
h.v_MVL01_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL02/0/GenericMuscleCell/v
h(' objectvar v_MVL02_v_muscles_v ')
h(' { v_MVL02_v_muscles_v = new Vector() } ')
h(' { v_MVL02_v_muscles_v.record(&a_MVL02[0].soma.v(0.5)) } ')
h.v_MVL02_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL03/0/GenericMuscleCell/v
h(' objectvar v_MVL03_v_muscles_v ')
h(' { v_MVL03_v_muscles_v = new Vector() } ')
h(' { v_MVL03_v_muscles_v.record(&a_MVL03[0].soma.v(0.5)) } ')
h.v_MVL03_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL04/0/GenericMuscleCell/v
h(' objectvar v_MVL04_v_muscles_v ')
h(' { v_MVL04_v_muscles_v = new Vector() } ')
h(' { v_MVL04_v_muscles_v.record(&a_MVL04[0].soma.v(0.5)) } ')
h.v_MVL04_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL05/0/GenericMuscleCell/v
h(' objectvar v_MVL05_v_muscles_v ')
h(' { v_MVL05_v_muscles_v = new Vector() } ')
h(' { v_MVL05_v_muscles_v.record(&a_MVL05[0].soma.v(0.5)) } ')
h.v_MVL05_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL06/0/GenericMuscleCell/v
h(' objectvar v_MVL06_v_muscles_v ')
h(' { v_MVL06_v_muscles_v = new Vector() } ')
h(' { v_MVL06_v_muscles_v.record(&a_MVL06[0].soma.v(0.5)) } ')
h.v_MVL06_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL07/0/GenericMuscleCell/v
h(' objectvar v_MVL07_v_muscles_v ')
h(' { v_MVL07_v_muscles_v = new Vector() } ')
h(' { v_MVL07_v_muscles_v.record(&a_MVL07[0].soma.v(0.5)) } ')
h.v_MVL07_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL08/0/GenericMuscleCell/v
h(' objectvar v_MVL08_v_muscles_v ')
h(' { v_MVL08_v_muscles_v = new Vector() } ')
h(' { v_MVL08_v_muscles_v.record(&a_MVL08[0].soma.v(0.5)) } ')
h.v_MVL08_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL09/0/GenericMuscleCell/v
h(' objectvar v_MVL09_v_muscles_v ')
h(' { v_MVL09_v_muscles_v = new Vector() } ')
h(' { v_MVL09_v_muscles_v.record(&a_MVL09[0].soma.v(0.5)) } ')
h.v_MVL09_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL10/0/GenericMuscleCell/v
h(' objectvar v_MVL10_v_muscles_v ')
h(' { v_MVL10_v_muscles_v = new Vector() } ')
h(' { v_MVL10_v_muscles_v.record(&a_MVL10[0].soma.v(0.5)) } ')
h.v_MVL10_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL11/0/GenericMuscleCell/v
h(' objectvar v_MVL11_v_muscles_v ')
h(' { v_MVL11_v_muscles_v = new Vector() } ')
h(' { v_MVL11_v_muscles_v.record(&a_MVL11[0].soma.v(0.5)) } ')
h.v_MVL11_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL12/0/GenericMuscleCell/v
h(' objectvar v_MVL12_v_muscles_v ')
h(' { v_MVL12_v_muscles_v = new Vector() } ')
h(' { v_MVL12_v_muscles_v.record(&a_MVL12[0].soma.v(0.5)) } ')
h.v_MVL12_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL13/0/GenericMuscleCell/v
h(' objectvar v_MVL13_v_muscles_v ')
h(' { v_MVL13_v_muscles_v = new Vector() } ')
h(' { v_MVL13_v_muscles_v.record(&a_MVL13[0].soma.v(0.5)) } ')
h.v_MVL13_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL14/0/GenericMuscleCell/v
h(' objectvar v_MVL14_v_muscles_v ')
h(' { v_MVL14_v_muscles_v = new Vector() } ')
h(' { v_MVL14_v_muscles_v.record(&a_MVL14[0].soma.v(0.5)) } ')
h.v_MVL14_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL15/0/GenericMuscleCell/v
h(' objectvar v_MVL15_v_muscles_v ')
h(' { v_MVL15_v_muscles_v = new Vector() } ')
h(' { v_MVL15_v_muscles_v.record(&a_MVL15[0].soma.v(0.5)) } ')
h.v_MVL15_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL16/0/GenericMuscleCell/v
h(' objectvar v_MVL16_v_muscles_v ')
h(' { v_MVL16_v_muscles_v = new Vector() } ')
h(' { v_MVL16_v_muscles_v.record(&a_MVL16[0].soma.v(0.5)) } ')
h.v_MVL16_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL17/0/GenericMuscleCell/v
h(' objectvar v_MVL17_v_muscles_v ')
h(' { v_MVL17_v_muscles_v = new Vector() } ')
h(' { v_MVL17_v_muscles_v.record(&a_MVL17[0].soma.v(0.5)) } ')
h.v_MVL17_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL18/0/GenericMuscleCell/v
h(' objectvar v_MVL18_v_muscles_v ')
h(' { v_MVL18_v_muscles_v = new Vector() } ')
h(' { v_MVL18_v_muscles_v.record(&a_MVL18[0].soma.v(0.5)) } ')
h.v_MVL18_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL19/0/GenericMuscleCell/v
h(' objectvar v_MVL19_v_muscles_v ')
h(' { v_MVL19_v_muscles_v = new Vector() } ')
h(' { v_MVL19_v_muscles_v.record(&a_MVL19[0].soma.v(0.5)) } ')
h.v_MVL19_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL20/0/GenericMuscleCell/v
h(' objectvar v_MVL20_v_muscles_v ')
h(' { v_MVL20_v_muscles_v = new Vector() } ')
h(' { v_MVL20_v_muscles_v.record(&a_MVL20[0].soma.v(0.5)) } ')
h.v_MVL20_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL21/0/GenericMuscleCell/v
h(' objectvar v_MVL21_v_muscles_v ')
h(' { v_MVL21_v_muscles_v = new Vector() } ')
h(' { v_MVL21_v_muscles_v.record(&a_MVL21[0].soma.v(0.5)) } ')
h.v_MVL21_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL22/0/GenericMuscleCell/v
h(' objectvar v_MVL22_v_muscles_v ')
h(' { v_MVL22_v_muscles_v = new Vector() } ')
h(' { v_MVL22_v_muscles_v.record(&a_MVL22[0].soma.v(0.5)) } ')
h.v_MVL22_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL23/0/GenericMuscleCell/v
h(' objectvar v_MVL23_v_muscles_v ')
h(' { v_MVL23_v_muscles_v = new Vector() } ')
h(' { v_MVL23_v_muscles_v.record(&a_MVL23[0].soma.v(0.5)) } ')
h.v_MVL23_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL24/0/GenericMuscleCell/v
h(' objectvar v_MVL24_v_muscles_v ')
h(' { v_MVL24_v_muscles_v = new Vector() } ')
h(' { v_MVL24_v_muscles_v.record(&a_MVL24[0].soma.v(0.5)) } ')
h.v_MVL24_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL01/0/GenericMuscleCell/v
h(' objectvar v_MDL01_v_muscles_v ')
h(' { v_MDL01_v_muscles_v = new Vector() } ')
h(' { v_MDL01_v_muscles_v.record(&a_MDL01[0].soma.v(0.5)) } ')
h.v_MDL01_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL02/0/GenericMuscleCell/v
h(' objectvar v_MDL02_v_muscles_v ')
h(' { v_MDL02_v_muscles_v = new Vector() } ')
h(' { v_MDL02_v_muscles_v.record(&a_MDL02[0].soma.v(0.5)) } ')
h.v_MDL02_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL03/0/GenericMuscleCell/v
h(' objectvar v_MDL03_v_muscles_v ')
h(' { v_MDL03_v_muscles_v = new Vector() } ')
h(' { v_MDL03_v_muscles_v.record(&a_MDL03[0].soma.v(0.5)) } ')
h.v_MDL03_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL04/0/GenericMuscleCell/v
h(' objectvar v_MDL04_v_muscles_v ')
h(' { v_MDL04_v_muscles_v = new Vector() } ')
h(' { v_MDL04_v_muscles_v.record(&a_MDL04[0].soma.v(0.5)) } ')
h.v_MDL04_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL05/0/GenericMuscleCell/v
h(' objectvar v_MDL05_v_muscles_v ')
h(' { v_MDL05_v_muscles_v = new Vector() } ')
h(' { v_MDL05_v_muscles_v.record(&a_MDL05[0].soma.v(0.5)) } ')
h.v_MDL05_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL06/0/GenericMuscleCell/v
h(' objectvar v_MDL06_v_muscles_v ')
h(' { v_MDL06_v_muscles_v = new Vector() } ')
h(' { v_MDL06_v_muscles_v.record(&a_MDL06[0].soma.v(0.5)) } ')
h.v_MDL06_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL07/0/GenericMuscleCell/v
h(' objectvar v_MDL07_v_muscles_v ')
h(' { v_MDL07_v_muscles_v = new Vector() } ')
h(' { v_MDL07_v_muscles_v.record(&a_MDL07[0].soma.v(0.5)) } ')
h.v_MDL07_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL08/0/GenericMuscleCell/v
h(' objectvar v_MDL08_v_muscles_v ')
h(' { v_MDL08_v_muscles_v = new Vector() } ')
h(' { v_MDL08_v_muscles_v.record(&a_MDL08[0].soma.v(0.5)) } ')
h.v_MDL08_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL09/0/GenericMuscleCell/v
h(' objectvar v_MDL09_v_muscles_v ')
h(' { v_MDL09_v_muscles_v = new Vector() } ')
h(' { v_MDL09_v_muscles_v.record(&a_MDL09[0].soma.v(0.5)) } ')
h.v_MDL09_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL10/0/GenericMuscleCell/v
h(' objectvar v_MDL10_v_muscles_v ')
h(' { v_MDL10_v_muscles_v = new Vector() } ')
h(' { v_MDL10_v_muscles_v.record(&a_MDL10[0].soma.v(0.5)) } ')
h.v_MDL10_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL11/0/GenericMuscleCell/v
h(' objectvar v_MDL11_v_muscles_v ')
h(' { v_MDL11_v_muscles_v = new Vector() } ')
h(' { v_MDL11_v_muscles_v.record(&a_MDL11[0].soma.v(0.5)) } ')
h.v_MDL11_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL12/0/GenericMuscleCell/v
h(' objectvar v_MDL12_v_muscles_v ')
h(' { v_MDL12_v_muscles_v = new Vector() } ')
h(' { v_MDL12_v_muscles_v.record(&a_MDL12[0].soma.v(0.5)) } ')
h.v_MDL12_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL13/0/GenericMuscleCell/v
h(' objectvar v_MDL13_v_muscles_v ')
h(' { v_MDL13_v_muscles_v = new Vector() } ')
h(' { v_MDL13_v_muscles_v.record(&a_MDL13[0].soma.v(0.5)) } ')
h.v_MDL13_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL14/0/GenericMuscleCell/v
h(' objectvar v_MDL14_v_muscles_v ')
h(' { v_MDL14_v_muscles_v = new Vector() } ')
h(' { v_MDL14_v_muscles_v.record(&a_MDL14[0].soma.v(0.5)) } ')
h.v_MDL14_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL15/0/GenericMuscleCell/v
h(' objectvar v_MDL15_v_muscles_v ')
h(' { v_MDL15_v_muscles_v = new Vector() } ')
h(' { v_MDL15_v_muscles_v.record(&a_MDL15[0].soma.v(0.5)) } ')
h.v_MDL15_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL16/0/GenericMuscleCell/v
h(' objectvar v_MDL16_v_muscles_v ')
h(' { v_MDL16_v_muscles_v = new Vector() } ')
h(' { v_MDL16_v_muscles_v.record(&a_MDL16[0].soma.v(0.5)) } ')
h.v_MDL16_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL17/0/GenericMuscleCell/v
h(' objectvar v_MDL17_v_muscles_v ')
h(' { v_MDL17_v_muscles_v = new Vector() } ')
h(' { v_MDL17_v_muscles_v.record(&a_MDL17[0].soma.v(0.5)) } ')
h.v_MDL17_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL18/0/GenericMuscleCell/v
h(' objectvar v_MDL18_v_muscles_v ')
h(' { v_MDL18_v_muscles_v = new Vector() } ')
h(' { v_MDL18_v_muscles_v.record(&a_MDL18[0].soma.v(0.5)) } ')
h.v_MDL18_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL19/0/GenericMuscleCell/v
h(' objectvar v_MDL19_v_muscles_v ')
h(' { v_MDL19_v_muscles_v = new Vector() } ')
h(' { v_MDL19_v_muscles_v.record(&a_MDL19[0].soma.v(0.5)) } ')
h.v_MDL19_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL20/0/GenericMuscleCell/v
h(' objectvar v_MDL20_v_muscles_v ')
h(' { v_MDL20_v_muscles_v = new Vector() } ')
h(' { v_MDL20_v_muscles_v.record(&a_MDL20[0].soma.v(0.5)) } ')
h.v_MDL20_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL21/0/GenericMuscleCell/v
h(' objectvar v_MDL21_v_muscles_v ')
h(' { v_MDL21_v_muscles_v = new Vector() } ')
h(' { v_MDL21_v_muscles_v.record(&a_MDL21[0].soma.v(0.5)) } ')
h.v_MDL21_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL22/0/GenericMuscleCell/v
h(' objectvar v_MDL22_v_muscles_v ')
h(' { v_MDL22_v_muscles_v = new Vector() } ')
h(' { v_MDL22_v_muscles_v.record(&a_MDL22[0].soma.v(0.5)) } ')
h.v_MDL22_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL23/0/GenericMuscleCell/v
h(' objectvar v_MDL23_v_muscles_v ')
h(' { v_MDL23_v_muscles_v = new Vector() } ')
h(' { v_MDL23_v_muscles_v.record(&a_MDL23[0].soma.v(0.5)) } ')
h.v_MDL23_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL24/0/GenericMuscleCell/v
h(' objectvar v_MDL24_v_muscles_v ')
h(' { v_MDL24_v_muscles_v = new Vector() } ')
h(' { v_MDL24_v_muscles_v.record(&a_MDL24[0].soma.v(0.5)) } ')
h.v_MDL24_v_muscles_v.resize((h.tstop * h.steps_per_ms) + 1)
# ###################### File to save: c302_C2_AS_DA_DB.muscles.activity.dat (muscles_activity)
# Column: MDR01/0/GenericMuscleCell/caConc
h(' objectvar v_MDR01_v_muscles_activity ')
h(' { v_MDR01_v_muscles_activity = new Vector() } ')
h(' { v_MDR01_v_muscles_activity.record(&a_MDR01[0].soma.cai(0.5)) } ')
h.v_MDR01_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR02/0/GenericMuscleCell/caConc
h(' objectvar v_MDR02_v_muscles_activity ')
h(' { v_MDR02_v_muscles_activity = new Vector() } ')
h(' { v_MDR02_v_muscles_activity.record(&a_MDR02[0].soma.cai(0.5)) } ')
h.v_MDR02_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR03/0/GenericMuscleCell/caConc
h(' objectvar v_MDR03_v_muscles_activity ')
h(' { v_MDR03_v_muscles_activity = new Vector() } ')
h(' { v_MDR03_v_muscles_activity.record(&a_MDR03[0].soma.cai(0.5)) } ')
h.v_MDR03_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR04/0/GenericMuscleCell/caConc
h(' objectvar v_MDR04_v_muscles_activity ')
h(' { v_MDR04_v_muscles_activity = new Vector() } ')
h(' { v_MDR04_v_muscles_activity.record(&a_MDR04[0].soma.cai(0.5)) } ')
h.v_MDR04_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR05/0/GenericMuscleCell/caConc
h(' objectvar v_MDR05_v_muscles_activity ')
h(' { v_MDR05_v_muscles_activity = new Vector() } ')
h(' { v_MDR05_v_muscles_activity.record(&a_MDR05[0].soma.cai(0.5)) } ')
h.v_MDR05_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR06/0/GenericMuscleCell/caConc
h(' objectvar v_MDR06_v_muscles_activity ')
h(' { v_MDR06_v_muscles_activity = new Vector() } ')
h(' { v_MDR06_v_muscles_activity.record(&a_MDR06[0].soma.cai(0.5)) } ')
h.v_MDR06_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR07/0/GenericMuscleCell/caConc
h(' objectvar v_MDR07_v_muscles_activity ')
h(' { v_MDR07_v_muscles_activity = new Vector() } ')
h(' { v_MDR07_v_muscles_activity.record(&a_MDR07[0].soma.cai(0.5)) } ')
h.v_MDR07_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR08/0/GenericMuscleCell/caConc
h(' objectvar v_MDR08_v_muscles_activity ')
h(' { v_MDR08_v_muscles_activity = new Vector() } ')
h(' { v_MDR08_v_muscles_activity.record(&a_MDR08[0].soma.cai(0.5)) } ')
h.v_MDR08_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR09/0/GenericMuscleCell/caConc
h(' objectvar v_MDR09_v_muscles_activity ')
h(' { v_MDR09_v_muscles_activity = new Vector() } ')
h(' { v_MDR09_v_muscles_activity.record(&a_MDR09[0].soma.cai(0.5)) } ')
h.v_MDR09_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR10/0/GenericMuscleCell/caConc
h(' objectvar v_MDR10_v_muscles_activity ')
h(' { v_MDR10_v_muscles_activity = new Vector() } ')
h(' { v_MDR10_v_muscles_activity.record(&a_MDR10[0].soma.cai(0.5)) } ')
h.v_MDR10_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR11/0/GenericMuscleCell/caConc
h(' objectvar v_MDR11_v_muscles_activity ')
h(' { v_MDR11_v_muscles_activity = new Vector() } ')
h(' { v_MDR11_v_muscles_activity.record(&a_MDR11[0].soma.cai(0.5)) } ')
h.v_MDR11_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR12/0/GenericMuscleCell/caConc
h(' objectvar v_MDR12_v_muscles_activity ')
h(' { v_MDR12_v_muscles_activity = new Vector() } ')
h(' { v_MDR12_v_muscles_activity.record(&a_MDR12[0].soma.cai(0.5)) } ')
h.v_MDR12_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR13/0/GenericMuscleCell/caConc
h(' objectvar v_MDR13_v_muscles_activity ')
h(' { v_MDR13_v_muscles_activity = new Vector() } ')
h(' { v_MDR13_v_muscles_activity.record(&a_MDR13[0].soma.cai(0.5)) } ')
h.v_MDR13_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR14/0/GenericMuscleCell/caConc
h(' objectvar v_MDR14_v_muscles_activity ')
h(' { v_MDR14_v_muscles_activity = new Vector() } ')
h(' { v_MDR14_v_muscles_activity.record(&a_MDR14[0].soma.cai(0.5)) } ')
h.v_MDR14_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR15/0/GenericMuscleCell/caConc
h(' objectvar v_MDR15_v_muscles_activity ')
h(' { v_MDR15_v_muscles_activity = new Vector() } ')
h(' { v_MDR15_v_muscles_activity.record(&a_MDR15[0].soma.cai(0.5)) } ')
h.v_MDR15_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR16/0/GenericMuscleCell/caConc
h(' objectvar v_MDR16_v_muscles_activity ')
h(' { v_MDR16_v_muscles_activity = new Vector() } ')
h(' { v_MDR16_v_muscles_activity.record(&a_MDR16[0].soma.cai(0.5)) } ')
h.v_MDR16_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR17/0/GenericMuscleCell/caConc
h(' objectvar v_MDR17_v_muscles_activity ')
h(' { v_MDR17_v_muscles_activity = new Vector() } ')
h(' { v_MDR17_v_muscles_activity.record(&a_MDR17[0].soma.cai(0.5)) } ')
h.v_MDR17_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR18/0/GenericMuscleCell/caConc
h(' objectvar v_MDR18_v_muscles_activity ')
h(' { v_MDR18_v_muscles_activity = new Vector() } ')
h(' { v_MDR18_v_muscles_activity.record(&a_MDR18[0].soma.cai(0.5)) } ')
h.v_MDR18_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR19/0/GenericMuscleCell/caConc
h(' objectvar v_MDR19_v_muscles_activity ')
h(' { v_MDR19_v_muscles_activity = new Vector() } ')
h(' { v_MDR19_v_muscles_activity.record(&a_MDR19[0].soma.cai(0.5)) } ')
h.v_MDR19_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR20/0/GenericMuscleCell/caConc
h(' objectvar v_MDR20_v_muscles_activity ')
h(' { v_MDR20_v_muscles_activity = new Vector() } ')
h(' { v_MDR20_v_muscles_activity.record(&a_MDR20[0].soma.cai(0.5)) } ')
h.v_MDR20_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR21/0/GenericMuscleCell/caConc
h(' objectvar v_MDR21_v_muscles_activity ')
h(' { v_MDR21_v_muscles_activity = new Vector() } ')
h(' { v_MDR21_v_muscles_activity.record(&a_MDR21[0].soma.cai(0.5)) } ')
h.v_MDR21_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR22/0/GenericMuscleCell/caConc
h(' objectvar v_MDR22_v_muscles_activity ')
h(' { v_MDR22_v_muscles_activity = new Vector() } ')
h(' { v_MDR22_v_muscles_activity.record(&a_MDR22[0].soma.cai(0.5)) } ')
h.v_MDR22_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR23/0/GenericMuscleCell/caConc
h(' objectvar v_MDR23_v_muscles_activity ')
h(' { v_MDR23_v_muscles_activity = new Vector() } ')
h(' { v_MDR23_v_muscles_activity.record(&a_MDR23[0].soma.cai(0.5)) } ')
h.v_MDR23_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDR24/0/GenericMuscleCell/caConc
h(' objectvar v_MDR24_v_muscles_activity ')
h(' { v_MDR24_v_muscles_activity = new Vector() } ')
h(' { v_MDR24_v_muscles_activity.record(&a_MDR24[0].soma.cai(0.5)) } ')
h.v_MDR24_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR01/0/GenericMuscleCell/caConc
h(' objectvar v_MVR01_v_muscles_activity ')
h(' { v_MVR01_v_muscles_activity = new Vector() } ')
h(' { v_MVR01_v_muscles_activity.record(&a_MVR01[0].soma.cai(0.5)) } ')
h.v_MVR01_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR02/0/GenericMuscleCell/caConc
h(' objectvar v_MVR02_v_muscles_activity ')
h(' { v_MVR02_v_muscles_activity = new Vector() } ')
h(' { v_MVR02_v_muscles_activity.record(&a_MVR02[0].soma.cai(0.5)) } ')
h.v_MVR02_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR03/0/GenericMuscleCell/caConc
h(' objectvar v_MVR03_v_muscles_activity ')
h(' { v_MVR03_v_muscles_activity = new Vector() } ')
h(' { v_MVR03_v_muscles_activity.record(&a_MVR03[0].soma.cai(0.5)) } ')
h.v_MVR03_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR04/0/GenericMuscleCell/caConc
h(' objectvar v_MVR04_v_muscles_activity ')
h(' { v_MVR04_v_muscles_activity = new Vector() } ')
h(' { v_MVR04_v_muscles_activity.record(&a_MVR04[0].soma.cai(0.5)) } ')
h.v_MVR04_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR05/0/GenericMuscleCell/caConc
h(' objectvar v_MVR05_v_muscles_activity ')
h(' { v_MVR05_v_muscles_activity = new Vector() } ')
h(' { v_MVR05_v_muscles_activity.record(&a_MVR05[0].soma.cai(0.5)) } ')
h.v_MVR05_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR06/0/GenericMuscleCell/caConc
h(' objectvar v_MVR06_v_muscles_activity ')
h(' { v_MVR06_v_muscles_activity = new Vector() } ')
h(' { v_MVR06_v_muscles_activity.record(&a_MVR06[0].soma.cai(0.5)) } ')
h.v_MVR06_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR07/0/GenericMuscleCell/caConc
h(' objectvar v_MVR07_v_muscles_activity ')
h(' { v_MVR07_v_muscles_activity = new Vector() } ')
h(' { v_MVR07_v_muscles_activity.record(&a_MVR07[0].soma.cai(0.5)) } ')
h.v_MVR07_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR08/0/GenericMuscleCell/caConc
h(' objectvar v_MVR08_v_muscles_activity ')
h(' { v_MVR08_v_muscles_activity = new Vector() } ')
h(' { v_MVR08_v_muscles_activity.record(&a_MVR08[0].soma.cai(0.5)) } ')
h.v_MVR08_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR09/0/GenericMuscleCell/caConc
h(' objectvar v_MVR09_v_muscles_activity ')
h(' { v_MVR09_v_muscles_activity = new Vector() } ')
h(' { v_MVR09_v_muscles_activity.record(&a_MVR09[0].soma.cai(0.5)) } ')
h.v_MVR09_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR10/0/GenericMuscleCell/caConc
h(' objectvar v_MVR10_v_muscles_activity ')
h(' { v_MVR10_v_muscles_activity = new Vector() } ')
h(' { v_MVR10_v_muscles_activity.record(&a_MVR10[0].soma.cai(0.5)) } ')
h.v_MVR10_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR11/0/GenericMuscleCell/caConc
h(' objectvar v_MVR11_v_muscles_activity ')
h(' { v_MVR11_v_muscles_activity = new Vector() } ')
h(' { v_MVR11_v_muscles_activity.record(&a_MVR11[0].soma.cai(0.5)) } ')
h.v_MVR11_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR12/0/GenericMuscleCell/caConc
h(' objectvar v_MVR12_v_muscles_activity ')
h(' { v_MVR12_v_muscles_activity = new Vector() } ')
h(' { v_MVR12_v_muscles_activity.record(&a_MVR12[0].soma.cai(0.5)) } ')
h.v_MVR12_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR13/0/GenericMuscleCell/caConc
h(' objectvar v_MVR13_v_muscles_activity ')
h(' { v_MVR13_v_muscles_activity = new Vector() } ')
h(' { v_MVR13_v_muscles_activity.record(&a_MVR13[0].soma.cai(0.5)) } ')
h.v_MVR13_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR14/0/GenericMuscleCell/caConc
h(' objectvar v_MVR14_v_muscles_activity ')
h(' { v_MVR14_v_muscles_activity = new Vector() } ')
h(' { v_MVR14_v_muscles_activity.record(&a_MVR14[0].soma.cai(0.5)) } ')
h.v_MVR14_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR15/0/GenericMuscleCell/caConc
h(' objectvar v_MVR15_v_muscles_activity ')
h(' { v_MVR15_v_muscles_activity = new Vector() } ')
h(' { v_MVR15_v_muscles_activity.record(&a_MVR15[0].soma.cai(0.5)) } ')
h.v_MVR15_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR16/0/GenericMuscleCell/caConc
h(' objectvar v_MVR16_v_muscles_activity ')
h(' { v_MVR16_v_muscles_activity = new Vector() } ')
h(' { v_MVR16_v_muscles_activity.record(&a_MVR16[0].soma.cai(0.5)) } ')
h.v_MVR16_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR17/0/GenericMuscleCell/caConc
h(' objectvar v_MVR17_v_muscles_activity ')
h(' { v_MVR17_v_muscles_activity = new Vector() } ')
h(' { v_MVR17_v_muscles_activity.record(&a_MVR17[0].soma.cai(0.5)) } ')
h.v_MVR17_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR18/0/GenericMuscleCell/caConc
h(' objectvar v_MVR18_v_muscles_activity ')
h(' { v_MVR18_v_muscles_activity = new Vector() } ')
h(' { v_MVR18_v_muscles_activity.record(&a_MVR18[0].soma.cai(0.5)) } ')
h.v_MVR18_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR19/0/GenericMuscleCell/caConc
h(' objectvar v_MVR19_v_muscles_activity ')
h(' { v_MVR19_v_muscles_activity = new Vector() } ')
h(' { v_MVR19_v_muscles_activity.record(&a_MVR19[0].soma.cai(0.5)) } ')
h.v_MVR19_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR20/0/GenericMuscleCell/caConc
h(' objectvar v_MVR20_v_muscles_activity ')
h(' { v_MVR20_v_muscles_activity = new Vector() } ')
h(' { v_MVR20_v_muscles_activity.record(&a_MVR20[0].soma.cai(0.5)) } ')
h.v_MVR20_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR21/0/GenericMuscleCell/caConc
h(' objectvar v_MVR21_v_muscles_activity ')
h(' { v_MVR21_v_muscles_activity = new Vector() } ')
h(' { v_MVR21_v_muscles_activity.record(&a_MVR21[0].soma.cai(0.5)) } ')
h.v_MVR21_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR22/0/GenericMuscleCell/caConc
h(' objectvar v_MVR22_v_muscles_activity ')
h(' { v_MVR22_v_muscles_activity = new Vector() } ')
h(' { v_MVR22_v_muscles_activity.record(&a_MVR22[0].soma.cai(0.5)) } ')
h.v_MVR22_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVR23/0/GenericMuscleCell/caConc
h(' objectvar v_MVR23_v_muscles_activity ')
h(' { v_MVR23_v_muscles_activity = new Vector() } ')
h(' { v_MVR23_v_muscles_activity.record(&a_MVR23[0].soma.cai(0.5)) } ')
h.v_MVR23_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL01/0/GenericMuscleCell/caConc
h(' objectvar v_MVL01_v_muscles_activity ')
h(' { v_MVL01_v_muscles_activity = new Vector() } ')
h(' { v_MVL01_v_muscles_activity.record(&a_MVL01[0].soma.cai(0.5)) } ')
h.v_MVL01_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL02/0/GenericMuscleCell/caConc
h(' objectvar v_MVL02_v_muscles_activity ')
h(' { v_MVL02_v_muscles_activity = new Vector() } ')
h(' { v_MVL02_v_muscles_activity.record(&a_MVL02[0].soma.cai(0.5)) } ')
h.v_MVL02_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL03/0/GenericMuscleCell/caConc
h(' objectvar v_MVL03_v_muscles_activity ')
h(' { v_MVL03_v_muscles_activity = new Vector() } ')
h(' { v_MVL03_v_muscles_activity.record(&a_MVL03[0].soma.cai(0.5)) } ')
h.v_MVL03_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL04/0/GenericMuscleCell/caConc
h(' objectvar v_MVL04_v_muscles_activity ')
h(' { v_MVL04_v_muscles_activity = new Vector() } ')
h(' { v_MVL04_v_muscles_activity.record(&a_MVL04[0].soma.cai(0.5)) } ')
h.v_MVL04_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL05/0/GenericMuscleCell/caConc
h(' objectvar v_MVL05_v_muscles_activity ')
h(' { v_MVL05_v_muscles_activity = new Vector() } ')
h(' { v_MVL05_v_muscles_activity.record(&a_MVL05[0].soma.cai(0.5)) } ')
h.v_MVL05_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL06/0/GenericMuscleCell/caConc
h(' objectvar v_MVL06_v_muscles_activity ')
h(' { v_MVL06_v_muscles_activity = new Vector() } ')
h(' { v_MVL06_v_muscles_activity.record(&a_MVL06[0].soma.cai(0.5)) } ')
h.v_MVL06_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL07/0/GenericMuscleCell/caConc
h(' objectvar v_MVL07_v_muscles_activity ')
h(' { v_MVL07_v_muscles_activity = new Vector() } ')
h(' { v_MVL07_v_muscles_activity.record(&a_MVL07[0].soma.cai(0.5)) } ')
h.v_MVL07_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL08/0/GenericMuscleCell/caConc
h(' objectvar v_MVL08_v_muscles_activity ')
h(' { v_MVL08_v_muscles_activity = new Vector() } ')
h(' { v_MVL08_v_muscles_activity.record(&a_MVL08[0].soma.cai(0.5)) } ')
h.v_MVL08_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL09/0/GenericMuscleCell/caConc
h(' objectvar v_MVL09_v_muscles_activity ')
h(' { v_MVL09_v_muscles_activity = new Vector() } ')
h(' { v_MVL09_v_muscles_activity.record(&a_MVL09[0].soma.cai(0.5)) } ')
h.v_MVL09_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL10/0/GenericMuscleCell/caConc
h(' objectvar v_MVL10_v_muscles_activity ')
h(' { v_MVL10_v_muscles_activity = new Vector() } ')
h(' { v_MVL10_v_muscles_activity.record(&a_MVL10[0].soma.cai(0.5)) } ')
h.v_MVL10_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL11/0/GenericMuscleCell/caConc
h(' objectvar v_MVL11_v_muscles_activity ')
h(' { v_MVL11_v_muscles_activity = new Vector() } ')
h(' { v_MVL11_v_muscles_activity.record(&a_MVL11[0].soma.cai(0.5)) } ')
h.v_MVL11_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL12/0/GenericMuscleCell/caConc
h(' objectvar v_MVL12_v_muscles_activity ')
h(' { v_MVL12_v_muscles_activity = new Vector() } ')
h(' { v_MVL12_v_muscles_activity.record(&a_MVL12[0].soma.cai(0.5)) } ')
h.v_MVL12_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL13/0/GenericMuscleCell/caConc
h(' objectvar v_MVL13_v_muscles_activity ')
h(' { v_MVL13_v_muscles_activity = new Vector() } ')
h(' { v_MVL13_v_muscles_activity.record(&a_MVL13[0].soma.cai(0.5)) } ')
h.v_MVL13_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL14/0/GenericMuscleCell/caConc
h(' objectvar v_MVL14_v_muscles_activity ')
h(' { v_MVL14_v_muscles_activity = new Vector() } ')
h(' { v_MVL14_v_muscles_activity.record(&a_MVL14[0].soma.cai(0.5)) } ')
h.v_MVL14_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL15/0/GenericMuscleCell/caConc
h(' objectvar v_MVL15_v_muscles_activity ')
h(' { v_MVL15_v_muscles_activity = new Vector() } ')
h(' { v_MVL15_v_muscles_activity.record(&a_MVL15[0].soma.cai(0.5)) } ')
h.v_MVL15_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL16/0/GenericMuscleCell/caConc
h(' objectvar v_MVL16_v_muscles_activity ')
h(' { v_MVL16_v_muscles_activity = new Vector() } ')
h(' { v_MVL16_v_muscles_activity.record(&a_MVL16[0].soma.cai(0.5)) } ')
h.v_MVL16_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL17/0/GenericMuscleCell/caConc
h(' objectvar v_MVL17_v_muscles_activity ')
h(' { v_MVL17_v_muscles_activity = new Vector() } ')
h(' { v_MVL17_v_muscles_activity.record(&a_MVL17[0].soma.cai(0.5)) } ')
h.v_MVL17_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL18/0/GenericMuscleCell/caConc
h(' objectvar v_MVL18_v_muscles_activity ')
h(' { v_MVL18_v_muscles_activity = new Vector() } ')
h(' { v_MVL18_v_muscles_activity.record(&a_MVL18[0].soma.cai(0.5)) } ')
h.v_MVL18_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL19/0/GenericMuscleCell/caConc
h(' objectvar v_MVL19_v_muscles_activity ')
h(' { v_MVL19_v_muscles_activity = new Vector() } ')
h(' { v_MVL19_v_muscles_activity.record(&a_MVL19[0].soma.cai(0.5)) } ')
h.v_MVL19_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL20/0/GenericMuscleCell/caConc
h(' objectvar v_MVL20_v_muscles_activity ')
h(' { v_MVL20_v_muscles_activity = new Vector() } ')
h(' { v_MVL20_v_muscles_activity.record(&a_MVL20[0].soma.cai(0.5)) } ')
h.v_MVL20_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL21/0/GenericMuscleCell/caConc
h(' objectvar v_MVL21_v_muscles_activity ')
h(' { v_MVL21_v_muscles_activity = new Vector() } ')
h(' { v_MVL21_v_muscles_activity.record(&a_MVL21[0].soma.cai(0.5)) } ')
h.v_MVL21_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL22/0/GenericMuscleCell/caConc
h(' objectvar v_MVL22_v_muscles_activity ')
h(' { v_MVL22_v_muscles_activity = new Vector() } ')
h(' { v_MVL22_v_muscles_activity.record(&a_MVL22[0].soma.cai(0.5)) } ')
h.v_MVL22_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL23/0/GenericMuscleCell/caConc
h(' objectvar v_MVL23_v_muscles_activity ')
h(' { v_MVL23_v_muscles_activity = new Vector() } ')
h(' { v_MVL23_v_muscles_activity.record(&a_MVL23[0].soma.cai(0.5)) } ')
h.v_MVL23_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MVL24/0/GenericMuscleCell/caConc
h(' objectvar v_MVL24_v_muscles_activity ')
h(' { v_MVL24_v_muscles_activity = new Vector() } ')
h(' { v_MVL24_v_muscles_activity.record(&a_MVL24[0].soma.cai(0.5)) } ')
h.v_MVL24_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL01/0/GenericMuscleCell/caConc
h(' objectvar v_MDL01_v_muscles_activity ')
h(' { v_MDL01_v_muscles_activity = new Vector() } ')
h(' { v_MDL01_v_muscles_activity.record(&a_MDL01[0].soma.cai(0.5)) } ')
h.v_MDL01_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL02/0/GenericMuscleCell/caConc
h(' objectvar v_MDL02_v_muscles_activity ')
h(' { v_MDL02_v_muscles_activity = new Vector() } ')
h(' { v_MDL02_v_muscles_activity.record(&a_MDL02[0].soma.cai(0.5)) } ')
h.v_MDL02_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL03/0/GenericMuscleCell/caConc
h(' objectvar v_MDL03_v_muscles_activity ')
h(' { v_MDL03_v_muscles_activity = new Vector() } ')
h(' { v_MDL03_v_muscles_activity.record(&a_MDL03[0].soma.cai(0.5)) } ')
h.v_MDL03_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL04/0/GenericMuscleCell/caConc
h(' objectvar v_MDL04_v_muscles_activity ')
h(' { v_MDL04_v_muscles_activity = new Vector() } ')
h(' { v_MDL04_v_muscles_activity.record(&a_MDL04[0].soma.cai(0.5)) } ')
h.v_MDL04_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL05/0/GenericMuscleCell/caConc
h(' objectvar v_MDL05_v_muscles_activity ')
h(' { v_MDL05_v_muscles_activity = new Vector() } ')
h(' { v_MDL05_v_muscles_activity.record(&a_MDL05[0].soma.cai(0.5)) } ')
h.v_MDL05_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL06/0/GenericMuscleCell/caConc
h(' objectvar v_MDL06_v_muscles_activity ')
h(' { v_MDL06_v_muscles_activity = new Vector() } ')
h(' { v_MDL06_v_muscles_activity.record(&a_MDL06[0].soma.cai(0.5)) } ')
h.v_MDL06_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL07/0/GenericMuscleCell/caConc
h(' objectvar v_MDL07_v_muscles_activity ')
h(' { v_MDL07_v_muscles_activity = new Vector() } ')
h(' { v_MDL07_v_muscles_activity.record(&a_MDL07[0].soma.cai(0.5)) } ')
h.v_MDL07_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL08/0/GenericMuscleCell/caConc
h(' objectvar v_MDL08_v_muscles_activity ')
h(' { v_MDL08_v_muscles_activity = new Vector() } ')
h(' { v_MDL08_v_muscles_activity.record(&a_MDL08[0].soma.cai(0.5)) } ')
h.v_MDL08_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL09/0/GenericMuscleCell/caConc
h(' objectvar v_MDL09_v_muscles_activity ')
h(' { v_MDL09_v_muscles_activity = new Vector() } ')
h(' { v_MDL09_v_muscles_activity.record(&a_MDL09[0].soma.cai(0.5)) } ')
h.v_MDL09_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL10/0/GenericMuscleCell/caConc
h(' objectvar v_MDL10_v_muscles_activity ')
h(' { v_MDL10_v_muscles_activity = new Vector() } ')
h(' { v_MDL10_v_muscles_activity.record(&a_MDL10[0].soma.cai(0.5)) } ')
h.v_MDL10_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL11/0/GenericMuscleCell/caConc
h(' objectvar v_MDL11_v_muscles_activity ')
h(' { v_MDL11_v_muscles_activity = new Vector() } ')
h(' { v_MDL11_v_muscles_activity.record(&a_MDL11[0].soma.cai(0.5)) } ')
h.v_MDL11_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL12/0/GenericMuscleCell/caConc
h(' objectvar v_MDL12_v_muscles_activity ')
h(' { v_MDL12_v_muscles_activity = new Vector() } ')
h(' { v_MDL12_v_muscles_activity.record(&a_MDL12[0].soma.cai(0.5)) } ')
h.v_MDL12_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL13/0/GenericMuscleCell/caConc
h(' objectvar v_MDL13_v_muscles_activity ')
h(' { v_MDL13_v_muscles_activity = new Vector() } ')
h(' { v_MDL13_v_muscles_activity.record(&a_MDL13[0].soma.cai(0.5)) } ')
h.v_MDL13_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL14/0/GenericMuscleCell/caConc
h(' objectvar v_MDL14_v_muscles_activity ')
h(' { v_MDL14_v_muscles_activity = new Vector() } ')
h(' { v_MDL14_v_muscles_activity.record(&a_MDL14[0].soma.cai(0.5)) } ')
h.v_MDL14_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL15/0/GenericMuscleCell/caConc
h(' objectvar v_MDL15_v_muscles_activity ')
h(' { v_MDL15_v_muscles_activity = new Vector() } ')
h(' { v_MDL15_v_muscles_activity.record(&a_MDL15[0].soma.cai(0.5)) } ')
h.v_MDL15_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL16/0/GenericMuscleCell/caConc
h(' objectvar v_MDL16_v_muscles_activity ')
h(' { v_MDL16_v_muscles_activity = new Vector() } ')
h(' { v_MDL16_v_muscles_activity.record(&a_MDL16[0].soma.cai(0.5)) } ')
h.v_MDL16_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL17/0/GenericMuscleCell/caConc
h(' objectvar v_MDL17_v_muscles_activity ')
h(' { v_MDL17_v_muscles_activity = new Vector() } ')
h(' { v_MDL17_v_muscles_activity.record(&a_MDL17[0].soma.cai(0.5)) } ')
h.v_MDL17_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL18/0/GenericMuscleCell/caConc
h(' objectvar v_MDL18_v_muscles_activity ')
h(' { v_MDL18_v_muscles_activity = new Vector() } ')
h(' { v_MDL18_v_muscles_activity.record(&a_MDL18[0].soma.cai(0.5)) } ')
h.v_MDL18_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL19/0/GenericMuscleCell/caConc
h(' objectvar v_MDL19_v_muscles_activity ')
h(' { v_MDL19_v_muscles_activity = new Vector() } ')
h(' { v_MDL19_v_muscles_activity.record(&a_MDL19[0].soma.cai(0.5)) } ')
h.v_MDL19_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL20/0/GenericMuscleCell/caConc
h(' objectvar v_MDL20_v_muscles_activity ')
h(' { v_MDL20_v_muscles_activity = new Vector() } ')
h(' { v_MDL20_v_muscles_activity.record(&a_MDL20[0].soma.cai(0.5)) } ')
h.v_MDL20_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL21/0/GenericMuscleCell/caConc
h(' objectvar v_MDL21_v_muscles_activity ')
h(' { v_MDL21_v_muscles_activity = new Vector() } ')
h(' { v_MDL21_v_muscles_activity.record(&a_MDL21[0].soma.cai(0.5)) } ')
h.v_MDL21_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL22/0/GenericMuscleCell/caConc
h(' objectvar v_MDL22_v_muscles_activity ')
h(' { v_MDL22_v_muscles_activity = new Vector() } ')
h(' { v_MDL22_v_muscles_activity.record(&a_MDL22[0].soma.cai(0.5)) } ')
h.v_MDL22_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL23/0/GenericMuscleCell/caConc
h(' objectvar v_MDL23_v_muscles_activity ')
h(' { v_MDL23_v_muscles_activity = new Vector() } ')
h(' { v_MDL23_v_muscles_activity.record(&a_MDL23[0].soma.cai(0.5)) } ')
h.v_MDL23_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# Column: MDL24/0/GenericMuscleCell/caConc
h(' objectvar v_MDL24_v_muscles_activity ')
h(' { v_MDL24_v_muscles_activity = new Vector() } ')
h(' { v_MDL24_v_muscles_activity.record(&a_MDL24[0].soma.cai(0.5)) } ')
h.v_MDL24_v_muscles_activity.resize((h.tstop * h.steps_per_ms) + 1)
# ###################### File to save: c302_C2_AS_DA_DB.dat (neurons_v)
# Column: AS1/0/GenericNeuronCell/v
h(' objectvar v_AS1_v_neurons_v ')
h(' { v_AS1_v_neurons_v = new Vector() } ')
h(' { v_AS1_v_neurons_v.record(&a_AS1[0].soma.v(0.5)) } ')
h.v_AS1_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS10/0/GenericNeuronCell/v
h(' objectvar v_AS10_v_neurons_v ')
h(' { v_AS10_v_neurons_v = new Vector() } ')
h(' { v_AS10_v_neurons_v.record(&a_AS10[0].soma.v(0.5)) } ')
h.v_AS10_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS11/0/GenericNeuronCell/v
h(' objectvar v_AS11_v_neurons_v ')
h(' { v_AS11_v_neurons_v = new Vector() } ')
h(' { v_AS11_v_neurons_v.record(&a_AS11[0].soma.v(0.5)) } ')
h.v_AS11_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS2/0/GenericNeuronCell/v
h(' objectvar v_AS2_v_neurons_v ')
h(' { v_AS2_v_neurons_v = new Vector() } ')
h(' { v_AS2_v_neurons_v.record(&a_AS2[0].soma.v(0.5)) } ')
h.v_AS2_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS3/0/GenericNeuronCell/v
h(' objectvar v_AS3_v_neurons_v ')
h(' { v_AS3_v_neurons_v = new Vector() } ')
h(' { v_AS3_v_neurons_v.record(&a_AS3[0].soma.v(0.5)) } ')
h.v_AS3_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS4/0/GenericNeuronCell/v
h(' objectvar v_AS4_v_neurons_v ')
h(' { v_AS4_v_neurons_v = new Vector() } ')
h(' { v_AS4_v_neurons_v.record(&a_AS4[0].soma.v(0.5)) } ')
h.v_AS4_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS5/0/GenericNeuronCell/v
h(' objectvar v_AS5_v_neurons_v ')
h(' { v_AS5_v_neurons_v = new Vector() } ')
h(' { v_AS5_v_neurons_v.record(&a_AS5[0].soma.v(0.5)) } ')
h.v_AS5_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS6/0/GenericNeuronCell/v
h(' objectvar v_AS6_v_neurons_v ')
h(' { v_AS6_v_neurons_v = new Vector() } ')
h(' { v_AS6_v_neurons_v.record(&a_AS6[0].soma.v(0.5)) } ')
h.v_AS6_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS7/0/GenericNeuronCell/v
h(' objectvar v_AS7_v_neurons_v ')
h(' { v_AS7_v_neurons_v = new Vector() } ')
h(' { v_AS7_v_neurons_v.record(&a_AS7[0].soma.v(0.5)) } ')
h.v_AS7_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS8/0/GenericNeuronCell/v
h(' objectvar v_AS8_v_neurons_v ')
h(' { v_AS8_v_neurons_v = new Vector() } ')
h(' { v_AS8_v_neurons_v.record(&a_AS8[0].soma.v(0.5)) } ')
h.v_AS8_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AS9/0/GenericNeuronCell/v
h(' objectvar v_AS9_v_neurons_v ')
h(' { v_AS9_v_neurons_v = new Vector() } ')
h(' { v_AS9_v_neurons_v.record(&a_AS9[0].soma.v(0.5)) } ')
h.v_AS9_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AVAL/0/GenericNeuronCell/v
h(' objectvar v_AVAL_v_neurons_v ')
h(' { v_AVAL_v_neurons_v = new Vector() } ')
h(' { v_AVAL_v_neurons_v.record(&a_AVAL[0].soma.v(0.5)) } ')
h.v_AVAL_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AVAR/0/GenericNeuronCell/v
h(' objectvar v_AVAR_v_neurons_v ')
h(' { v_AVAR_v_neurons_v = new Vector() } ')
h(' { v_AVAR_v_neurons_v.record(&a_AVAR[0].soma.v(0.5)) } ')
h.v_AVAR_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AVBL/0/GenericNeuronCell/v
h(' objectvar v_AVBL_v_neurons_v ')
h(' { v_AVBL_v_neurons_v = new Vector() } ')
h(' { v_AVBL_v_neurons_v.record(&a_AVBL[0].soma.v(0.5)) } ')
h.v_AVBL_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: AVBR/0/GenericNeuronCell/v
h(' objectvar v_AVBR_v_neurons_v ')
h(' { v_AVBR_v_neurons_v = new Vector() } ')
h(' { v_AVBR_v_neurons_v.record(&a_AVBR[0].soma.v(0.5)) } ')
h.v_AVBR_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA1/0/GenericNeuronCell/v
h(' objectvar v_DA1_v_neurons_v ')
h(' { v_DA1_v_neurons_v = new Vector() } ')
h(' { v_DA1_v_neurons_v.record(&a_DA1[0].soma.v(0.5)) } ')
h.v_DA1_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA2/0/GenericNeuronCell/v
h(' objectvar v_DA2_v_neurons_v ')
h(' { v_DA2_v_neurons_v = new Vector() } ')
h(' { v_DA2_v_neurons_v.record(&a_DA2[0].soma.v(0.5)) } ')
h.v_DA2_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA3/0/GenericNeuronCell/v
h(' objectvar v_DA3_v_neurons_v ')
h(' { v_DA3_v_neurons_v = new Vector() } ')
h(' { v_DA3_v_neurons_v.record(&a_DA3[0].soma.v(0.5)) } ')
h.v_DA3_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA4/0/GenericNeuronCell/v
h(' objectvar v_DA4_v_neurons_v ')
h(' { v_DA4_v_neurons_v = new Vector() } ')
h(' { v_DA4_v_neurons_v.record(&a_DA4[0].soma.v(0.5)) } ')
h.v_DA4_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA5/0/GenericNeuronCell/v
h(' objectvar v_DA5_v_neurons_v ')
h(' { v_DA5_v_neurons_v = new Vector() } ')
h(' { v_DA5_v_neurons_v.record(&a_DA5[0].soma.v(0.5)) } ')
h.v_DA5_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA6/0/GenericNeuronCell/v
h(' objectvar v_DA6_v_neurons_v ')
h(' { v_DA6_v_neurons_v = new Vector() } ')
h(' { v_DA6_v_neurons_v.record(&a_DA6[0].soma.v(0.5)) } ')
h.v_DA6_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA7/0/GenericNeuronCell/v
h(' objectvar v_DA7_v_neurons_v ')
h(' { v_DA7_v_neurons_v = new Vector() } ')
h(' { v_DA7_v_neurons_v.record(&a_DA7[0].soma.v(0.5)) } ')
h.v_DA7_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA8/0/GenericNeuronCell/v
h(' objectvar v_DA8_v_neurons_v ')
h(' { v_DA8_v_neurons_v = new Vector() } ')
h(' { v_DA8_v_neurons_v.record(&a_DA8[0].soma.v(0.5)) } ')
h.v_DA8_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DA9/0/GenericNeuronCell/v
h(' objectvar v_DA9_v_neurons_v ')
h(' { v_DA9_v_neurons_v = new Vector() } ')
h(' { v_DA9_v_neurons_v.record(&a_DA9[0].soma.v(0.5)) } ')
h.v_DA9_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB1/0/GenericNeuronCell/v
h(' objectvar v_DB1_v_neurons_v ')
h(' { v_DB1_v_neurons_v = new Vector() } ')
h(' { v_DB1_v_neurons_v.record(&a_DB1[0].soma.v(0.5)) } ')
h.v_DB1_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB2/0/GenericNeuronCell/v
h(' objectvar v_DB2_v_neurons_v ')
h(' { v_DB2_v_neurons_v = new Vector() } ')
h(' { v_DB2_v_neurons_v.record(&a_DB2[0].soma.v(0.5)) } ')
h.v_DB2_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB3/0/GenericNeuronCell/v
h(' objectvar v_DB3_v_neurons_v ')
h(' { v_DB3_v_neurons_v = new Vector() } ')
h(' { v_DB3_v_neurons_v.record(&a_DB3[0].soma.v(0.5)) } ')
h.v_DB3_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB4/0/GenericNeuronCell/v
h(' objectvar v_DB4_v_neurons_v ')
h(' { v_DB4_v_neurons_v = new Vector() } ')
h(' { v_DB4_v_neurons_v.record(&a_DB4[0].soma.v(0.5)) } ')
h.v_DB4_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB5/0/GenericNeuronCell/v
h(' objectvar v_DB5_v_neurons_v ')
h(' { v_DB5_v_neurons_v = new Vector() } ')
h(' { v_DB5_v_neurons_v.record(&a_DB5[0].soma.v(0.5)) } ')
h.v_DB5_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB6/0/GenericNeuronCell/v
h(' objectvar v_DB6_v_neurons_v ')
h(' { v_DB6_v_neurons_v = new Vector() } ')
h(' { v_DB6_v_neurons_v.record(&a_DB6[0].soma.v(0.5)) } ')
h.v_DB6_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# Column: DB7/0/GenericNeuronCell/v
h(' objectvar v_DB7_v_neurons_v ')
h(' { v_DB7_v_neurons_v = new Vector() } ')
h(' { v_DB7_v_neurons_v.record(&a_DB7[0].soma.v(0.5)) } ')
h.v_DB7_v_neurons_v.resize((h.tstop * h.steps_per_ms) + 1)
# ###################### File to save: time.dat (time)
# Column: time
h(' objectvar v_time ')
h(' { v_time = new Vector() } ')
h(' { v_time.record(&t) } ')
h.v_time.resize((h.tstop * h.steps_per_ms) + 1)
self.initialized = False
self.sim_end = -1 # will be overwritten
def run(self):
self.initialized = True
sim_start = time.time()
print("Running a simulation of %sms (dt = %sms; seed=%s)" % (h.tstop, h.dt, self.seed))
h.run()
self.sim_end = time.time()
sim_time = self.sim_end - sim_start
print("Finished NEURON simulation in %f seconds (%f mins)..."%(sim_time, sim_time/60.0))
self.save_results()
def advance(self):
if not self.initialized:
h.finitialize()
self.initialized = True
h.fadvance()
###############################################################################
# Hash function to use in generation of random value
# This is copied from NetPyNE: https://github.com/Neurosim-lab/netpyne/blob/master/netpyne/simFuncs.py
###############################################################################
def _id32 (self,obj):
return int(hashlib.md5(obj).hexdigest()[0:8],16) # convert 8 first chars of md5 hash in base 16 to int
###############################################################################
# Initialize the stim randomizer
# This is copied from NetPyNE: https://github.com/Neurosim-lab/netpyne/blob/master/netpyne/simFuncs.py
###############################################################################
def _init_stim_randomizer(self,rand, stimType, gid, seed):
rand.Random123(self._id32(stimType), gid, seed)
def save_results(self):
print("Saving results at t=%s..."%h.t)
if self.sim_end < 0: self.sim_end = time.time()
# ###################### File to save: time.dat (time)
py_v_time = [ t/1000 for t in h.v_time.to_python() ] # Convert to Python list for speed...
f_time_f2 = open('time.dat', 'w')
num_points = len(py_v_time) # Simulation may have been stopped before tstop...
for i in range(num_points):
f_time_f2.write('%f'% py_v_time[i]) # Save in SI units...
f_time_f2.close()
print("Saved data to: time.dat")
# ###################### File to save: c302_C2_AS_DA_DB.activity.dat (neurons_activity)
py_v_AS1_v_neurons_activity = [ float(x ) for x in h.v_AS1_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS10_v_neurons_activity = [ float(x ) for x in h.v_AS10_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS11_v_neurons_activity = [ float(x ) for x in h.v_AS11_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS2_v_neurons_activity = [ float(x ) for x in h.v_AS2_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS3_v_neurons_activity = [ float(x ) for x in h.v_AS3_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS4_v_neurons_activity = [ float(x ) for x in h.v_AS4_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS5_v_neurons_activity = [ float(x ) for x in h.v_AS5_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS6_v_neurons_activity = [ float(x ) for x in h.v_AS6_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS7_v_neurons_activity = [ float(x ) for x in h.v_AS7_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS8_v_neurons_activity = [ float(x ) for x in h.v_AS8_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AS9_v_neurons_activity = [ float(x ) for x in h.v_AS9_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AVAL_v_neurons_activity = [ float(x ) for x in h.v_AVAL_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AVAR_v_neurons_activity = [ float(x ) for x in h.v_AVAR_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AVBL_v_neurons_activity = [ float(x ) for x in h.v_AVBL_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_AVBR_v_neurons_activity = [ float(x ) for x in h.v_AVBR_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DA1_v_neurons_activity = [ float(x ) for x in h.v_DA1_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DA2_v_neurons_activity = [ float(x ) for x in h.v_DA2_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DA3_v_neurons_activity = [ float(x ) for x in h.v_DA3_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DA4_v_neurons_activity = [ float(x ) for x in h.v_DA4_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DA5_v_neurons_activity = [ float(x ) for x in h.v_DA5_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DA6_v_neurons_activity = [ float(x ) for x in h.v_DA6_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DA7_v_neurons_activity = [ float(x ) for x in h.v_DA7_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DA8_v_neurons_activity = [ float(x ) for x in h.v_DA8_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DA9_v_neurons_activity = [ float(x ) for x in h.v_DA9_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DB1_v_neurons_activity = [ float(x ) for x in h.v_DB1_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DB2_v_neurons_activity = [ float(x ) for x in h.v_DB2_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DB3_v_neurons_activity = [ float(x ) for x in h.v_DB3_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DB4_v_neurons_activity = [ float(x ) for x in h.v_DB4_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DB5_v_neurons_activity = [ float(x ) for x in h.v_DB5_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DB6_v_neurons_activity = [ float(x ) for x in h.v_DB6_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_DB7_v_neurons_activity = [ float(x ) for x in h.v_DB7_v_neurons_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
f_neurons_activity_f2 = open('c302_C2_AS_DA_DB.activity.dat', 'w')
num_points = len(py_v_time) # Simulation may have been stopped before tstop...
for i in range(num_points):
f_neurons_activity_f2.write('%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t\n' % (py_v_time[i], py_v_AS1_v_neurons_activity[i], py_v_AS10_v_neurons_activity[i], py_v_AS11_v_neurons_activity[i], py_v_AS2_v_neurons_activity[i], py_v_AS3_v_neurons_activity[i], py_v_AS4_v_neurons_activity[i], py_v_AS5_v_neurons_activity[i], py_v_AS6_v_neurons_activity[i], py_v_AS7_v_neurons_activity[i], py_v_AS8_v_neurons_activity[i], py_v_AS9_v_neurons_activity[i], py_v_AVAL_v_neurons_activity[i], py_v_AVAR_v_neurons_activity[i], py_v_AVBL_v_neurons_activity[i], py_v_AVBR_v_neurons_activity[i], py_v_DA1_v_neurons_activity[i], py_v_DA2_v_neurons_activity[i], py_v_DA3_v_neurons_activity[i], py_v_DA4_v_neurons_activity[i], py_v_DA5_v_neurons_activity[i], py_v_DA6_v_neurons_activity[i], py_v_DA7_v_neurons_activity[i], py_v_DA8_v_neurons_activity[i], py_v_DA9_v_neurons_activity[i], py_v_DB1_v_neurons_activity[i], py_v_DB2_v_neurons_activity[i], py_v_DB3_v_neurons_activity[i], py_v_DB4_v_neurons_activity[i], py_v_DB5_v_neurons_activity[i], py_v_DB6_v_neurons_activity[i], py_v_DB7_v_neurons_activity[i], ))
f_neurons_activity_f2.close()
print("Saved data to: c302_C2_AS_DA_DB.activity.dat")
# ###################### File to save: c302_C2_AS_DA_DB.muscles.dat (muscles_v)
py_v_MDR01_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR01_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR02_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR02_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR03_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR03_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR04_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR04_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR05_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR05_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR06_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR06_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR07_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR07_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR08_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR08_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR09_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR09_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR10_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR10_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR11_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR11_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR12_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR12_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR13_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR13_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR14_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR14_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR15_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR15_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR16_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR16_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR17_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR17_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR18_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR18_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR19_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR19_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR20_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR20_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR21_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR21_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR22_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR22_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR23_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR23_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDR24_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDR24_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR01_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR01_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR02_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR02_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR03_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR03_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR04_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR04_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR05_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR05_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR06_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR06_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR07_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR07_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR08_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR08_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR09_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR09_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR10_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR10_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR11_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR11_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR12_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR12_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR13_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR13_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR14_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR14_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR15_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR15_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR16_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR16_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR17_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR17_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR18_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR18_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR19_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR19_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR20_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR20_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR21_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR21_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR22_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR22_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVR23_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVR23_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL01_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL01_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL02_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL02_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL03_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL03_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL04_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL04_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL05_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL05_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL06_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL06_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL07_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL07_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL08_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL08_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL09_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL09_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL10_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL10_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL11_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL11_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL12_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL12_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL13_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL13_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL14_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL14_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL15_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL15_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL16_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL16_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL17_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL17_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL18_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL18_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL19_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL19_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL20_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL20_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL21_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL21_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL22_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL22_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL23_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL23_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MVL24_v_muscles_v = [ float(x / 1000.0) for x in h.v_MVL24_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL01_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL01_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL02_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL02_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL03_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL03_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL04_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL04_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL05_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL05_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL06_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL06_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL07_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL07_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL08_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL08_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL09_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL09_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL10_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL10_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL11_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL11_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL12_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL12_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL13_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL13_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL14_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL14_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL15_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL15_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL16_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL16_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL17_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL17_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL18_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL18_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL19_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL19_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL20_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL20_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL21_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL21_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL22_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL22_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL23_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL23_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_MDL24_v_muscles_v = [ float(x / 1000.0) for x in h.v_MDL24_v_muscles_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
f_muscles_v_f2 = open('c302_C2_AS_DA_DB.muscles.dat', 'w')
num_points = len(py_v_time) # Simulation may have been stopped before tstop...
for i in range(num_points):
f_muscles_v_f2.write('%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t\n' % (py_v_time[i], py_v_MDR01_v_muscles_v[i], py_v_MDR02_v_muscles_v[i], py_v_MDR03_v_muscles_v[i], py_v_MDR04_v_muscles_v[i], py_v_MDR05_v_muscles_v[i], py_v_MDR06_v_muscles_v[i], py_v_MDR07_v_muscles_v[i], py_v_MDR08_v_muscles_v[i], py_v_MDR09_v_muscles_v[i], py_v_MDR10_v_muscles_v[i], py_v_MDR11_v_muscles_v[i], py_v_MDR12_v_muscles_v[i], py_v_MDR13_v_muscles_v[i], py_v_MDR14_v_muscles_v[i], py_v_MDR15_v_muscles_v[i], py_v_MDR16_v_muscles_v[i], py_v_MDR17_v_muscles_v[i], py_v_MDR18_v_muscles_v[i], py_v_MDR19_v_muscles_v[i], py_v_MDR20_v_muscles_v[i], py_v_MDR21_v_muscles_v[i], py_v_MDR22_v_muscles_v[i], py_v_MDR23_v_muscles_v[i], py_v_MDR24_v_muscles_v[i], py_v_MVR01_v_muscles_v[i], py_v_MVR02_v_muscles_v[i], py_v_MVR03_v_muscles_v[i], py_v_MVR04_v_muscles_v[i], py_v_MVR05_v_muscles_v[i], py_v_MVR06_v_muscles_v[i], py_v_MVR07_v_muscles_v[i], py_v_MVR08_v_muscles_v[i], py_v_MVR09_v_muscles_v[i], py_v_MVR10_v_muscles_v[i], py_v_MVR11_v_muscles_v[i], py_v_MVR12_v_muscles_v[i], py_v_MVR13_v_muscles_v[i], py_v_MVR14_v_muscles_v[i], py_v_MVR15_v_muscles_v[i], py_v_MVR16_v_muscles_v[i], py_v_MVR17_v_muscles_v[i], py_v_MVR18_v_muscles_v[i], py_v_MVR19_v_muscles_v[i], py_v_MVR20_v_muscles_v[i], py_v_MVR21_v_muscles_v[i], py_v_MVR22_v_muscles_v[i], py_v_MVR23_v_muscles_v[i], py_v_MVL01_v_muscles_v[i], py_v_MVL02_v_muscles_v[i], py_v_MVL03_v_muscles_v[i], py_v_MVL04_v_muscles_v[i], py_v_MVL05_v_muscles_v[i], py_v_MVL06_v_muscles_v[i], py_v_MVL07_v_muscles_v[i], py_v_MVL08_v_muscles_v[i], py_v_MVL09_v_muscles_v[i], py_v_MVL10_v_muscles_v[i], py_v_MVL11_v_muscles_v[i], py_v_MVL12_v_muscles_v[i], py_v_MVL13_v_muscles_v[i], py_v_MVL14_v_muscles_v[i], py_v_MVL15_v_muscles_v[i], py_v_MVL16_v_muscles_v[i], py_v_MVL17_v_muscles_v[i], py_v_MVL18_v_muscles_v[i], py_v_MVL19_v_muscles_v[i], py_v_MVL20_v_muscles_v[i], py_v_MVL21_v_muscles_v[i], py_v_MVL22_v_muscles_v[i], py_v_MVL23_v_muscles_v[i], py_v_MVL24_v_muscles_v[i], py_v_MDL01_v_muscles_v[i], py_v_MDL02_v_muscles_v[i], py_v_MDL03_v_muscles_v[i], py_v_MDL04_v_muscles_v[i], py_v_MDL05_v_muscles_v[i], py_v_MDL06_v_muscles_v[i], py_v_MDL07_v_muscles_v[i], py_v_MDL08_v_muscles_v[i], py_v_MDL09_v_muscles_v[i], py_v_MDL10_v_muscles_v[i], py_v_MDL11_v_muscles_v[i], py_v_MDL12_v_muscles_v[i], py_v_MDL13_v_muscles_v[i], py_v_MDL14_v_muscles_v[i], py_v_MDL15_v_muscles_v[i], py_v_MDL16_v_muscles_v[i], py_v_MDL17_v_muscles_v[i], py_v_MDL18_v_muscles_v[i], py_v_MDL19_v_muscles_v[i], py_v_MDL20_v_muscles_v[i], py_v_MDL21_v_muscles_v[i], py_v_MDL22_v_muscles_v[i], py_v_MDL23_v_muscles_v[i], py_v_MDL24_v_muscles_v[i], ))
f_muscles_v_f2.close()
print("Saved data to: c302_C2_AS_DA_DB.muscles.dat")
# ###################### File to save: c302_C2_AS_DA_DB.muscles.activity.dat (muscles_activity)
py_v_MDR01_v_muscles_activity = [ float(x ) for x in h.v_MDR01_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR02_v_muscles_activity = [ float(x ) for x in h.v_MDR02_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR03_v_muscles_activity = [ float(x ) for x in h.v_MDR03_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR04_v_muscles_activity = [ float(x ) for x in h.v_MDR04_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR05_v_muscles_activity = [ float(x ) for x in h.v_MDR05_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR06_v_muscles_activity = [ float(x ) for x in h.v_MDR06_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR07_v_muscles_activity = [ float(x ) for x in h.v_MDR07_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR08_v_muscles_activity = [ float(x ) for x in h.v_MDR08_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR09_v_muscles_activity = [ float(x ) for x in h.v_MDR09_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR10_v_muscles_activity = [ float(x ) for x in h.v_MDR10_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR11_v_muscles_activity = [ float(x ) for x in h.v_MDR11_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR12_v_muscles_activity = [ float(x ) for x in h.v_MDR12_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR13_v_muscles_activity = [ float(x ) for x in h.v_MDR13_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR14_v_muscles_activity = [ float(x ) for x in h.v_MDR14_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR15_v_muscles_activity = [ float(x ) for x in h.v_MDR15_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR16_v_muscles_activity = [ float(x ) for x in h.v_MDR16_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR17_v_muscles_activity = [ float(x ) for x in h.v_MDR17_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR18_v_muscles_activity = [ float(x ) for x in h.v_MDR18_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR19_v_muscles_activity = [ float(x ) for x in h.v_MDR19_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR20_v_muscles_activity = [ float(x ) for x in h.v_MDR20_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR21_v_muscles_activity = [ float(x ) for x in h.v_MDR21_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR22_v_muscles_activity = [ float(x ) for x in h.v_MDR22_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR23_v_muscles_activity = [ float(x ) for x in h.v_MDR23_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDR24_v_muscles_activity = [ float(x ) for x in h.v_MDR24_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR01_v_muscles_activity = [ float(x ) for x in h.v_MVR01_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR02_v_muscles_activity = [ float(x ) for x in h.v_MVR02_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR03_v_muscles_activity = [ float(x ) for x in h.v_MVR03_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR04_v_muscles_activity = [ float(x ) for x in h.v_MVR04_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR05_v_muscles_activity = [ float(x ) for x in h.v_MVR05_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR06_v_muscles_activity = [ float(x ) for x in h.v_MVR06_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR07_v_muscles_activity = [ float(x ) for x in h.v_MVR07_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR08_v_muscles_activity = [ float(x ) for x in h.v_MVR08_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR09_v_muscles_activity = [ float(x ) for x in h.v_MVR09_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR10_v_muscles_activity = [ float(x ) for x in h.v_MVR10_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR11_v_muscles_activity = [ float(x ) for x in h.v_MVR11_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR12_v_muscles_activity = [ float(x ) for x in h.v_MVR12_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR13_v_muscles_activity = [ float(x ) for x in h.v_MVR13_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR14_v_muscles_activity = [ float(x ) for x in h.v_MVR14_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR15_v_muscles_activity = [ float(x ) for x in h.v_MVR15_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR16_v_muscles_activity = [ float(x ) for x in h.v_MVR16_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR17_v_muscles_activity = [ float(x ) for x in h.v_MVR17_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR18_v_muscles_activity = [ float(x ) for x in h.v_MVR18_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR19_v_muscles_activity = [ float(x ) for x in h.v_MVR19_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR20_v_muscles_activity = [ float(x ) for x in h.v_MVR20_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR21_v_muscles_activity = [ float(x ) for x in h.v_MVR21_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR22_v_muscles_activity = [ float(x ) for x in h.v_MVR22_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVR23_v_muscles_activity = [ float(x ) for x in h.v_MVR23_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL01_v_muscles_activity = [ float(x ) for x in h.v_MVL01_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL02_v_muscles_activity = [ float(x ) for x in h.v_MVL02_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL03_v_muscles_activity = [ float(x ) for x in h.v_MVL03_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL04_v_muscles_activity = [ float(x ) for x in h.v_MVL04_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL05_v_muscles_activity = [ float(x ) for x in h.v_MVL05_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL06_v_muscles_activity = [ float(x ) for x in h.v_MVL06_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL07_v_muscles_activity = [ float(x ) for x in h.v_MVL07_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL08_v_muscles_activity = [ float(x ) for x in h.v_MVL08_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL09_v_muscles_activity = [ float(x ) for x in h.v_MVL09_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL10_v_muscles_activity = [ float(x ) for x in h.v_MVL10_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL11_v_muscles_activity = [ float(x ) for x in h.v_MVL11_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL12_v_muscles_activity = [ float(x ) for x in h.v_MVL12_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL13_v_muscles_activity = [ float(x ) for x in h.v_MVL13_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL14_v_muscles_activity = [ float(x ) for x in h.v_MVL14_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL15_v_muscles_activity = [ float(x ) for x in h.v_MVL15_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL16_v_muscles_activity = [ float(x ) for x in h.v_MVL16_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL17_v_muscles_activity = [ float(x ) for x in h.v_MVL17_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL18_v_muscles_activity = [ float(x ) for x in h.v_MVL18_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL19_v_muscles_activity = [ float(x ) for x in h.v_MVL19_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL20_v_muscles_activity = [ float(x ) for x in h.v_MVL20_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL21_v_muscles_activity = [ float(x ) for x in h.v_MVL21_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL22_v_muscles_activity = [ float(x ) for x in h.v_MVL22_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL23_v_muscles_activity = [ float(x ) for x in h.v_MVL23_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MVL24_v_muscles_activity = [ float(x ) for x in h.v_MVL24_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL01_v_muscles_activity = [ float(x ) for x in h.v_MDL01_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL02_v_muscles_activity = [ float(x ) for x in h.v_MDL02_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL03_v_muscles_activity = [ float(x ) for x in h.v_MDL03_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL04_v_muscles_activity = [ float(x ) for x in h.v_MDL04_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL05_v_muscles_activity = [ float(x ) for x in h.v_MDL05_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL06_v_muscles_activity = [ float(x ) for x in h.v_MDL06_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL07_v_muscles_activity = [ float(x ) for x in h.v_MDL07_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL08_v_muscles_activity = [ float(x ) for x in h.v_MDL08_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL09_v_muscles_activity = [ float(x ) for x in h.v_MDL09_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL10_v_muscles_activity = [ float(x ) for x in h.v_MDL10_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL11_v_muscles_activity = [ float(x ) for x in h.v_MDL11_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL12_v_muscles_activity = [ float(x ) for x in h.v_MDL12_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL13_v_muscles_activity = [ float(x ) for x in h.v_MDL13_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL14_v_muscles_activity = [ float(x ) for x in h.v_MDL14_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL15_v_muscles_activity = [ float(x ) for x in h.v_MDL15_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL16_v_muscles_activity = [ float(x ) for x in h.v_MDL16_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL17_v_muscles_activity = [ float(x ) for x in h.v_MDL17_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL18_v_muscles_activity = [ float(x ) for x in h.v_MDL18_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL19_v_muscles_activity = [ float(x ) for x in h.v_MDL19_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL20_v_muscles_activity = [ float(x ) for x in h.v_MDL20_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL21_v_muscles_activity = [ float(x ) for x in h.v_MDL21_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL22_v_muscles_activity = [ float(x ) for x in h.v_MDL22_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL23_v_muscles_activity = [ float(x ) for x in h.v_MDL23_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
py_v_MDL24_v_muscles_activity = [ float(x ) for x in h.v_MDL24_v_muscles_activity.to_python() ] # Convert to Python list for speed, variable has dim: concentration
f_muscles_activity_f2 = open('c302_C2_AS_DA_DB.muscles.activity.dat', 'w')
num_points = len(py_v_time) # Simulation may have been stopped before tstop...
for i in range(num_points):
f_muscles_activity_f2.write('%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t\n' % (py_v_time[i], py_v_MDR01_v_muscles_activity[i], py_v_MDR02_v_muscles_activity[i], py_v_MDR03_v_muscles_activity[i], py_v_MDR04_v_muscles_activity[i], py_v_MDR05_v_muscles_activity[i], py_v_MDR06_v_muscles_activity[i], py_v_MDR07_v_muscles_activity[i], py_v_MDR08_v_muscles_activity[i], py_v_MDR09_v_muscles_activity[i], py_v_MDR10_v_muscles_activity[i], py_v_MDR11_v_muscles_activity[i], py_v_MDR12_v_muscles_activity[i], py_v_MDR13_v_muscles_activity[i], py_v_MDR14_v_muscles_activity[i], py_v_MDR15_v_muscles_activity[i], py_v_MDR16_v_muscles_activity[i], py_v_MDR17_v_muscles_activity[i], py_v_MDR18_v_muscles_activity[i], py_v_MDR19_v_muscles_activity[i], py_v_MDR20_v_muscles_activity[i], py_v_MDR21_v_muscles_activity[i], py_v_MDR22_v_muscles_activity[i], py_v_MDR23_v_muscles_activity[i], py_v_MDR24_v_muscles_activity[i], py_v_MVR01_v_muscles_activity[i], py_v_MVR02_v_muscles_activity[i], py_v_MVR03_v_muscles_activity[i], py_v_MVR04_v_muscles_activity[i], py_v_MVR05_v_muscles_activity[i], py_v_MVR06_v_muscles_activity[i], py_v_MVR07_v_muscles_activity[i], py_v_MVR08_v_muscles_activity[i], py_v_MVR09_v_muscles_activity[i], py_v_MVR10_v_muscles_activity[i], py_v_MVR11_v_muscles_activity[i], py_v_MVR12_v_muscles_activity[i], py_v_MVR13_v_muscles_activity[i], py_v_MVR14_v_muscles_activity[i], py_v_MVR15_v_muscles_activity[i], py_v_MVR16_v_muscles_activity[i], py_v_MVR17_v_muscles_activity[i], py_v_MVR18_v_muscles_activity[i], py_v_MVR19_v_muscles_activity[i], py_v_MVR20_v_muscles_activity[i], py_v_MVR21_v_muscles_activity[i], py_v_MVR22_v_muscles_activity[i], py_v_MVR23_v_muscles_activity[i], py_v_MVL01_v_muscles_activity[i], py_v_MVL02_v_muscles_activity[i], py_v_MVL03_v_muscles_activity[i], py_v_MVL04_v_muscles_activity[i], py_v_MVL05_v_muscles_activity[i], py_v_MVL06_v_muscles_activity[i], py_v_MVL07_v_muscles_activity[i], py_v_MVL08_v_muscles_activity[i], py_v_MVL09_v_muscles_activity[i], py_v_MVL10_v_muscles_activity[i], py_v_MVL11_v_muscles_activity[i], py_v_MVL12_v_muscles_activity[i], py_v_MVL13_v_muscles_activity[i], py_v_MVL14_v_muscles_activity[i], py_v_MVL15_v_muscles_activity[i], py_v_MVL16_v_muscles_activity[i], py_v_MVL17_v_muscles_activity[i], py_v_MVL18_v_muscles_activity[i], py_v_MVL19_v_muscles_activity[i], py_v_MVL20_v_muscles_activity[i], py_v_MVL21_v_muscles_activity[i], py_v_MVL22_v_muscles_activity[i], py_v_MVL23_v_muscles_activity[i], py_v_MVL24_v_muscles_activity[i], py_v_MDL01_v_muscles_activity[i], py_v_MDL02_v_muscles_activity[i], py_v_MDL03_v_muscles_activity[i], py_v_MDL04_v_muscles_activity[i], py_v_MDL05_v_muscles_activity[i], py_v_MDL06_v_muscles_activity[i], py_v_MDL07_v_muscles_activity[i], py_v_MDL08_v_muscles_activity[i], py_v_MDL09_v_muscles_activity[i], py_v_MDL10_v_muscles_activity[i], py_v_MDL11_v_muscles_activity[i], py_v_MDL12_v_muscles_activity[i], py_v_MDL13_v_muscles_activity[i], py_v_MDL14_v_muscles_activity[i], py_v_MDL15_v_muscles_activity[i], py_v_MDL16_v_muscles_activity[i], py_v_MDL17_v_muscles_activity[i], py_v_MDL18_v_muscles_activity[i], py_v_MDL19_v_muscles_activity[i], py_v_MDL20_v_muscles_activity[i], py_v_MDL21_v_muscles_activity[i], py_v_MDL22_v_muscles_activity[i], py_v_MDL23_v_muscles_activity[i], py_v_MDL24_v_muscles_activity[i], ))
f_muscles_activity_f2.close()
print("Saved data to: c302_C2_AS_DA_DB.muscles.activity.dat")
# ###################### File to save: c302_C2_AS_DA_DB.dat (neurons_v)
py_v_AS1_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS1_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS10_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS10_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS11_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS11_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS2_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS2_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS3_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS3_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS4_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS4_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS5_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS5_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS6_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS6_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS7_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS7_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS8_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS8_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AS9_v_neurons_v = [ float(x / 1000.0) for x in h.v_AS9_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AVAL_v_neurons_v = [ float(x / 1000.0) for x in h.v_AVAL_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AVAR_v_neurons_v = [ float(x / 1000.0) for x in h.v_AVAR_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AVBL_v_neurons_v = [ float(x / 1000.0) for x in h.v_AVBL_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_AVBR_v_neurons_v = [ float(x / 1000.0) for x in h.v_AVBR_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DA1_v_neurons_v = [ float(x / 1000.0) for x in h.v_DA1_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DA2_v_neurons_v = [ float(x / 1000.0) for x in h.v_DA2_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DA3_v_neurons_v = [ float(x / 1000.0) for x in h.v_DA3_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DA4_v_neurons_v = [ float(x / 1000.0) for x in h.v_DA4_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DA5_v_neurons_v = [ float(x / 1000.0) for x in h.v_DA5_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DA6_v_neurons_v = [ float(x / 1000.0) for x in h.v_DA6_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DA7_v_neurons_v = [ float(x / 1000.0) for x in h.v_DA7_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DA8_v_neurons_v = [ float(x / 1000.0) for x in h.v_DA8_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DA9_v_neurons_v = [ float(x / 1000.0) for x in h.v_DA9_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DB1_v_neurons_v = [ float(x / 1000.0) for x in h.v_DB1_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DB2_v_neurons_v = [ float(x / 1000.0) for x in h.v_DB2_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DB3_v_neurons_v = [ float(x / 1000.0) for x in h.v_DB3_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DB4_v_neurons_v = [ float(x / 1000.0) for x in h.v_DB4_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DB5_v_neurons_v = [ float(x / 1000.0) for x in h.v_DB5_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DB6_v_neurons_v = [ float(x / 1000.0) for x in h.v_DB6_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
py_v_DB7_v_neurons_v = [ float(x / 1000.0) for x in h.v_DB7_v_neurons_v.to_python() ] # Convert to Python list for speed, variable has dim: voltage
f_neurons_v_f2 = open('c302_C2_AS_DA_DB.dat', 'w')
num_points = len(py_v_time) # Simulation may have been stopped before tstop...
for i in range(num_points):
f_neurons_v_f2.write('%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t%e\t\n' % (py_v_time[i], py_v_AS1_v_neurons_v[i], py_v_AS10_v_neurons_v[i], py_v_AS11_v_neurons_v[i], py_v_AS2_v_neurons_v[i], py_v_AS3_v_neurons_v[i], py_v_AS4_v_neurons_v[i], py_v_AS5_v_neurons_v[i], py_v_AS6_v_neurons_v[i], py_v_AS7_v_neurons_v[i], py_v_AS8_v_neurons_v[i], py_v_AS9_v_neurons_v[i], py_v_AVAL_v_neurons_v[i], py_v_AVAR_v_neurons_v[i], py_v_AVBL_v_neurons_v[i], py_v_AVBR_v_neurons_v[i], py_v_DA1_v_neurons_v[i], py_v_DA2_v_neurons_v[i], py_v_DA3_v_neurons_v[i], py_v_DA4_v_neurons_v[i], py_v_DA5_v_neurons_v[i], py_v_DA6_v_neurons_v[i], py_v_DA7_v_neurons_v[i], py_v_DA8_v_neurons_v[i], py_v_DA9_v_neurons_v[i], py_v_DB1_v_neurons_v[i], py_v_DB2_v_neurons_v[i], py_v_DB3_v_neurons_v[i], py_v_DB4_v_neurons_v[i], py_v_DB5_v_neurons_v[i], py_v_DB6_v_neurons_v[i], py_v_DB7_v_neurons_v[i], ))
f_neurons_v_f2.close()
print("Saved data to: c302_C2_AS_DA_DB.dat")
save_end = time.time()
save_time = save_end - self.sim_end
print("Finished saving results in %f seconds"%(save_time))
print("Done")
quit()
if __name__ == '__main__':
ns = NeuronSimulation(tstop=2000, dt=0.05, seed=123456789)
ns.run()
| [
"[email protected]"
]
| |
0c824d6473b9658dfa17bbd735171214cf1c1148 | 8bf1c3691f1b9202569f600ef7e22f270998683b | /runtest.py | 2b7d203e691f80185fd8202af3388df20663da6e | [
"MIT"
]
| permissive | gonchik/grab | 35c3b1e0605cfa850f92b4b15a68944fb8c7fc40 | d007afb7aeab63036d494f3b2704be96ea570810 | refs/heads/master | 2021-01-18T12:15:43.105005 | 2016-01-31T12:38:07 | 2016-01-31T12:38:07 | 50,773,598 | 0 | 0 | MIT | 2019-09-19T20:38:34 | 2016-01-31T12:35:29 | Python | UTF-8 | Python | false | false | 5,402 | py | #!/usr/bin/env python
# coding: utf-8
import unittest
import sys
from optparse import OptionParser
import logging
from copy import copy
from test.util import GLOBAL, start_server, stop_server
from weblib.watch import watch
# **********
# Grab Tests
# * pycurl transport
# * extensions
# **********
# TODO:
# * test redirect and response.url after redirect
GRAB_TEST_LIST = (
# Internal API
'test.grab_api',
'test.grab_transport',
'test.response_class',
'test.grab_debug', # TODO: fix tests excluded for urllib3
# Response processing
'test.grab_xml_processing',
'test.grab_response_body_processing',
'test.grab_charset',
'test.grab_redirect',
# Network
'test.grab_get_request',
'test.grab_post_request',
'test.grab_request', # TODO: fix tests excluded for urllib3
'test.grab_user_agent',
'test.grab_cookies', # TODO: fix tests excluded for urllib3
'test.grab_url_processing',
# Refactor
'test.grab_proxy',
'test.grab_upload_file',
'test.grab_limit_option',
'test.grab_charset_issue',
'test.grab_pickle', # TODO: fix tests excluded for urllib3
# *** Extension sub-system
# *** Extensions
'test.ext_text',
'test.ext_rex',
'test.ext_lxml',
'test.ext_form',
'test.ext_doc',
'test.ext_structured',
# *** Pycurl Test
'test.pycurl_cookie',
# *** util.module
'test.util_module',
'test.util_log',
# *** grab.export
'test.util_config',
'test.script_crawl',
#'test.script_start_project',
'test.grab_error',
'test.selector_deprecated',
'test.grab_deprecated',
'test.ext_pyquery',
'test.tools_deprecated',
)
# ************
# Spider Tests
# ************
SPIDER_TEST_LIST = (
'test.spider_task',
'test.spider',
'test.spider_proxy',
'test.spider_queue',
'test.spider_misc',
'test.spider_meta',
'test.spider_error',
'test.spider_cache',
'test.spider_data',
'test.spider_stat',
'test.spider_multiprocess',
)
def main():
logging.basicConfig(level=logging.DEBUG)
parser = OptionParser()
parser.add_option('-t', '--test', help='Run only specified tests')
parser.add_option('--transport', default='pycurl')
parser.add_option('--test-grab', action='store_true',
default=False, help='Run tests for Grab::Spider')
parser.add_option('--test-spider', action='store_true',
default=False, help='Run tests for Grab')
parser.add_option('--test-all', action='store_true',
default=False,
help='Run tests for both Grab and Grab::Spider')
parser.add_option('--backend-mongo', action='store_true',
default=False,
help='Run extra tests that depends on mongodb')
parser.add_option('--backend-redis', action='store_true',
default=False,
help='Run extra tests that depends on redis')
parser.add_option('--backend-mysql', action='store_true',
default=False,
help='Run extra tests that depends on mysql')
parser.add_option('--backend-postgresql', action='store_true',
default=False,
help='Run extra tests that depends on postgresql')
parser.add_option('--mp-mode', action='store_true', default=False,
help='Enable multiprocess mode in spider tests')
parser.add_option('--profile', action='store_true', default=False,
help='Do profiling')
opts, args = parser.parse_args()
GLOBAL['transport'] = opts.transport
if opts.backend_mongo:
GLOBAL['backends'].append('mongo')
if opts.backend_redis:
GLOBAL['backends'].append('redis')
if opts.backend_mysql:
GLOBAL['backends'].append('mysql')
if opts.backend_postgresql:
GLOBAL['backends'].append('postgresql')
test_list = []
if opts.test_all:
test_list += GRAB_TEST_LIST
test_list += SPIDER_TEST_LIST
if opts.test_grab:
test_list += GRAB_TEST_LIST
if opts.test_spider:
test_list += SPIDER_TEST_LIST
if opts.test:
test_list += [opts.test]
GLOBAL['mp_mode'] = opts.mp_mode
# Check tests integrity
# Ensure that all test modules are imported correctly
for path in test_list:
__import__(path, None, None, ['foo'])
loader = unittest.TestLoader()
suite = unittest.TestSuite()
for path in test_list:
mod_suite = loader.loadTestsFromName(path)
for some_suite in mod_suite:
for test in some_suite:
if (not hasattr(test, '_backend') or
test._backend in GLOBAL['backends']):
suite.addTest(test)
runner = unittest.TextTestRunner()
#start_server()
if opts.profile:
import cProfile
import pyprof2calltree
import pstats
profile_tree_file = 'var/test.prof.out'
prof = cProfile.Profile()
result = prof.runcall(runner.run, suite)
stats = pstats.Stats(prof)
stats.strip_dirs()
pyprof2calltree.convert(stats, profile_tree_file)
else:
result = runner.run(suite)
if result.wasSuccessful():
sys.exit(0)
else:
sys.exit(1)
if __name__ == '__main__':
main()
| [
"[email protected]"
]
| |
8294d076e880d517e835d02c3ff0c531a9974495 | f2ed1b993139c85767d2e6a1b1be74fdfad23822 | /jquery/insert_text1.py | 801f6404a588311a9a12d81bd92a18a83cc39609 | []
| no_license | bunkahle/Transcrypt-Examples | 5377674597eb4b6d6eb92d5ae71059b97f3e0d2e | 17d6460f3b532bb8258170a31875e4e26a977839 | refs/heads/master | 2022-06-22T17:40:33.195708 | 2022-05-31T15:36:37 | 2022-05-31T15:36:37 | 120,099,101 | 31 | 10 | null | null | null | null | UTF-8 | Python | false | false | 255 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__pragma__ ('alias', 'S', '$')
# instead of : document.getElementById('output').innerText = text
def action():
text = 'Hello, DOM!';
S("#output").text(text)
S(document).ready(action)
| [
"[email protected]"
]
| |
bfc654f03e4abb805c4eea1db3b5b3cdb780fb9b | 5f86944bdf1b810a84c63adc6ed01bbb48d2c59a | /kubernetes/test/test_v1_container_state_running.py | 2eb68d73308f529449f28a08d7f15a0f0e8c4179 | [
"Apache-2.0"
]
| permissive | m4ttshaw/client-python | 384c721ba57b7ccc824d5eca25834d0288b211e2 | 4eac56a8b65d56eb23d738ceb90d3afb6dbd96c1 | refs/heads/master | 2021-01-13T06:05:51.564765 | 2017-06-21T08:31:03 | 2017-06-21T08:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 925 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.6.5
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import kubernetes.client
from kubernetes.client.rest import ApiException
from kubernetes.client.models.v1_container_state_running import V1ContainerStateRunning
class TestV1ContainerStateRunning(unittest.TestCase):
""" V1ContainerStateRunning unit test stubs """
def setUp(self):
pass
def tearDown(self):
pass
def testV1ContainerStateRunning(self):
"""
Test V1ContainerStateRunning
"""
model = kubernetes.client.models.v1_container_state_running.V1ContainerStateRunning()
if __name__ == '__main__':
unittest.main()
| [
"[email protected]"
]
| |
d341468a41a394a1836146fad9c9b7d85402a0ab | 5dd2dc445bc0c4af6d29bf1290969593689c6dfc | /actor critic/main.py | 3696a4c30cf275d400afaeeed63ad7d7ac493038 | []
| no_license | RobertSamoilescu/RL_bootcamp | 446ff988f0dd8cfdf1c91f7d14ea983092a08ce0 | d5f774bfebf5f6a5d7f0440a7c60f58d2706e7aa | refs/heads/master | 2022-01-09T07:13:25.862297 | 2019-06-20T22:49:03 | 2019-06-20T22:49:03 | 192,088,280 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,525 | py | import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim
import numpy as np
import gym
from itertools import count
from torch.distributions.categorical import Categorical
from tensorboardX import SummaryWriter
# define tensorboard summary
writer = SummaryWriter()
# create environment
env = gym.make("CartPole-v0")
# create actor model
actor = nn.Sequential(
nn.Linear(4, 128),
nn.ReLU(),
nn.Linear(128, env.action_space.n)
).cuda()
# create critic model
critic = nn.Sequential(
nn.Linear(4, 128),
nn.ReLU(),
nn.Linear(128, 1)
).cuda()
# define optimizers
actor_optimizer = torch.optim.RMSprop(actor.parameters(), lr=7e-4)
critic_optimizer = torch.optim.RMSprop(critic.parameters(), lr=7e-4)
# loss criterion
critic_criterion = nn.MSELoss()
def sample_trajectories(no_trajectories=256):
trajectories = []
returns = []
for i in range(no_trajectories):
state = env.reset()
states = []; next_states = []
actions = []; rewards = []
masks = []
rreturn = 0
for t in count():
state = torch.tensor(state).unsqueeze(0).float().cuda()
with torch.no_grad():
probs = F.softmax(actor(state), dim=1).squeeze(0)
# sample action
categorical = Categorical(probs)
action = categorical.sample().item()
# interact with env
next_state, reward, done, info = env.step(action)
rreturn += reward
# add sample to trajectory
states.append(state)
actions.append(torch.tensor([action]))
rewards.append(torch.tensor([reward]))
next_states.append(torch.tensor(next_state).unsqueeze(0).float())
masks.append(torch.tensor([done]).float())
# update state
state = next_state
if done:
trajectories.append((states, actions, rewards, next_states, masks))
returns.append(rreturn)
break
return trajectories, returns
def optimize_critic(trajectories, gamma=0.99):
loss = 0
for states, actions, rewards, next_states, masks in trajectories:
states = torch.cat(states, dim=0)
actions = torch.cat(actions).reshape(-1, 1).cuda()
rewards = torch.cat(rewards).reshape(-1, 1).cuda()
next_states = torch.cat(next_states, dim=0).cuda()
masks = torch.cat(masks).reshape(-1, 1).cuda()
y = critic(states)
y_target = rewards + gamma * (1. - masks) * critic(next_states)
loss += critic_criterion(y, y_target)
loss = loss / len(trajectories)
# optimize critic
critic_optimizer.zero_grad()
loss.backward()
for param in critic.parameters():
param.grad.data.clamp(-1, 1)
critic_optimizer.step()
def optimize_actor(trajectories, gamma=0.99):
loss = 0
for states, actions, rewards, next_states, masks in trajectories:
states = torch.cat(states, dim=0)
actions = torch.cat(actions).reshape(-1, 1).cuda()
rewards = torch.cat(rewards).reshape(-1, 1).cuda()
next_states = torch.cat(next_states, dim=0).cuda()
masks = torch.cat(masks).reshape(-1, 1).cuda()
# compute log probabilities
log_pi = torch.log(F.softmax(actor(states), dim=1).gather(1, actions))
# compute advantage
adv = rewards + gamma * (1. - masks) * critic(next_states) - critic(states)
# compute loss
loss += torch.sum(log_pi * adv)
loss = -loss / len(trajectories)
actor_optimizer.zero_grad()
loss.backward()
for param in actor.parameters():
param.grad.data.clamp_(-1, 1)
actor_optimizer.step()
def actor_critic(no_updates):
for update in range(1, no_updates + 1):
# sample trajectories
trajectories, returns = sample_trajectories()
# compute gradient and optimize critic
optimize_critic(trajectories)
# compute gradient and optimize actor
optimize_actor(trajectories)
# tensorboardX logger
for name, param in critic.named_parameters():
writer.add_histogram("critic/" + name, param.clone().cpu().data.numpy(), update)
for name, param in actor.named_parameters():
writer.add_histogram("actor/" + name, param.clone().cpu().data.numpy(), update)
min_rr, mean_rr, max_rr, std = np.min(returns), np.mean(returns), \
np.max(returns), np.std(returns)
# logs
writer.add_scalar("mean_return", mean_rr, update)
writer.add_scalar("min_return", min_rr, update)
writer.add_scalar("max_return", max_rr, update)
print("Update: %d, Mean return: %.2f, Min return: %.2f, Max return: %.2f, Std: %.2f" %
(update, mean_rr, min_rr, max_rr, std))
if update % 10 == 0:
torch.save(actor.state_dict(), "actor")
torch.save(critic.state_dict(), "critic")
print("Models saved")
env.close()
writer.close()
if __name__ == "__main__":
actor_critic(no_updates=1000000)
| [
"[email protected]"
]
| |
10ba8748e14f3798670a8a137684dea34a321f07 | a36fb46fc6416aa9e1a874a8f61bfe10535f511b | /Day20/solution.py | e16b0986b1e6ac69d24610e5ccd82c17e52c90e7 | []
| no_license | RaspiKidd/AoC2018 | 846995bd292d0103da69855d2965efb19d958f2a | 76f5e42de98d26344d44f0ed389bc681137ea6ea | refs/heads/master | 2020-04-09T02:21:40.253987 | 2018-12-22T11:19:33 | 2018-12-22T11:19:33 | 159,937,965 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,285 | py | import networkx
maze = networkx.Graph()
paths = open('input.txt').read()[1:-1]
pos = {0} # the current positions that we're building on
stack = [] # a stack keeping track of (starts, ends) for groups
starts, ends = {0}, set() # current possible starting and ending positions
for c in paths:
if c == '|':
# an alternate: update possible ending points, and restart the group
ends.update(pos)
pos = starts
elif c in 'NESW':
# move in a given direction: add all edges and update our current positions
direction = {'N': 1, 'E': 1j, 'S': -1, 'W': -1j}[c]
maze.add_edges_from((p, p + direction) for p in pos)
pos = {p + direction for p in pos}
elif c == '(':
# start of group: add current positions as start of a new group
stack.append((starts, ends))
starts, ends = pos, set()
elif c == ')':
# end of group: finish current group, add current positions as possible ends
pos.update(ends)
starts, ends = stack.pop()
# find the shortest path lengths from the starting room to all other rooms
lengths = networkx.algorithms.shortest_path_length(maze, 0)
print('part1:', max(lengths.values()))
print('part2:', sum(1 for length in lengths.values() if length >= 1000)) | [
"[email protected]"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.