bsb-arbor 0.0.0b1__py2.py3-none-any.whl → 4.0.0rc2__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bsb-arbor might be problematic. Click here for more details.

bsb_arbor/simulation.py CHANGED
@@ -1,25 +1,23 @@
1
- import psutil
2
- from bsb import config
3
- from bsb.config import types
4
- from bsb.simulation.simulation import Simulation
5
-
6
- from .cell import ArborCell
7
- from .connection import ArborConnection
8
- from .device import ArborDevice
9
-
10
-
11
- @config.node
12
- class ArborSimulation(Simulation):
13
- resolution = config.attr(type=types.float(min=0.0), default=0.1)
14
- profiling = config.attr(type=bool)
15
- cell_models = config.dict(type=ArborCell, required=True)
16
- connection_models = config.dict(type=ArborConnection, required=True)
17
- devices = config.dict(type=ArborDevice, required=True)
18
-
19
- @config.property(default=1)
20
- def threads(self):
21
- return self._threads
22
-
23
- @threads.setter
24
- def threads(self, value):
25
- self._threads = value if value != "all" else psutil.cpu_count(logical=False)
1
+ import psutil
2
+ from bsb import Simulation, config, types
3
+
4
+ from .cell import ArborCell
5
+ from .connection import ArborConnection
6
+ from .device import ArborDevice
7
+
8
+
9
+ @config.node
10
+ class ArborSimulation(Simulation):
11
+ resolution = config.attr(type=types.float(min=0.0), default=0.1)
12
+ profiling = config.attr(type=bool)
13
+ cell_models = config.dict(type=ArborCell, required=True)
14
+ connection_models = config.dict(type=ArborConnection, required=True)
15
+ devices = config.dict(type=ArborDevice, required=True)
16
+
17
+ @config.property(default=1)
18
+ def threads(self):
19
+ return self._threads
20
+
21
+ @threads.setter
22
+ def threads(self, value):
23
+ self._threads = value if value != "all" else psutil.cpu_count(logical=False)
@@ -1,15 +1,17 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bsb-arbor
3
- Version: 0.0.0b1
3
+ Version: 4.0.0rc2
4
4
  Summary: Arbor simulation adapter for the BSB framework
5
5
  Author-email: Robin De Schepper <robingilbert.deschepper@unipv.it>
6
6
  Description-Content-Type: text/markdown
7
7
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
8
- Requires-Dist: bsb-core>=4.0.0b0,<=4.0.0b9999
8
+ Requires-Dist: numpy
9
+ Requires-Dist: bsb-core==4.0.0rc2
9
10
  Requires-Dist: arbor~=0.9
10
- Requires-Dist: arborize[arbor]>=4.0.0b1
11
+ Requires-Dist: arborize[arbor]==4.0.0b6
11
12
  Requires-Dist: bsb-core[parallel] ; extra == "test"
12
- Requires-Dist: bsb-test>=0.0.0b0 ; extra == "test"
13
+ Requires-Dist: bsb-nest==4.0.0rc2 ; extra == "test"
14
+ Requires-Dist: bsb-test==4.0.0rc2 ; extra == "test"
13
15
  Requires-Dist: coverage~=7.0 ; extra == "test"
14
16
  Provides-Extra: test
15
17
 
@@ -0,0 +1,15 @@
1
+ bsb_arbor/__init__.py,sha256=cgQy3ACc9Y5K1en-yAKiuY7DeSH9ujK8TYfLOAzGuls,319
2
+ bsb_arbor/adapter.py,sha256=Yl8ItgKSkmT17dLLSfR5yWodJKrSf-ga39DYlad6__c,16130
3
+ bsb_arbor/cell.py,sha256=u82fahDg4u804pZUGVvI_4bg8q4m8YOkaPFsaA7yyN0,2159
4
+ bsb_arbor/connection.py,sha256=v0cZHqchHjjmHF3VSfoZQ9bnAhvikqYc27GCt1k-tF4,2315
5
+ bsb_arbor/device.py,sha256=7AWjFcrM-Mu0Y-9eA3xaP5iYnb0omDr7G-sH2FalUXw,1480
6
+ bsb_arbor/simulation.py,sha256=o-IsP5caJ7Oy46fEjMzeBzQkWDYUfkGaWsbEFw6yV1A,752
7
+ bsb_arbor/devices/__init__.py,sha256=0bL4NSE5hp2OW0Do0u4Jdgo0b4kU5X9yxwsUgaH1Bm8,118
8
+ bsb_arbor/devices/poisson_generator.py,sha256=JJ1r2NSAwEnvaZWwidsYqCDbGFNZt9xBbMnwRSGv5T0,750
9
+ bsb_arbor/devices/probe.py,sha256=eYObX2KdlB0PAeXFRkw-C7SeDrD5rZd1Ok5US4gEjKk,1762
10
+ bsb_arbor/devices/spike_recorder.py,sha256=5NEay2tZ4F_FBSsOkIyIsMNCIdhtWUrCFmmkokGKzGM,1375
11
+ bsb_arbor-4.0.0rc2.dist-info/entry_points.txt,sha256=8z5oyflKGOBD2smUKyrUit-_2JqBs85g8rm5YOM8SYg,43
12
+ bsb_arbor-4.0.0rc2.dist-info/LICENSE,sha256=0SAgqCl8RI6Vm7Rv5YC6CPyLA2MXedQM9tq17WMXl-o,33041
13
+ bsb_arbor-4.0.0rc2.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
14
+ bsb_arbor-4.0.0rc2.dist-info/METADATA,sha256=p7jDuNBgvZLGdP8vQWKKqJ_fkysiANvy6ga7qtbt0aA,665
15
+ bsb_arbor-4.0.0rc2.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- bsb_arbor/__init__.py,sha256=Yv0mb912WIOOdwQlrHykIgU_olkGCyL85G9Bis7En_c,316
2
- bsb_arbor/adapter.py,sha256=qJBT7BY8JIWtpK6e_SpTdrHHc72b_6tV-sWY70rCmGw,13512
3
- bsb_arbor/cell.py,sha256=xMtSVJTx20hxT-MgqsTeGR0hieWNxI4EXOlCEPz8a8U,2176
4
- bsb_arbor/connection.py,sha256=ZKz9qbMXpVHnqgzY3d0DevLZ1G0iaZMm2JEUF8DHFug,2285
5
- bsb_arbor/device.py,sha256=QCoUyAtT0RtgqoGa5O69RHp1kmm1Uj3DYh_M91_8cHU,1527
6
- bsb_arbor/simulation.py,sha256=iwFxCPFFGI7_K_Tcxd0ZJjvegJgbjSTbzx20MMeM45g,788
7
- bsb_arbor/devices/__init__.py,sha256=2kKiJZr9ZVXM9ZmR8GsVLnx_ZzFKYZd7pxLL238_EQc,115
8
- bsb_arbor/devices/poisson_generator.py,sha256=noBN5bjF8C_2ja_znJwvFx3kjrxDr1V_RUFjTgUvyz4,727
9
- bsb_arbor/devices/probe.py,sha256=3S0ztYAgsjX2CNLw7-wku5J8ku6diKWKLBq4MI9F-nM,1707
10
- bsb_arbor/devices/spike_recorder.py,sha256=WWyHPq8_Me9XEdqxpHPY6Gv17lv5m1UENQZDYQ_lEu0,1332
11
- bsb_arbor-0.0.0b1.dist-info/entry_points.txt,sha256=8z5oyflKGOBD2smUKyrUit-_2JqBs85g8rm5YOM8SYg,43
12
- bsb_arbor-0.0.0b1.dist-info/LICENSE,sha256=0SAgqCl8RI6Vm7Rv5YC6CPyLA2MXedQM9tq17WMXl-o,33041
13
- bsb_arbor-0.0.0b1.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
14
- bsb_arbor-0.0.0b1.dist-info/METADATA,sha256=-N8LwRL_yT2L6RLOO2FwUEuY9-qJ8q7LBhUg8VuULYI,602
15
- bsb_arbor-0.0.0b1.dist-info/RECORD,,