PROGRAMMING TUTORIAL 4: SYNAPSES IN BRIAN2

Size: px
Start display at page:

Download "PROGRAMMING TUTORIAL 4: SYNAPSES IN BRIAN2"

Transcription

1 PROGRAMMING TUTORIAL 4: SYNAPSES IN BRIAN2 FABIAN SOTO OCTOBER 14, 2016

2 GETTING STARTED Open a jupyter notebook Include the standard lines to import tools for your simulation:

3 # import packages from brian2 import * import numpy as np import pylab as plt # allow inline plotting in the notebook %matplotlib inline # start scope for this brian2 simulation start_scope()

4 1. CREATE TWO SEPARATE INPUT ARRAYS For the first time, we will create a model with more than one neuron We want to control input currents manually injected into each neuron As before, the input will be a numpy array transformed to TimeArray However, now we will have to create two arrays instead of one Our simulations will take 200 ms We will create a matrix of zeros, with two columns and 200 rows:

5 # create 200x2 array of zeros # each column in this array will be input for a different neuron input_current = np.zeros((200,2)) Now we can replace any number in the array by some input To access the full array of inputs for neuron #1, indexed by i=0, we write input_current[:,0] The : means all rows, whereas the 0 means first column To access the input to neuron #1 at, we write input_current[99,0] We use the same syntax to set the input to a given value For example, we can write input_current[99,0]=200

6 We will give manual input only to the presynaptic neuron (indexed by 0) For now, let s place an input of 200pA that starts at t=51 and ends at t=65 We also convert our numpy array to TimedArray:

7 # place an input of 200 pa to the first neuron (with index 0) # starting at t=51 and ending at t=65 input_current[50:65,0] = 200 # convert numpy array to timed array input_current = TimedArray(input_current*pamp, dt=1*ms) With this, we have that the presynaptic neuron (indexed by 0) will receive a manual input On the other hand, the manual input for the postsynaptic neuron (indexed by 1) was set to zero throughout the simulation

8 2. DEFINE MODEL PARAMETERS We will model two neurons, one presynaptic and one postsynaptic For now, we ll use LIF neurons The input to the postsynaptic neuron will be a synaptic current: Thus, the equation for the LIF neuron will be: Remember: EPSCs are negative by convention, whereas IPSC are positive by convention Besides this, when, we reset to Create a new cell and define the model parameters:

9 # define parameters of the LIF model R = 100*Mohm # membrane resistance tau = 10 * ms # membrane time constant thr = -50 * mv # spike threshold u_rest = -65 * mv # resting potential u_r = -70 * mv # reset potential

10 The PSC is obtained from the synaptic conductance the following equation: using Here, is the equilibrium potential for the channel producing the PSC (e.g., AMPA, GABA, etc.) To model the synaptic conductance, we use the simple model with a jump and exponential decay: Create a new cell and define the parameters in this model:

11 # define parameters of the synapse model E_syn = 0 * mv # equilibrium potential of the channel tau_decay = 2 * ms # speed of NT unbinding g_jump = 10*nsiemens # jump in conductivity after a presynaptic spike

12 3. DEFINE MODEL EQUATIONS We have 2 differential equations, for changes in and We also have to include Ohm s law to convert from to Finally, we must define the manual input current in our equation string, as before So we define a string of equations with four lines:

13 # define equation for the LIF model # and equation for the synapse model eqs = ''' du/dt = ( -(u - u_rest) + R*I - R*I_syn ) / tau : volt I = input_current(t,i) : amp I_syn = g_syn*(u - E_syn): amp dg_syn/dt = -g_syn / tau_decay : siemens '''

14 4. CREATE THE MODEL The LIF neuron model is created as before, using the function NeuronGroup The only difference is that we now will ask Brian2 to create 2 LIF neurons rather than 1 Create a new cell and enter the following:

15 # create neuron group LIF = NeuronGroup(2, eqs, threshold='u>thr', reset='u=u_r') Note how now the first input to NeuronGroup is 2 instead of 1 We also need to set the membrane potential of both neurons to The initial value of can be set using LIF.u Because now there are two neurons LIF.u has two elements: LIF.u[0] and LIF.u[1] We can set them both to the same value by using :

16 # set membrane to resting potential LIF.u[:] = u_rest With this we are all done with the neuron model Now we need to create a synapse model to connect the neurons in our LIF model In Brian2, we use the function Synapses to do this, which receives as input one or two neuron groups For now, we use only one neuron group, LIF Synapses also allows you to indicate what should happen with a variable when there is a presynaptic spike, by using pre= followed by a string with an expression to be evaluated For example, we want to increase by (the jump ) after a presynaptic spike:

17 # create synapse S = Synapses(LIF, pre='g_syn += g_jump') S.connect(0,1) Here, the Synapses function only defines the synapse model We use S.connect(0,1) to connect neurons 0 (pre) and 1 (post) If you are getting an error message, you might have to change pre to on_pre You might also have to change S.connect(0,1) to S.connect(i=0, j=1) Brian2 changed this very recently

18 5. RECORD VARIABLES AND RUN We do the same as before, but ask to record more variables this time: # indicate what to record rec = StateMonitor(LIF, ('I','u', 'I_syn', 'g_syn'), record=true) # run the simulation for 200 ms run(200*ms)

19 6. PLOT Let s first plot the input current that we set manually: # plot the manual input current plot(rec.t*1000, rec.i[0]*10**12) plt.xlabel('time (ms)') plt.ylabel('i (pa)') Here we multiply I (in A) by to get pa We see that there is input of 200pA between t=51 and t=65 We can check the input for the postsynaptic neuron by plotting rec.i[1] instead It should be just a line at zero

20 Now create a new cell and plot # plot the synaptic conductivity plot(rec.t*1000, rec.g_syn[1]*10**9) plt.xlabel('time (ms)') plt.ylabel('membrane conductivity (ns)') Here we multiply (in Siemens) by to get nano Siemens (ns) We can check the conductivity for the presynaptic neuron by plotting rec.g_syn[0] instead Again, it should be just a line at zero

21 Now create a new cell and plot # plot the PSC plot(rec.t*1000, rec.i_syn[1]*10**12) plt.xlabel('time (ms)') plt.ylabel('postsynaptic current (pa)') Here we multiply (in A) by to get pa We can check for the presynaptic neuron by plotting rec.i_syn[0] instead Again, it should be just a line at zero

22 Finally, create a new cell and plot # plot the PSP plot(rec.t*1000, rec.u[0]*1000) plt.xlabel('time (ms)') plt.ylabel('membrane potential (mv)') Here we multiply (in V) by to get mv We started by plotting the presynaptic neuron (index 0), to check how many times it spiked Now plot the postsypantic neuron by using rec.u[1] You should see a typical EPSP

23 7. CHANGING THE MODEL PARAMETERS What do you think that will happen to the EPSP if you increase? Try setting tau_decay = 4 * ms Now try tau_decay = 10 * ms WTF? Slower decay of means that the current stays strong longer More input to be integrated by the LIF!! Why does the EPSC change abruptly during the spike? Because of the changes in due to the spike and reset!

24 This is a model of an excitatory synapse, perhaps mediated by AMPA channels How can we make this a model of an inhibitory synapse, mediated by GABA? We only have to make one important change: Set E_syn = -70 We can also change tau_decay = 6 * ms, because GABA has slower unbinding, and re-run Gerstner recommends using two exponentials for GABA channels, but we will stick with a single equation; the opening of channels is very fast, so this is an OK approximation

25 8. TEMPORAL INTEGRATION Now let s look at temporal integration of EPSPs Set E_syn = 0 and tau_decay = 2 * ms Change the manual input to the presynaptic neuron to 400 pa from t=51 to t=100 Re-run the simulation Create a new plot with the pre-synaptic membrane potential, to check spikes Check the plots of all variables for the post-synaptic membrane potential

26 THAT S IT!

PROGRAMMING TUTORIAL 2: SIMULATING A LIF NEURON IN BRIAN2

PROGRAMMING TUTORIAL 2: SIMULATING A LIF NEURON IN BRIAN2 PROGRAMMING TUTORIAL 2: SIMULATING A LIF NEURON IN BRIAN2 FABIAN SOTO SEPTEMBER 7, 2016 GETTING STARTED Open a jupyter notebook Import brian2 and other tools that you will use You should get used to include

More information

Network Version 1.40

Network Version 1.40 Network 1.40 User Manual Page 1 Network Version 1.40 User Manual December 26, 2001 Please send all comments and bug reports to Farzan Nadim (farzan@njit.edu). 0. Introduction Network is a neuronal network

More information

Neurosim User s Guide

Neurosim User s Guide Neurosim User s Guide version 2.1 Diek W. Wheeler and John P. Horn Department of Neurobiology and Center for the Neural Basis of Cognition University of Pittsburgh School of Medicine Pittsburgh, PA 15261

More information

6 th SpiNNaker Workshop Lab Manuals September 5 th 9 th 2016

6 th SpiNNaker Workshop Lab Manuals September 5 th 9 th 2016 6 th SpiNNaker Workshop Lab Manuals September 5 th 9 th 2016 Manchester, UK Intro Lab This lab is meant to expose workshop participants to examples of problems which can be applied to the SpiNNaker architecture.

More information

Brian 2 Documentation

Brian 2 Documentation Brian 2 Documentation Release 2.0b3 Brian authors April 30, 2015 Contents 1 Introduction 3 1.1 Installation................................................ 3 1.2 Release notes...............................................

More information

NEURAL NETWORKS. Typeset by FoilTEX 1

NEURAL NETWORKS. Typeset by FoilTEX 1 NEURAL NETWORKS Typeset by FoilTEX 1 Basic Concepts The McCulloch-Pitts model Hebb s rule Neural network: double dynamics. Pattern Formation and Pattern Recognition Neural network as an input-output device

More information

Neural Networks for Control of Artificial Life Form. Dan Su. Thesis for degree of MSc by research in Electronics

Neural Networks for Control of Artificial Life Form. Dan Su. Thesis for degree of MSc by research in Electronics Neural Networks for Control of Artificial Life Form Dan Su Thesis for degree of MSc by research in Electronics Department of Electronics University of York November 2010 Abstract An artificial life form

More information

The organization of two new cortical interneuronal circuits

The organization of two new cortical interneuronal circuits CORRECTION notice Nat. Neurosci. 16, 210 218 (2013) The organization of two new cortical interneuronal circuits Xiaolong Jiang, Guangfu Wang, Alice J Lee, Ruth L Stornetta & J Julius Zhu In the version

More information

Neuron 1 Documentation. Program version 0.57 (1.0) Last updated May

Neuron 1 Documentation. Program version 0.57 (1.0) Last updated May Neuron 1 Documentation. Program version 0.57 (1.0) Last updated May 19 2008. Overall: Program for simulating a network of interconnected leaky integrate and fire (LIF) neurons with STDP. Running the program:

More information

Creating New Neuron Models for SpiNNaker

Creating New Neuron Models for SpiNNaker Introduction Creating New Neuron Models for SpiNNaker This manual will guide you in the creation of new neuron models to be run on SpiNNaker. This includes the C code that will be compiled to run on the

More information

On the design of script languages for neural simulation. Romain Brette

On the design of script languages for neural simulation. Romain Brette On the design of script languages for neural simulation Romain Brette romain.brette@ens.fr (1) Laboratoire Psychologie de la Perception, CNRS, Université Paris Descartes, Paris, France (2) Equipe Audition,

More information

DYNCLAMP4. A program to insert simulated synapses and ionic conductances in up to four neurons. DYNCLAMP2. A version of DYNCLAMP4 for two neurons.

DYNCLAMP4. A program to insert simulated synapses and ionic conductances in up to four neurons. DYNCLAMP2. A version of DYNCLAMP4 for two neurons. DYNCLAMP4 A program to insert simulated synapses and ionic conductances in up to four neurons. & DYNCLAMP2 A version of DYNCLAMP4 for two neurons. Journal of Neuroscience Methods 108 (2001) 39-48 OPERATION

More information

1050 IEEE TRANSACTIONS ON NEURAL NETWORKS, VOL. 17, NO. 4, JULY 2006

1050 IEEE TRANSACTIONS ON NEURAL NETWORKS, VOL. 17, NO. 4, JULY 2006 1050 IEEE TRANSACTIONS ON NEURAL NETWORKS, VOL. 17, NO. 4, JULY 2006 Real-Time Computing Platform for Spiking Neurons (RT-Spike) Eduardo Ros, Eva M. Ortigosa, Rodrigo Agís, Richard Carrillo, and Michael

More information

Practical 4: The Integrate & Fire neuron

Practical 4: The Integrate & Fire neuron Practical 4: The Integrate & Fire neuron 2014 version by Mark van Rossum 2018 version by Matthias Hennig and Theoklitos Amvrosiadis 16th October 2018 1 Introduction to MATLAB basics You can start MATLAB

More information

LFPy-tutorial CNS2013

LFPy-tutorial CNS2013 LFPy-tutorial CNS2013 Espen Hagen 1, Szymon Łęski 2, Henrik Lindén 3, Eivind S Norheim 1, Klas H Pettersen 1, Gaute T Einevoll 1 1 Norwegian University of Life Sciences (UMB), Ås, Norway 2 Nencki Institute

More information

Spiking Neural Network Training Using Evolutionary Algorithms

Spiking Neural Network Training Using Evolutionary Algorithms Proceedings of Intemational Joint Conference on Neural Networks, Montreal, Canada, July 31 - August 4, 2005 Spiking Neural Network Training Using Evolutionary Algorithms N.G. Pavlidisl,2, D.K. Tasoulisl'2,

More information

1 Intro to the Simulation Platform Software Disclaimer Installation... 4

1 Intro to the Simulation Platform Software Disclaimer Installation... 4 PIAF v1.0 (build 4) User s Guide Anthony Kellems 4/22/2009 1 CONTENTS CONTENTS Contents 1 Intro to the Simulation Platform 4 1.1 Software Disclaimer......................................... 4 1.2 Installation..............................................

More information

Brian Documentation. Release Romain Brette, Dan Goodman

Brian Documentation. Release Romain Brette, Dan Goodman Brian Documentation Release 1.4.2 Romain Brette, Dan Goodman February 03, 2016 Contents 1 Introduction 1 2 Installation 5 2.1 Quick installation............................................. 5 2.2 Manual

More information

Brian: a simulator for spiking neural networks in Python

Brian: a simulator for spiking neural networks in Python NEUROINFORMATICS ORIGINAL RESEARCH ARTICLE published: 18 November 2008 doi: 10.3389/neuro.11.005.2008 Brian: a simulator for spiking neural networks in Python Dan Goodman* and Romain Brette Département

More information

Tangent line problems

Tangent line problems You will find lots of practice problems and homework problems that simply ask you to differentiate. The following examples are to illustrate some of the types of tangent line problems that you may come

More information

(Ca...

(Ca... 1 of 8 9/7/18, 1:59 PM Getting started with 228 computational exercises Many physics problems lend themselves to solution methods that are best implemented (or essentially can only be implemented) with

More information

Euler s Method with Python

Euler s Method with Python Euler s Method with Python Intro. to Differential Equations October 23, 2017 1 Euler s Method with Python 1.1 Euler s Method We first recall Euler s method for numerically approximating the solution of

More information

Supervised learning in Spiking Neural Networks with Limited Precision: SNN/LP

Supervised learning in Spiking Neural Networks with Limited Precision: SNN/LP Supervised learning in Spiking Neural Networks with Limited Precision: SNN/LP Evangelos Stromatias School of Computer Science The University of Manchester Oxford Road, Manchester, United Kingdom StromatE@cs.man.ac.uk

More information

ME30_Lab1_18JUL18. August 29, ME 30 Lab 1 - Introduction to Anaconda, JupyterLab, and Python

ME30_Lab1_18JUL18. August 29, ME 30 Lab 1 - Introduction to Anaconda, JupyterLab, and Python ME30_Lab1_18JUL18 August 29, 2018 1 ME 30 Lab 1 - Introduction to Anaconda, JupyterLab, and Python ME 30 ReDev Team 2018-07-18 Description and Summary: This lab introduces Anaconda, JupyterLab, and Python.

More information

A Compiler for Scalable Placement and Routing of Brain-like Architectures

A Compiler for Scalable Placement and Routing of Brain-like Architectures A Compiler for Scalable Placement and Routing of Brain-like Architectures Narayan Srinivasa Center for Neural and Emergent Systems HRL Laboratories LLC Malibu, CA International Symposium on Physical Design

More information

IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS 1

IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS 1 TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS 1 AQ:1 A Spiking Self-Organizing Map Combining STDP, Oscillations, and Continuous Learning Timothy Rumbell, Susan L. Denham, and Thomas Wennekers 1

More information

A Constant Rate of Change Name Part 1

A Constant Rate of Change Name Part 1 A Constant Rate of Change Name Part 1 Consider the function table below. Complete this page by solving the problems at the bottom. Use a separate sheet of paper for your descriptions and explanations.

More information

Romain Brette & Dan Goodman Ecole Normale Supérieure Projet Odyssée

Romain Brette & Dan Goodman Ecole Normale Supérieure Projet Odyssée http://brian.di.ens.fr Romain Brette & Dan Goodman Ecole Normale Supérieure Projet Odyssée brette@di.ens.fr goodman@di.ens.fr Brian: a pure Python simulator What is Brian for? Quick model coding for every

More information

Introduction to Matplotlib: 3D Plotting and Animations

Introduction to Matplotlib: 3D Plotting and Animations 1 Introduction to Matplotlib: 3D Plotting and Animations Lab Objective: 3D plots and animations are useful in visualizing solutions to ODEs and PDEs found in many dynamics and control problems. In this

More information

Certified Data Science with Python Professional VS-1442

Certified Data Science with Python Professional VS-1442 Certified Data Science with Python Professional VS-1442 Certified Data Science with Python Professional Certified Data Science with Python Professional Certification Code VS-1442 Data science has become

More information

COMP 364: Computer Tools for Life Sciences

COMP 364: Computer Tools for Life Sciences COMP 364: Computer Tools for Life Sciences Using libraries: NumPy & Data visualization with MatPlotLib Christopher J.F. Cameron and Carlos G. Oliver 1/27 Key course information Midterm I how was it? too

More information

Data Mining. Neural Networks

Data Mining. Neural Networks Data Mining Neural Networks Goals for this Unit Basic understanding of Neural Networks and how they work Ability to use Neural Networks to solve real problems Understand when neural networks may be most

More information

Democratic Population Decisions Result in Robust Policy- Gradient Learning: A Parametric Study with GPU Simulations

Democratic Population Decisions Result in Robust Policy- Gradient Learning: A Parametric Study with GPU Simulations Democratic Population Decisions Result in Robust Policy- Gradient Learning: A Parametric Study with GPU Simulations Paul Richmond 1, Lars Buesing 2, Michele Giugliano 3, Eleni Vasilaki 1 * 1 Department

More information

HW0 v3. October 2, CSE 252A Computer Vision I Fall Assignment 0

HW0 v3. October 2, CSE 252A Computer Vision I Fall Assignment 0 HW0 v3 October 2, 2018 1 CSE 252A Computer Vision I Fall 2018 - Assignment 0 1.0.1 Instructor: David Kriegman 1.0.2 Assignment Published On: Tuesday, October 2, 2018 1.0.3 Due On: Tuesday, October 9, 2018

More information

Supervised Learning in Multilayer Spiking Neural

Supervised Learning in Multilayer Spiking Neural 1 arxiv:1202.2249v1 [cs.ne] 10 Feb 2012 Supervised Learning in Multilayer Spiking Neural Networks Ioana Sporea 1 and André Grüning 1 1 Department of Computing, University of Surrey. Keywords: Spiking neurons,

More information

Neuro-Fuzzy Computing

Neuro-Fuzzy Computing CSE53 Neuro-Fuzzy Computing Tutorial/Assignment 3: Unsupervised Learning About this tutorial The objective of this tutorial is to study unsupervised learning, in particular: (Generalized) Hebbian learning.

More information

Spike-Based Indirect Training of a Spiking Neural Network-Controlled Virtual Insect

Spike-Based Indirect Training of a Spiking Neural Network-Controlled Virtual Insect 52nd IEEE Conference on Decision and Control December 10-13, 2013. Florence, Italy Spike-Based Indirect Training of a Spiking Neural Network-Controlled Virtual Insect X. Zhang, Z. Xu, C. Henriquez, S.

More information

Introduction to Python Part 2

Introduction to Python Part 2 Introduction to Python Part 2 v0.2 Brian Gregor Research Computing Services Information Services & Technology Tutorial Outline Part 2 Functions Tuples and dictionaries Modules numpy and matplotlib modules

More information

AxIS Data in NeuroExplorer

AxIS Data in NeuroExplorer AxIS Data in NeuroExplorer 1. Objective NeuroExplorer is a data analysis program for neurophysiology that can be used to analyze neural data collected with AxIS. This document describes the steps necessary

More information

Effect of age and dementia on topology of brain functional networks. Paul McCarthy, Luba Benuskova, Liz Franz University of Otago, New Zealand

Effect of age and dementia on topology of brain functional networks. Paul McCarthy, Luba Benuskova, Liz Franz University of Otago, New Zealand Effect of age and dementia on topology of brain functional networks Paul McCarthy, Luba Benuskova, Liz Franz University of Otago, New Zealand 1 Structural changes in aging brain Age-related changes in

More information

Scientific Computing with Python. Quick Introduction

Scientific Computing with Python. Quick Introduction Scientific Computing with Python Quick Introduction Libraries and APIs A library is a collection of implementations of behavior (definitions) An Application Programming Interface (API) describes that behavior

More information

Put the following equations to slope-intercept form then use 2 points to graph

Put the following equations to slope-intercept form then use 2 points to graph Tuesday September 23, 2014 Warm-up: Put the following equations to slope-intercept form then use 2 points to graph 1. 4x - 3y = 8 8 x 6y = 16 2. 2x + y = 4 2x + y = 1 Tuesday September 23, 2014 Warm-up:

More information

tutorial : modeling synaptic plasticity

tutorial : modeling synaptic plasticity tutorial : modeling synaptic plasticity Computational Neuroscience by the Mediterranean Winter School, Jan 20th, 2016 Michael Graupner Université Paris Descartes CNRS UMR 8118, Paris, France michael.graupner@parisdescartes.fr

More information

1. Installation. 2. Configuration - Operation. 3. Specifications. Safety

1. Installation. 2. Configuration - Operation. 3. Specifications. Safety Safety 1. Installation 1.1 OP_ext: Services 1.2 Driver Card Installation 1.3 Sensor Types 1.4 Sensor Wiring 1.5 Controller Wiring 2. Configuration - Operation 2.1 Replaces ph Sensor 2.2 AS -Flex Series

More information

CS311 - Neural Nets Lab Thursday, April 11

CS311 - Neural Nets Lab Thursday, April 11 CS311 - Neural Nets Lab Thursday, April 11 In class today we re going to be playing with a software that simulates neural networks to get a better feeling for how they work, how they can be used to solve

More information

Enabling web-based interactive notebooks on geographically distributed HPC resources. Alexandre Beche

Enabling web-based interactive notebooks on geographically distributed HPC resources. Alexandre Beche Enabling web-based interactive notebooks on geographically distributed HPC resources Alexandre Beche Outlines 1. Context 2. Interactive notebook running on cluster(s) 3. Advanced

More information

Objectives: - You need to be able to use the two equations above and the series and parallel circuit rules.

Objectives: - You need to be able to use the two equations above and the series and parallel circuit rules. F: Solve Complete Circuits Level 3 Prerequisite: Solve Ohm s Law and the Power Formula Points To: Solve Complete Circuit with Nontraditional Information Objectives: V = IR P = IV - Given a battery and

More information

11/14/2010 Intelligent Systems and Soft Computing 1

11/14/2010 Intelligent Systems and Soft Computing 1 Lecture 8 Artificial neural networks: Unsupervised learning Introduction Hebbian learning Generalised Hebbian learning algorithm Competitive learning Self-organising computational map: Kohonen network

More information

Required code separation. C Data Structures and Parameters. Required code separation. We will first describe the C requirements...

Required code separation. C Data Structures and Parameters. Required code separation. We will first describe the C requirements... Required code separation Any new neuron model requires both C and Python code C code makes the actual executable (on SpiNNaker), Python code configures the setup and load phases (on the host) These are

More information

Electrical Circuits and Random Walks

Electrical Circuits and Random Walks Electrical Circuits and Random Walks LA Math Circle, High School II December 2, 2018 This worksheet is largely about graphs. Whenever there is a graph G, V (G) will denote the set of vertices of G, and

More information

Section 4.3. Graphing Exponential Functions

Section 4.3. Graphing Exponential Functions Graphing Exponential Functions Graphing Exponential Functions with b > 1 Graph f x = ( ) 2 x Graphing Exponential Functions by hand. List input output pairs (see table) Input increases by 1 and output

More information

Math 408R: UT Fall 2016

Math 408R: UT Fall 2016 Mini-Project 2: SIR using Matlab, Due October 7 In this assignment, you will be asked to run, modify, discuss, and print output from the SIREulers program you have on Matlab (which may be found on our

More information

Stage terrain 3A Heissenstein. Electrical surveying

Stage terrain 3A Heissenstein. Electrical surveying Stage terrain 3A Heissenstein Electrical surveying Introduction The principle method for measuring the surface resistivity is always the same. An electric current is sent into the subsurface through two

More information

Pandas and Friends. Austin Godber Mail: Source:

Pandas and Friends. Austin Godber Mail: Source: Austin Godber Mail: godber@uberhip.com Twitter: @godber Source: http://github.com/desertpy/presentations What does it do? Pandas is a Python data analysis tool built on top of NumPy that provides a suite

More information

Chapter 3: Rate Laws Excel Tutorial on Fitting logarithmic data

Chapter 3: Rate Laws Excel Tutorial on Fitting logarithmic data Chapter 3: Rate Laws Excel Tutorial on Fitting logarithmic data The following table shows the raw data which you need to fit to an appropriate equation k (s -1 ) T (K) 0.00043 312.5 0.00103 318.47 0.0018

More information

A Real-Time, FPGA based, Biologically Plausible Neural Network Processor

A Real-Time, FPGA based, Biologically Plausible Neural Network Processor A Real-Time, FPGA based, Biologically Plausible Neural Network Processor Martin Pearson 1, Ian Gilhespy 1, Kevin Gurney 2, Chris Melhuish 1, Benjamin Mitchinson 2, Mokhtar Nibouche 1, Anthony Pipe 1 1

More information

6. NEURAL NETWORK BASED PATH PLANNING ALGORITHM 6.1 INTRODUCTION

6. NEURAL NETWORK BASED PATH PLANNING ALGORITHM 6.1 INTRODUCTION 6 NEURAL NETWORK BASED PATH PLANNING ALGORITHM 61 INTRODUCTION In previous chapters path planning algorithms such as trigonometry based path planning algorithm and direction based path planning algorithm

More information

Matrices. A Matrix (This one has 2 Rows and 3 Columns) To add two matrices: add the numbers in the matching positions:

Matrices. A Matrix (This one has 2 Rows and 3 Columns) To add two matrices: add the numbers in the matching positions: Matrices A Matrix is an array of numbers: We talk about one matrix, or several matrices. There are many things we can do with them... Adding A Matrix (This one has 2 Rows and 3 Columns) To add two matrices:

More information

Section Graphs and Lines

Section Graphs and Lines Section 1.1 - Graphs and Lines The first chapter of this text is a review of College Algebra skills that you will need as you move through the course. This is a review, so you should have some familiarity

More information

2.1 Transforming Linear Functions

2.1 Transforming Linear Functions 2.1 Transforming Linear Functions Before we begin looking at transforming linear functions, let s take a moment to review how to graph linear equations using slope intercept form. This will help us because

More information

Nature Neuroscience: doi: /nn Supplementary Figure 1. Comparisons of GFP-expressing HVC Av, HVC RA and HVC X cell bodies.

Nature Neuroscience: doi: /nn Supplementary Figure 1. Comparisons of GFP-expressing HVC Av, HVC RA and HVC X cell bodies. Supplementary Figure 1 Comparisons of GFP-expressing HVC Av, HVC RA and HVC X cell bodies. a) Soma diameter measured at the long axis of the cell body for HVC Av (green), HVC RA (red), and HVC X (blue)

More information

Math 3316, Fall 2016 Due Nov. 3, 2016

Math 3316, Fall 2016 Due Nov. 3, 2016 Math 3316, Fall 2016 Due Nov. 3, 2016 Project 3 Polynomial Interpolation The first two sections of this project will be checked in lab the week of Oct. 24-26 this completion grade will count for 10% of

More information

PART 4 Test Item File

PART 4 Test Item File PART 4 Test Item File Principles of Electric Circuits, 8e (Floyd) Chapter 1: Quantities and Units 1) The unit of measurement for conductance is the coulomb. (True/False) 2) Kilo equals 1,000 times the

More information

Neural Network-Hardware Co-design for Scalable RRAM-based BNN Accelerators

Neural Network-Hardware Co-design for Scalable RRAM-based BNN Accelerators Neural Network-Hardware Co-design for Scalable RRAM-based BNN Accelerators Yulhwa Kim, Hyungjun Kim, and Jae-Joon Kim Dept. of Creative IT Engineering, Pohang University of Science and Technology (POSTECH),

More information

A Software Framework for Tuning the Dynamics of Neuromorphic Silicon Towards Biology

A Software Framework for Tuning the Dynamics of Neuromorphic Silicon Towards Biology A Software Framework for Tuning the Dynamics of Neuromorphic Silicon Towards Biology Daniel Brüderle, Andreas Grübl, Karlheinz Meier, Eilif Mueller, and Johannes Schemmel Kirchhoff Institute for Physics,

More information

Plotting With matplotlib

Plotting With matplotlib Lab Plotting With matplotlib and Mayavi Lab Objective: Introduce some of the basic plotting functions available in matplotlib and Mayavi. -D plotting with matplotlib The Python library matplotlib will

More information

G-clamp Programmer s Guide

G-clamp Programmer s Guide version 1.2 Paul H.M. Kullmann and John P. Horn Department of Neurobiology and Center for the Neural Basis of Cognition University of Pittsburgh School of Medicine E 1440 Biomedical Science Tower Pittsburgh,

More information

[%]%async_run. an IPython notebook* magic for asynchronous (code) cell execution. Valerio Maggio Researcher

[%]%async_run. an IPython notebook* magic for asynchronous (code) cell execution. Valerio Maggio Researcher [%]%async_run an IPython notebook* magic for asynchronous (code) cell execution Valerio Maggio Researcher valeriomaggio@gmail.com @leriomaggio Premises Jupyter Notebook Jupyter Notebook Jupyter Notebook

More information

from sklearn import tree from sklearn.ensemble import AdaBoostClassifier, GradientBoostingClassifier

from sklearn import tree from sklearn.ensemble import AdaBoostClassifier, GradientBoostingClassifier 1 av 7 2019-02-08 10:26 In [1]: import pandas as pd import numpy as np import matplotlib import matplotlib.pyplot as plt from sklearn import tree from sklearn.ensemble import AdaBoostClassifier, GradientBoostingClassifier

More information

Select the Points You ll Use. Tech Assignment: Find a Quadratic Function for College Costs

Select the Points You ll Use. Tech Assignment: Find a Quadratic Function for College Costs In this technology assignment, you will find a quadratic function that passes through three of the points on each of the scatter plots you created in an earlier technology assignment. You will need the

More information

Visualisation in python (with Matplotlib)

Visualisation in python (with Matplotlib) Visualisation in python (with Matplotlib) Thanks to all contributors: Ag Stephens, Stephen Pascoe. Introducing Matplotlib Matplotlib is a python 2D plotting library which produces publication quality figures

More information

Specific Objectives Students will understand that that the family of equation corresponds with the shape of the graph. Students will be able to create a graph of an equation by plotting points. In lesson

More information

Thesis Institute of Microelectronics. TU-Berlin

Thesis Institute of Microelectronics. TU-Berlin Thesis Institute of Microelectronics. TU-Berlin Einsteinufer 17, 10587 Berlin, Germany Prof. Dr.-Ing. Heinrich Klar Topic: Design and Simulation of a Digital Neuroprocessor Chip-Module: Decay Module. Name:

More information

Precomposing Equations

Precomposing Equations Precomposing Equations Let s precompose the function f(x) = x 3 2x + 9 with the function g(x) = 4 x. (Precompose f with g means that we ll look at f g. We would call g f postcomposing f with g.) f g(x)

More information

Activity recognition and energy expenditure estimation

Activity recognition and energy expenditure estimation Activity recognition and energy expenditure estimation A practical approach with Python WebValley 2015 Bojan Milosevic Scope Goal: Use wearable sensors to estimate energy expenditure during everyday activities

More information

Science Class 8 Topic: Electrical Circuits Reinforcement Worksheet. Name: Sec: Date: Q1. Choose the best answer:

Science Class 8 Topic: Electrical Circuits Reinforcement Worksheet. Name: Sec: Date: Q1. Choose the best answer: Science Class 8 Topic: Electrical Circuits Reinforcement Worksheet Name: Sec: Date: Q1. Choose the best answer: 1. From the four circuits shown, which will have 'the brightest lit lamp or lamps'? Note

More information

Neural Networks CMSC475/675

Neural Networks CMSC475/675 Introduction to Neural Networks CMSC475/675 Chapter 1 Introduction Why ANN Introduction Some tasks can be done easily (effortlessly) by humans but are hard by conventional paradigms on Von Neumann machine

More information

Notes on Multilayer, Feedforward Neural Networks

Notes on Multilayer, Feedforward Neural Networks Notes on Multilayer, Feedforward Neural Networks CS425/528: Machine Learning Fall 2012 Prepared by: Lynne E. Parker [Material in these notes was gleaned from various sources, including E. Alpaydin s book

More information

Python Matplotlib. MACbioIDi February March 2018

Python Matplotlib. MACbioIDi February March 2018 Python Matplotlib MACbioIDi February March 2018 Introduction Matplotlib is a Python 2D plotting library Its origins was emulating the MATLAB graphics commands It makes heavy use of NumPy Objective: Create

More information

Revised Sheet Metal Simulation, J.E. Akin, Rice University

Revised Sheet Metal Simulation, J.E. Akin, Rice University Revised Sheet Metal Simulation, J.E. Akin, Rice University A SolidWorks simulation tutorial is just intended to illustrate where to find various icons that you would need in a real engineering analysis.

More information

NumPy quick reference

NumPy quick reference John W. Shipman 2016-05-30 12:28 Abstract A guide to the more common functions of NumPy, a numerical computation module for the Python programming language. This publication is available in Web form1 and

More information

MITOCW ocw f99-lec12_300k

MITOCW ocw f99-lec12_300k MITOCW ocw-18.06-f99-lec12_300k This is lecture twelve. OK. We've reached twelve lectures. And this one is more than the others about applications of linear algebra. And I'll confess. When I'm giving you

More information

COMPUTATIONAL INTELLIGENCE

COMPUTATIONAL INTELLIGENCE COMPUTATIONAL INTELLIGENCE Fundamentals Adrian Horzyk Preface Before we can proceed to discuss specific complex methods we have to introduce basic concepts, principles, and models of computational intelligence

More information

Axon CNS amplifiers for the quietest recordings.

Axon CNS amplifiers for the quietest recordings. MULTICLAMP Major New Features Internal automatic mode switch Instantly switch recording modes by using the membrane potential as the trigger. Pre-set a voltage threshold in current-clamp mode, and the

More information

Big Data Exercises. Fall 2016 Week 0 ETH Zurich

Big Data Exercises. Fall 2016 Week 0 ETH Zurich Big Data Exercises Fall 2016 Week 0 ETH Zurich 1. Jupyter Basics Welcome to this Jupyter notebook. Jupyter is a web-based open-source tool based on Python that allows you to run python (and other types

More information

Movement Prediction from real-world Images using a Liquid State Machine

Movement Prediction from real-world Images using a Liquid State Machine Movement Prediction from real-world Images using a Liquid State Machine Harald Burgsteiner 1, Mark Kröll 2, Alexander Leopold 2, and Gerald Steinbauer 3 1 InfoMed / Health Care Engineering, Graz University

More information

Biologically Sound Neural Networks for Embedded Systems Using OpenCL

Biologically Sound Neural Networks for Embedded Systems Using OpenCL This is the author s version of the work. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purpose or for creating new collective

More information

A = [1, 6; 78, 9] Note: everything is case-sensitive, so a and A are different. One enters the above matrix as

A = [1, 6; 78, 9] Note: everything is case-sensitive, so a and A are different. One enters the above matrix as 1 Matlab Primer The purpose of these notes is a step-by-step guide to solving simple optimization and root-finding problems in Matlab To begin, the basic object in Matlab is an array; in two dimensions,

More information

The Python interpreter

The Python interpreter The Python interpreter Daniel Winklehner, Remi Lehe US Particle Accelerator School (USPAS) Summer Session Self-Consistent Simulations of Beam and Plasma Systems S. M. Lund, J.-L. Vay, D. Bruhwiler, R.

More information

Data Acquisition and Processing

Data Acquisition and Processing Data Acquisition and Processing Adisak Sukul, Ph.D., Lecturer,, adisak@iastate.edu http://web.cs.iastate.edu/~adisak/bigdata/ Topics http://web.cs.iastate.edu/~adisak/bigdata/ Data Acquisition Data Processing

More information

Solution Guide for Chapter 12

Solution Guide for Chapter 12 Solution Guide for Chapter 1 Here are the solutions for the Doing the Math exercises in Kiss My Math! DTM from p. 170-1. Start with x. Add, then multiply by 4. So, starting with x, when we add, we ll get:

More information

FSA Algebra 1 EOC Practice Test Guide

FSA Algebra 1 EOC Practice Test Guide FSA Algebra 1 EOC Practice Test Guide This guide serves as a walkthrough of the Florida Standards Assessments (FSA) Algebra 1 End-of- Course (EOC) practice test. By reviewing the steps listed below, you

More information

G-clamp User s Guide

G-clamp User s Guide G-clamp User s Guide version 1.2 Paul H.M. Kullmann and John P. Horn Department of Neurobiology and Center for the Neural Basis of Cognition University of Pittsburgh School of Medicine E 1440 Biomedical

More information

Solving Systems Using Row Operations 1 Name

Solving Systems Using Row Operations 1 Name The three usual methods of solving a system of equations are graphing, elimination, and substitution. While these methods are excellent, they can be difficult to use when dealing with three or more variables.

More information

PXR 1506 / WATT MIXER AMPLIFIER

PXR 1506 / WATT MIXER AMPLIFIER PXR 1506 / 1508 150-WATT MIXER AMPLIFIER Operating Manual www.peavey.com ENGLISH PXR 1506 / 1508 150-Watt, 8-Channel Mixer Amplifier Designed with the latest Peavey technology, the PXR 1506 / 1508 powered

More information

ECE 546 HOMEWORK No 10 Due Thursday, April 19, yes last

ECE 546 HOMEWORK No 10 Due Thursday, April 19, yes last ECE 546 HOMEWORK No 10 Due Thursday, April 19, 2018 In this homework you will extract the pulse response of the given channel, extract the decision feedback equalization (DFE) coefficients to equalize

More information

BIOMIMETIC APPLICATION OF ION-CONDUCTING-BASED MEMRISTIVE DEVICES IN SPIKE-TIMING-DEPENDENT-PLASTICITY. Kolton T. Drake. A thesis

BIOMIMETIC APPLICATION OF ION-CONDUCTING-BASED MEMRISTIVE DEVICES IN SPIKE-TIMING-DEPENDENT-PLASTICITY. Kolton T. Drake. A thesis BIOMIMETIC APPLICATION OF ION-CONDUCTING-BASED MEMRISTIVE DEVICES IN SPIKE-TIMING-DEPENDENT-PLASTICITY by Kolton T. Drake A thesis submitted in partial fulfillment of the requirements for the degree of

More information

An Efficient Hardware Architecture for Multilayer Spiking Neural Networks

An Efficient Hardware Architecture for Multilayer Spiking Neural Networks An Efficient Hardware Architecture for Multilayer Spiking Neural Networks Yuling Luo 1, Lei Wan 1, Junxiu Liu 1, Jinlei Zhang 1, and Yi Cao 2 1 Guangxi Key Lab of Multi-source Information Mining & Security,

More information

Pandas plotting capabilities

Pandas plotting capabilities Pandas plotting capabilities Pandas built-in capabilities for data visualization it's built-off of matplotlib, but it's baked into pandas for easier usage. It provides the basic statistic plot types. Let's

More information

Real time Spaun on SpiNNaker

Real time Spaun on SpiNNaker Real time Spaun on SpiNNaker Functional brain simulation on a massively-parallel computer architecture A THESIS SUBMITTED TO THE UNIVERSITY OF MANCHESTER FOR THE DEGREE OF DOCTOR OF PHILOSOPHY IN THE FACULTY

More information