Examples¶
These examples cover some basic topics in writing Brian scripts in Python. The complete source code for the examples is available in the examples folder in the extras package.
multiprocessing¶
plasticity¶
hears¶
- Example: sounds (hears)
- Example: ircam_hrtf (hears)
- Example: butterworth (hears)
- Example: time_varying_filter2 (hears)
- Example: time_varying_filter1 (hears)
- Example: dcgc (hears)
- Example: artificial_vowels (hears)
- Example: IIRfilterbank (hears)
- Example: gammatone (hears)
- Example: cochleagram (hears)
- Example: simple_anf (hears)
- Example: sound_localisation_model (hears)
- Example: linear_gammachirp (hears)
- Example: online_computation (hears)
- Example: log_gammachirp (hears)
- Example: drnl (hears)
- Example: cochlear_models (hears)
- Example: approximate_gammatone (hears)
hears/tan_carney_2003¶
electrophysiology¶
- Example: compensation_ex2_spikes (electrophysiology)
- Example: bridge (electrophysiology)
- Example: SEVC (electrophysiology)
- Example: threshold_analysis (electrophysiology)
- Example: AEC (electrophysiology)
- Example: compensation_ex1 (electrophysiology)
- Example: DCC (electrophysiology)
- Example: compensation_ex3_quality (electrophysiology)
- Example: voltageclamp (electrophysiology)
twister¶
misc¶
- Example: rate_model (misc)
- Example: I-F_curve (misc)
- Example: COBAHH (misc)
- Example: timed_array (misc)
- Example: pulsepacket (misc)
- Example: stim2d (misc)
- Example: I-F_curve2 (misc)
- Example: current_clamp (misc)
- Example: CUBA (misc)
- Example: spikes_io (misc)
- Example: non_reliability (misc)
- Example: poisson (misc)
- Example: multipleclocks (misc)
- Example: two_neurons (misc)
- Example: phase_locking (misc)
- Example: realtime_plotting (misc)
- Example: van_rossum_metric (misc)
- Example: remotecontrolclient (misc)
- Example: adaptive_threshold (misc)
- Example: delays (misc)
- Example: heterogeneous_delays (misc)
- Example: expIF_network (misc)
- Example: spike_triggered_average (misc)
- Example: noisy_ring (misc)
- Example: correlated_inputs (misc)
- Example: HodgkinHuxley (misc)
- Example: correlated_inputs2 (misc)
- Example: gap_junctions (misc)
- Example: transient_sync (misc)
- Example: adaptive (misc)
- Example: topographic_map (misc)
- Example: linked_var (misc)
- Example: named_threshold (misc)
- Example: minimalexample (misc)
- Example: stopping (misc)
- Example: using_classes (misc)
- Example: poissongroup (misc)
- Example: topographic_map2 (misc)
- Example: leaky_if (misc)
- Example: mirollo_strogatz (misc)
- Example: COBA (misc)
- Example: ring (misc)
- Example: after_potential (misc)
- Example: cable (misc)
- Example: reliability (misc)
- Example: if (misc)
- Example: remotecontrolserver (misc)
modelfitting¶
frompapers¶
- Example: Brunel_Hakim_1999 (frompapers)
- Example: Brette_Gerstner_2005 (frompapers)
- Example: Rothman_Manis_2003 (frompapers)
- Example: Plakiewicz_Brette_2010 (frompapers)
- Example: Goodman_Brette_2010 (frompapers)
- Example: Brette_2004 (frompapers)
- Example: Rossant_et_al_2011 (frompapers)
- Coincidence detection example
- Example: Wang_Buszaki_1996 (frompapers)
- Example: Vogels_et_al_2011 (frompapers)
- Example: Diesmann_et_al_1999_longer (frompapers)
- Example: Diesmann_et_al_1999 (frompapers)
- Example: Platkiewicz_Brette_2011 (frompapers)
- Example: Sturzl_et_al_2000 (frompapers)
- Example: Guetig_Sompolinsky_2009 (frompapers)
- Example: Brette_Guigon_2003 (frompapers)
- Example: Muller_et_al_2011 (frompapers)
- Example: Rossant_et_al_2011bis (frompapers)
- Distributed synchrony example
- Example: Touboul_Brette_2008 (frompapers)
- Example: Kremer_et_al_2011 (frompapers)
frompapers/computing with neural synchrony/coincidence detection and synchrony¶
- Example: Fig6_shared_variability (frompapers/computing with neural synchrony/coincidence detection and synchrony)
- Example: Fig5E_precision_reliability (frompapers/computing with neural synchrony/coincidence detection and synchrony)
- Example: Fig5D_reproducibility (frompapers/computing with neural synchrony/coincidence detection and synchrony)
- Example: Fig1C (frompapers/computing with neural synchrony/coincidence detection and synchrony)
- Example: Fig1F_ROC (frompapers/computing with neural synchrony/coincidence detection and synchrony)
frompapers/computing with neural synchrony/hearing¶
frompapers/computing with neural synchrony/duration selectivity¶
- Example: Fig2A_synchrony_partition (frompapers/computing with neural synchrony/duration selectivity)
- Example: Fig1A_rebound_neurons (frompapers/computing with neural synchrony/duration selectivity)
- Example: Fig2C_decoding_synchrony (frompapers/computing with neural synchrony/duration selectivity)
- Example: Fig4_duration_stdp (frompapers/computing with neural synchrony/duration selectivity)
- Example: params (frompapers/computing with neural synchrony/duration selectivity)
- Example: Fig1D_duration_selectivity (frompapers/computing with neural synchrony/duration selectivity)
frompapers/computing with neural synchrony/olfaction¶
- Example: Fig11B_olfaction_stdp_testing (frompapers/computing with neural synchrony/olfaction)
- Example: Fig11B_olfaction_stdp_learning (frompapers/computing with neural synchrony/olfaction)
- Example: Fig9B_olfaction (frompapers/computing with neural synchrony/olfaction)
- Example: params (frompapers/computing with neural synchrony/olfaction)
interface¶
synapses¶
- Example: licklider (synapses)
- Example: probabilistic_synapses (synapses)
- Example: CUBA (synapses)
- Example: delayed_stdp (synapses)
- Example: jeffress (synapses)
- Example: poisson_synapses (synapses)
- Example: gapjunctions (synapses)
- Example: probabilistic_synapses2 (synapses)
- Example: multiple_delays (synapses)
- Example: one_synapse_bis (synapses)
- Example: two_synapses (synapses)
- Example: noisy_ring (synapses)
- Example: nonlinear_synapses (synapses)
- Example: short_term_plasticity2 (synapses)
- Example: one_synapse (synapses)
- Example: STDP1 (synapses)
- Example: transient_sync (synapses)
- Example: synapse_construction (synapses)
- Example: Diesmann_et_al_1999 (synapses)
- Example: barrelcortex (synapses)
- Example: short_term_plasticity (synapses)
- Example: STDP1_bis (synapses)
- Example: weightmonitor (synapses)