AStupidBear / SpikingNeuralNetworks.jl

Julia Spiking Neural Network Simulator
Other
37 stars 16 forks source link

Initial DiffEq preparations #17

Closed jpsamaroo closed 4 years ago

jpsamaroo commented 4 years ago

Intended to support #16 and make those changes mostly non-breaking. A big change here is the removal of Parameters as a dependency, and the introduction of an @snn_kw macro which does less, but importantly supports default type parameters. This macro can eventually be upstreamed to either Parameters.jl or Julia Base (as Base.@kwdef).

Todo:

codecov[bot] commented 4 years ago

Codecov Report

Merging #17 into master will increase coverage by 10.39%. The diff coverage is 64.91%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #17       +/-   ##
===========================================
+ Coverage   44.04%   54.43%   +10.39%     
===========================================
  Files          17       17               
  Lines         336      428       +92     
===========================================
+ Hits          148      233       +85     
- Misses        188      195        +7     
Impacted Files Coverage Δ
src/SpikingNeuralNetworks.jl 100.00% <ø> (ø)
src/neuron/rate.jl 100.00% <ø> (ø)
src/plot.jl 0.00% <0.00%> (ø)
src/synapse/fl_synapse.jl 0.00% <0.00%> (ø)
src/synapse/pinning_synapse.jl 0.00% <0.00%> (ø)
src/neuron/if2.jl 16.66% <50.00%> (+16.66%) :arrow_up:
src/neuron/noisy_if.jl 18.18% <50.00%> (+18.18%) :arrow_up:
src/neuron/poisson.jl 28.57% <50.00%> (+28.57%) :arrow_up:
src/synapse/pinning_full_synapse.jl 50.00% <66.66%> (+50.00%) :arrow_up:
src/utils.jl 73.84% <71.62%> (-2.02%) :arrow_down:
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e500d8e...62284bb. Read the comment docs.