Version 2.2.3.2
chaoming0625
released this
18 Oct 12:45
·
1269 commits
to master
since this release
This release continuously improves the functionality of BrainPy
New features
- Add
brainpy.measure.unitary_LFP()
for calculating LFP from neuronal spikes
>>> import brainpy as bp
>>> runner = bp.DSRunner()
>>> runner.run(100)
>>> lfp = bp.measure.unitary_LFP(runner.mon.ts, runner.mon['exc.spike'], 'exc')
>>> lfp += bp.measure.unitary_LFP(runner.mon.ts, runner.mon['inh.spike'], 'inh')
- Add
brainpy.synapses.PoissonInput
model
>>> bp.synapse.PoissonInput(target_variable, num_input, freq, weight)
- Upgrade brainpy connection methods, improving its speeds. New customization of brainpy
Connector
can be implemented through
class YourConnector(bp.conn.TwoEndConnector):
def build_csr(self):
pass
def build_coo(self):
pass
def build_mat(self):
pass
Improvements
-
Support transformation contexts for
JaxArray
, and improve the error checking of JaxArray updating in a JIT function. -
Speedup delay retrieval by reversing delay variable data.
-
Improve the operator customization methods by using Numba functions.
-
Fix bugs in GPU operators in
brainpylib
.
What's Changed
- Docs: add compile_brainpylib documentation by @ztqakita in #270
- add
PoissonInput
model andunitary_LFP()
method by @chaoming0625 in #271 - organize brainpylib for future extensions by @chaoming0625 in #272
- Update lowdim analyzer by @ztqakita in #273
- speedup connections in One2One, All2All, GridFour, GridEight, and others by @chaoming0625 in #274
- consistent brainpylib with brainpy operators by @chaoming0625 in #275
- Fix test bugs by @chaoming0625 in #276
- Fixed setup mac script by @ztqakita in #278
- JaxArray transformation context by @chaoming0625 in #277
- speedup delay retrieval by reversing delay variable data by @chaoming0625 in #279
- Updating apis for connections and operation registeration by @chaoming0625 in #280
Full Changelog: V2.2.3.1...V2.2.3.2