bsb-arbor 0.0.0b0__py2.py3-none-any.whl → 0.0.0b3__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,24 +1,23 @@
1
- import psutil
2
- from bsb import config
3
- from bsb.config import types
4
- from bsb.simulation.simulation import Simulation
5
- from .cell import ArborCell
6
- from .connection import ArborConnection
7
- from .device import ArborDevice
8
-
9
-
10
- @config.node
11
- class ArborSimulation(Simulation):
12
- resolution = config.attr(type=types.float(min=0.0), default=0.1)
13
- profiling = config.attr(type=bool)
14
- cell_models = config.dict(type=ArborCell, required=True)
15
- connection_models = config.dict(type=ArborConnection, required=True)
16
- devices = config.dict(type=ArborDevice, required=True)
17
-
18
- @config.property(default=1)
19
- def threads(self):
20
- return self._threads
21
-
22
- @threads.setter
23
- def threads(self, value):
24
- 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,14 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bsb-arbor
3
- Version: 0.0.0b0
3
+ Version: 0.0.0b3
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: numpy
8
9
  Requires-Dist: bsb-core>=4.0.0b0,<=4.0.0b9999
9
10
  Requires-Dist: arbor~=0.9
10
11
  Requires-Dist: arborize[arbor]>=4.0.0b1
12
+ Requires-Dist: bsb-core[parallel] ; extra == "test"
13
+ Requires-Dist: bsb-nest>=0.0.0b0 ; extra == "test"
11
14
  Requires-Dist: bsb-test>=0.0.0b0 ; extra == "test"
15
+ Requires-Dist: coverage~=7.0 ; extra == "test"
12
16
  Provides-Extra: test
13
17
 
14
18
  # bsb-arbor
@@ -0,0 +1,15 @@
1
+ bsb_arbor/__init__.py,sha256=wd4WEJnlThAtrmgt7mKVsH4nQxlxpfQ2tvoVVzjS7cU,318
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-0.0.0b3.dist-info/entry_points.txt,sha256=8z5oyflKGOBD2smUKyrUit-_2JqBs85g8rm5YOM8SYg,43
12
+ bsb_arbor-0.0.0b3.dist-info/LICENSE,sha256=0SAgqCl8RI6Vm7Rv5YC6CPyLA2MXedQM9tq17WMXl-o,33041
13
+ bsb_arbor-0.0.0b3.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
14
+ bsb_arbor-0.0.0b3.dist-info/METADATA,sha256=MmcwrOt3YGmgCBEdXw53wItD8No3Q7czLKKdKYmjlvU,674
15
+ bsb_arbor-0.0.0b3.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- bsb_arbor/__init__.py,sha256=LqDOo29O6WXtFllX71ql5jw-xQvSD0Hxy5WODSiy1QI,315
2
- bsb_arbor/adapter.py,sha256=Y8XD9FyT3Lksq81Absd54IS9h1fPDWlh3R6PxbxNtIc,13277
3
- bsb_arbor/cell.py,sha256=3MGxv1q54oOvBxr_q2-RIoSjKA9us7lbyJY8U6i57xA,2176
4
- bsb_arbor/connection.py,sha256=KBuBAVZ06_25Oe4cd1Eiq3EoDaNUDk7MuuEWPfy4O0Y,2264
5
- bsb_arbor/device.py,sha256=uy8ZAdWcCuDJyPg-LnblsGIT4sCLVpYL1mjRNbfo6y0,1528
6
- bsb_arbor/simulation.py,sha256=D1cACVVABHqhbuTJYP1CizAC271Ii3GpCShfJlxI5Go,787
7
- bsb_arbor/devices/__init__.py,sha256=2nRCOpgKognnAyjlTBp6Kh8MYhH6FBeDaN_G636W8o8,115
8
- bsb_arbor/devices/poisson_generator.py,sha256=yvCtDY_uyqpzGNC_s9i0opXi0Eoshm81hShifaEm_QM,726
9
- bsb_arbor/devices/probe.py,sha256=5Pu8oCLdXuoiVNxqHUNpfLSlud3wvUZDzrY7OgJkxoU,1706
10
- bsb_arbor/devices/spike_recorder.py,sha256=D-TURub9v83g2B8nxa4akqM8BUcUIi_dzK63WWtLl0U,1332
11
- bsb_arbor-0.0.0b0.dist-info/entry_points.txt,sha256=8z5oyflKGOBD2smUKyrUit-_2JqBs85g8rm5YOM8SYg,43
12
- bsb_arbor-0.0.0b0.dist-info/LICENSE,sha256=0SAgqCl8RI6Vm7Rv5YC6CPyLA2MXedQM9tq17WMXl-o,33041
13
- bsb_arbor-0.0.0b0.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
14
- bsb_arbor-0.0.0b0.dist-info/METADATA,sha256=63Pjj_lklIFqdwHuVU-RXB01_HPRdrEfVG-c-bjPerI,503
15
- bsb_arbor-0.0.0b0.dist-info/RECORD,,