Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Standard view
Full view
of .
×

Getting started with Python for science
Scientiﬁc computing with tools and workﬂow
1.1 Why Python?
1.2 Scientiﬁc Python building blocks
1.3 The interactive workﬂow: IPython and a text editor
The Python language
2.1 First steps
2.2 Basic types
2.3 Assignment operator
2.4 Control Flow
2.5 Deﬁning functions
2.6 Reusing code: scripts and modules
2.7 Input and Output
2.8 Standard Library
2.9 Exceptions handling in Python
2.10 Object-oriented programming (OOP)
NumPy: creating and manipulating numerical data
3.1 Intro
3.2 1. Basics I
3.3 2. Basics II
3.4 3. Moving on
3.5 4. Under the hood
Getting help and ﬁnding documentation
Matplotlib
5.1 Introduction
5.2 IPython
5.3 pylab
5.4 Simple Plots
5.5 Properties
5.6 Text
5.7 Ticks
5.8 Figures, Subplots, and Axes
5.9 Other Types of Plots
5.10 The Class Library
Scipy : high-level scientiﬁc computing
6.1 Scipy builds upon Numpy
6.2 File input/output: scipy.io
6.3 Signal processing: scipy.signal
6.4 Special functions: scipy.special
6.5 Statistics and random numbers: scipy.stats
6.6 Linear algebra operations: scipy.linalg
6.7 Numerical integration: scipy.integrate
6.8 Fast Fourier transforms: scipy.fftpack
6.9 Interpolation: scipy.interpolate
6.10 Optimization and ﬁt: scipy.optimize
6.11 Image processing: scipy.ndimage
6.12 Summary exercises on scientiﬁc computing
6.12.3 Image processing application: counting bubbles and unmolten grains
7.1 Iterators, generator expressions and generators
7.1.2 Generator expressions
Generators
7.1.4 Bidirectional communication
7.1.5 Chaining generators
7.2 Decorators
7.2.1 Replacing or tweaking the original object
7.2.2 Decorators implemented as classes and as functions
7.2.3 Copying the docstring and other attributes of the original function
7.2.4 Examples in the standard library
7.2.5 Deprecation of functions
7.2.6 A while-loop removing decorator
7.2.7 A plugin registration system
7.3 Context managers
7.3.1 Catching exceptions
7.3.2 Using generators to deﬁne context managers
8.1 Life of ndarray
8.1.2 Block of memory
8.1.4 Indexing scheme: strides
Example: fake dimensions with strides
8.2.2 Exercise: building an ufunc from scratch
8.2.3 Solution: building an ufunc from scratch
8.2.4 Generalized ufuncs
generalized ufunc
8.3 Interoperability features
8.3.1 Sharing multidimensional, typed data
8.3.2 The old buffer protocol
8.3.3 The old buffer protocol
8.3.4 Array interface protocol
8.3.5 The new buffer protocol: PEP 3118
8.3.6 PEP 3118 – details
8.5 Summary
8.6 Contributing to Numpy/Scipy
8.6.3 Contributing to documentation
8.6.4 Contributing features
8.6.5 How to help, in general
Debugging code
9.1 Avoiding bugs
9.1.1 Coding best practices to avoid getting in trouble
9.1.2 pyﬂakes: fast static analysis
Running pyﬂakes on the current edited ﬁle
A type-as-go spell-checker like integration
9.2 Debugging workﬂow
9.3 Using the Python debugger
9.3.1 Invoking the debugger
Postmortem
Step-by-step execution
Other ways of starting a debugger
9.3.2 Debugger commands and interaction
9.4 Debugging segmentation faults using gdb
Optimizing code
10.1 Optimization workﬂow
10.2 Proﬁling Python code
10.3 Making code go faster
10.3.1 Algorithmic optimization
Example of the SVD
10.4 Writing faster numerical code
Sparse Matrices in SciPy
11.1 Introduction
11.2 Storage Schemes
11.3 Linear System Solvers
11.4 Other Interesting Packages
Image manipulation and processing using Numpy and Scipy
12.1 Opening and writing to image ﬁles
12.2 Displaying images
12.3 Basic manipulations
12.3.2 Geometrical transformations
12.4 Image ﬁltering
12.4.4 Mathematical morphology
12.5 Feature extraction
12.6 Measuring objects properties
3D plotting with Mayavi
13.1 A simple example
13.2 3D plotting functions
13.3 Figures and decorations
13.4 Interaction
Sympy : Symbolic Mathematics in Python
14.1 First Steps with SymPy
14.1.1 Using SymPy as a calculator
14.2 Algebraic manipulations
14.3 Calculus
14.4 Equation solving
14.5 Linear Algebra
14.5.2 Differential Equations
scikit-learn: machine learning in Python
15.2 Supervised learning
15.2.1 k-Nearest neighbors classiﬁer
15.2.2 Support vector machines (SVMs) for classiﬁcation
15.3 Clustering: grouping observations together
15.3.1 K-means clustering
15.3.2 Dimension Reduction with Principal Component Analysis
15.4 Putting it all together : face recognition with Support Vector Machines
Bibliography
Index
0 of .
Results for:
P. 1
Python Scientific Simple

# Python Scientific Simple

Ratings: (0)|Views: 1,259|Likes:

### Availability:

See More
See less

07/13/2013

pdf

text

original

Pages 6 to 67 are not shown in this preview.
Pages 73 to 79 are not shown in this preview.
Pages 85 to 106 are not shown in this preview.