snnib.simulations.brian2_simulation.experiment

snnib.simulations.brian2_simulation.experiment(idx: int = -1)[source]

runs the experiment as a whole

Parameters
  • idx
    • int, optional

    • which configuration of the experiment to run

    • configurations
      • 0: “default”

      • 1: “optimized” (huge)

      • 2: “medium”

      • 3: “small”

      • 4: “tiny”

    • the default is -1

Raises

Returns
  • net
    • brian2.Network

    • created network

  • t_sim
    • brian2.Quantity

    • simulation time

  • dt
    • brian2.Quantity

    • simulation time step

  • params
    • dict

    • parameters of the configuration

  • parts
    • list

    • parts of net

    • also present within net

Dependencies
  • brian2

  • numpy

  • plotly