Cliquer pour ajouter une information temporelle

3_1_types

60 Vues
Friday 6 September 2024
Centre interfacultaire de neurosciences - Directement rattaché au centre
This lecture presents the basic notions of computer science and programming which are necessary to facilitate the analysis of data comonly obtained in the field of neuroscience (physiological, behavioral, DNA, ...). Python will be employed as the programming language as it is easy to learn, has a lot of tools available, and is one of the most used language for data analysis. First the architecture of computers will be introduced to demystify the machine and to situate the rôle of programming languages. Once these basic notions are presented a flip teaching approach will be adopted with exercices oriented toward neurosciences. First variables, opérations and functions will be introduced to be able to manipulate several data types. Storing and loading data from files will be covered to create standard data workflows. Finally, popular Python packages used in data analysis (numpy, pandas) and visualisation (matplotlib, seaborn) will be presented.
Please sign in to add a comment.
Introduction and command history
Types, operations and integers
Floats
Complex numbers
Booleans
Strings
Guillaume Chanel
4 weeks ago
I forgot to mention:
== operator to test for equality
!= operator to test for difference
More operators are available in the section cheat sheet !
Guillaume Chanel
3 weeks ago
Erratum: for complex numbers I say they are rarely used. This is not entirely true, for instance if you compute a Fast Fourier Transform (FFT) of a signal (to get its energy) the result will be a list of complex numbers (lists will be discussed later).
Collection

Introduction to programming for neuroscientists

1
2_1_algo

2_1_algo

Guillaume Chanel
Thursday 5 September 2024
2
2_2_prog

2_2_prog

Guillaume Chanel
Thursday 5 September 2024
3
2_3_installing-anaconda

2_3_installing-anaconda

Guillaume Chanel
Thursday 5 September 2024
4
2_4_anaconda

2_4_anaconda

Guillaume Chanel
Thursday 5 September 2024
5
3_2_variables

3_2_variables

Guillaume Chanel
Friday 6 September 2024
6
3_1_types

3_1_types

Guillaume Chanel
Friday 6 September 2024
7
3_3_functions

3_3_functions

Guillaume Chanel
Friday 6 September 2024