Python Científico

48
Python Científico

description

Uma olhada no python pelos olhos da ciência! Um pouco do porquê python, o que existe por aí e como fazer (apenas live).

Transcript of Python Científico

Page 1: Python Científico

Python Científico

Page 2: Python Científico

Márcio Valença Ramos

Page 3: Python Científico

CUBO

Page 4: Python Científico
Page 5: Python Científico
Page 6: Python Científico
Page 7: Python Científico

Vamos falar de

Ciência

Page 8: Python Científico
Page 9: Python Científico
Page 10: Python Científico
Page 11: Python Científico

Vamos falar de

Python

Page 12: Python Científico

Beautiful

&

“Fast”

Page 13: Python Científico
Page 14: Python Científico
Page 15: Python Científico

Mas e o ?

Page 16: Python Científico

$$

Page 17: Python Científico

Liberdade

Page 18: Python Científico

; Em muitas linguagens:

Fim de linha

Em Python:

Inútil

No Matlab:

Suprima saída para o stdout

Page 19: Python Científico
Page 20: Python Científico

() count(2)

Count é uma função? Um vetor?

Page 21: Python Científico

WAT

Page 22: Python Científico

http://www.pyzo.org/python_vs_matlab.html

Page 23: Python Científico
Page 24: Python Científico

+ = 2 2 2

Page 25: Python Científico
Page 26: Python Científico

SciPy (pronounced “Sigh Pie”)

is a Python-based

ecosystem of open-source

software for mathematics,

science, and engineering.

Page 27: Python Científico

Peças deste

Lego

Page 28: Python Científico
Page 29: Python Científico

NumPy is the fundamental package for

scientific computing with Python. It contains

among other things:

• A powerful N-dimensional array object

• Sophisticated (broadcasting) functions

• Tools for integrating C/C++ and Fortran

code

• Useful linear algebra, Fourier transform, and random number capabilities

Page 30: Python Científico
Page 31: Python Científico

The SciPy library is one of the core packages

that make up the SciPy stack.

It provides many user-friendly and efficient

numerical routines such as routines for numerical

integration and optimization.

Page 32: Python Científico
Page 33: Python Científico

matplotlib is a python 2D plotting library which

produces publication quality figures in a variety of hardcopy

formats and interactive environments across platforms.

matplotlib can be used in python scripts, the python

and ipython shell (ala MATLAB or Mathematica), web

application servers, and six graphical user interface toolkits.

Page 34: Python Científico
Page 35: Python Científico

IPython provides a rich architecture for interactive

computing with:

• Powerful interactive shells (terminal and Qt-based).

• A browser-based notebook with support for code, text,

mathematical expressions, inline plots and other rich

media.

• Support for interactive data visualization and use of GUI

toolkits.

• Flexible, embeddable interpreters to load into your own

projects.

• Easy to use, high performance tools for parallel computing.

Page 36: Python Científico
Page 37: Python Científico

SymPy is a Python library for symbolic

mathematics. It aims to become a full-

featured computer algebra system (CAS)

while keeping the code as simple as

possible in order to be comprehensible

and easily extensible.

Page 38: Python Científico
Page 39: Python Científico

pandas is an open source, BSD-licensed

library providing high-performance, easy-to-

use data structures and data analysis tools

for the Python programming language.

Page 40: Python Científico
Page 41: Python Científico

scikit-learn Machine Learning in Python: • Simple and efficient tools for data mining and

data analysis

• Accessible to everybody, and reusable in various

contexts

• Built on NumPy, SciPy, and matplotlib

• Open source, commercially usable - BSD license

Page 42: Python Científico
Page 43: Python Científico

#NumPy

Page 44: Python Científico

#SymPy

Page 45: Python Científico

#Scikit-learn

Page 46: Python Científico

#Juntando várias

Page 47: Python Científico

Dúvidas?

Page 48: Python Científico

Obrigado! slideshare.net/marrciovr [email protected] facebook.com/marrciovr