Skip to content

Version 2.2.3.2

Compare
Choose a tag to compare
@chaoming0625 chaoming0625 released this 18 Oct 12:45
· 1269 commits to master since this release
87c0b86

This release continuously improves the functionality of BrainPy

New features

  1. 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')
  1. Add brainpy.synapses.PoissonInput model
>>> bp.synapse.PoissonInput(target_variable, num_input, freq, weight)
  1. 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

  1. Support transformation contexts for JaxArray, and improve the error checking of JaxArray updating in a JIT function.

  2. Speedup delay retrieval by reversing delay variable data.

  3. Improve the operator customization methods by using Numba functions.

  4. Fix bugs in GPU operators in brainpylib.

What's Changed

Full Changelog: V2.2.3.1...V2.2.3.2