uni-courses / snncompare

Runs networkx graphs representing spiking neural networks of LIF-neurons on lava-nc or networkx.
GNU Affero General Public License v3.0
2 stars 0 forks source link

1. Convert the Rad_damage object into Synaptic_rad object. #207

Closed a-t-0 closed 1 year ago

a-t-0 commented 1 year ago

Ideally change this before calling the


new_synapse: Synapse = net.createSynapse(
                pre=synapse.pre,
                post=synapse.post,
                w=synapse.w,
                d=synapse.d,
                radiation=rad,
            )
            synapse = new_synapse

in apply_synapse_weight_increase_rad(

Understanding Poission

The Poisson distribution is used to get the (interval, and hence) times at which simulated radiation effects occur for a pre-determined, fixed duration window. In this case, the computation first computes the actual unradiated simulation duration, and then uses this to get the window length of the Poisson distribution. The Poisson distribution is determined by the properties:

Understanding Discrete Uniform distribution.

The uniform distribtuion is only defined by the:

Next, the amplitude of the radiation effect is selected for each of those neurons is selected using a Gaussian distribution.

Understanding Gaussian distribution

The Gaussian distribution is defined by: