scipy, numpy and friends

Post on 10-May-2015

3.226 Views

Category:

Education

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

Just a very quick intro to Numpy and friends. Very short.

TRANSCRIPT

EBI is an Outstation of the European Molecular Biology Laboratory.

Scipy, Numpy and friends.

Michele Mattioni - mattioni@ebi.ac.ukCompNeur group.

http://www.ebi.ac.uk/~mattioni/pylab_pres/or https://github.com/mattions/pylab_pres

Scipy, Numpy and friends by Michele Mattioni is licensed under CC BY-NC-SA 3.0.

Permissions beyond the scope of this license may be available at https://github.com/mattions.

Go here:

http://www.ebi.ac.uk/~mattioni/pylab_pres/or

https://github.com/mattions/pylab_pres

Scipy and Numpy - http://www.scipy.org

Collections of high level mathematical operations:- regression- interpolation- optimization- integration

Data structure for mathematical operation with speed in mind.

Matplotlib - http://matplotlib.sourceforge.net/

- Display and plot you data quickly- Different kind of plot available

Ipython - http://ipython.scipy.org

- Enhanced python console- Trials and errors encouraged- Quick access to the help.

Plot of an exponential function

Difference between Console and Script

Console

- Quick to write - Messy to maintain

Program

- Slower to write- Easier to maintain

HELP!

Different ways to access help:

Console: name_of_the _function?Online: http://docs.scipy.org/doc/

Suggested:Tutorial http://www.scipy.org/Tentative_NumPy_Tutorial

Numpy array

Plotting

Importing your data and visualize them

Fitting the data

top related