sim-ballena 0.1.2__cp312-cp312-manylinux_2_34_x86_64.whl → 0.1.4__cp312-cp312-manylinux_2_34_x86_64.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.
@@ -0,0 +1,49 @@
1
+ class Lif:
2
+ def repeat(self, n:int) -> list[Lif]: ...
3
+ def tau(self, tau:float) -> Lif: ...
4
+ def v_rest(self, v_rest:float) -> Lif: ...
5
+ def v_thres(self, v_thres:float) -> Lif: ...
6
+ def v_reset(self, v_reset:float) -> Lif: ...
7
+ def t_refractory(self, t_refractory:float) -> Lif: ...
8
+ def activity_window(self, start:float, end:float) -> Lif: ...
9
+ def get_voltage(self) -> float: ...
10
+ def get_tau(self) -> float: ...
11
+ def get_v_rest(self) -> float: ...
12
+ def get_v_thres(self) -> float: ...
13
+ def get_v_reset(self) -> float: ...
14
+ def get_t_refractory(self) -> float: ...
15
+
16
+
17
+ class Instance:
18
+ def __init__(spikes: list[tuple[float,int]]) -> Instance: ...
19
+ def get_spikes(self) -> list[tuple[float,int]]: ...
20
+
21
+ class PoissonGenerator:
22
+ def new(rates: list[float], max_time:float) -> PoissonGenerator: ...
23
+ def to_instance(self) -> Instance: ...
24
+ def get_spikes(self) -> list[list[float]]: ...
25
+ def concat(self, other:PoissonGenerator) -> PoissonGenerator: ...
26
+
27
+
28
+ class Response:
29
+ def outputs(self) ->list[int]: ...
30
+ def spk_times(self) ->list[list[float]]: ...
31
+ def spk_count(self) ->list[int]: ...
32
+ def v_trace(self) ->list[list[float]]: ...
33
+ def v_state(self) ->list[float]: ...
34
+ def time(self) ->list[float]: ...
35
+ def resolution(self, new_resolution:float) ->Response: ...
36
+
37
+
38
+ class Network:
39
+ def new(neurons: list[Lif])-> Network: ...
40
+ def synapses_in(self,synapses: list[ tuple[float,int] ] ) -> Network: ...
41
+ def synapses_net(self,synapses: list[ tuple[float,int] ]) -> Network: ...
42
+ def weights_in(self, weights:list[float]) -> Network: ...
43
+ def weights_net(self, weights:list[float]) -> Network: ...
44
+ def weights(self, weights:list[float]) -> Network: ...
45
+ def outputs(self, outputs:list[int]) -> Network: ...
46
+ def mode(self, modes: list[str]) -> Network: ...
47
+ def get_voltages(self) -> list[float]: ...
48
+ def simulate(self, instance: Instance, max_time:float) -> Response: ...
49
+
sim_ballena/py.typed ADDED
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sim_ballena
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -0,0 +1,7 @@
1
+ sim_ballena/__init__.py,sha256=jHzlUdU3pvW5XfcIwlcBCcLm9K4sgssN7BVIzR1LkWE,127
2
+ sim_ballena/__init__.pyi,sha256=qEKee92eIZmM5Mk9rH-LwcPlNwWclc1DWQNvxt30SXo,2681
3
+ sim_ballena/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ sim_ballena/sim_ballena.cpython-312-x86_64-linux-gnu.so,sha256=OTO4cPQl-6Ljs2EnX6QWmGTyijGbjosfQIn-O1__jmM,695728
5
+ sim_ballena-0.1.4.dist-info/METADATA,sha256=_XtSM1h8zSQb7JCj-9XyJDu6mZQ4_v6UVDv-jxZ2MKw,336
6
+ sim_ballena-0.1.4.dist-info/WHEEL,sha256=6XxsoRAefLjPtdxftyk9ZM9Li3h1rlKFcn0YmUowGJA,109
7
+ sim_ballena-0.1.4.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- sim_ballena/__init__.py,sha256=jHzlUdU3pvW5XfcIwlcBCcLm9K4sgssN7BVIzR1LkWE,127
2
- sim_ballena/sim_ballena.cpython-312-x86_64-linux-gnu.so,sha256=-EqBQuA-uNukaX0a7RHayB0s0uoQfgLRiFxptriL-Ew,686592
3
- sim_ballena-0.1.2.dist-info/METADATA,sha256=hoUgIoUQK_Nye6z0Xu_hto3LVN5wtHe3j0g8Vgj3WpA,336
4
- sim_ballena-0.1.2.dist-info/WHEEL,sha256=6XxsoRAefLjPtdxftyk9ZM9Li3h1rlKFcn0YmUowGJA,109
5
- sim_ballena-0.1.2.dist-info/RECORD,,