Index
A
- absolute tolerance (atol) / Equal arrays
- add().function
- ufuncs methods, applying / Time for action – applying the ufunc methods to the add function
- affinity matrix / Time for Action – clustering points
- animation
- about / Animation
- in Pygame / Animation
- URL / Time for action – animating objects with NumPy and Pygame
- pygame.time.Clock() function / What just happened?
- clock.tick(30) function / What just happened?
- YouTube, URL / Time for Action – using matplotlib in Pygame
- annotate() function / Legend and annotations
- annotations
- arange() function / Time for action – fitting to polynomials, What just happened?
- argmax() function / Searching
- argmin() function / Searching
- argwhere() function / Searching
- arithmetic functions
- about / Arithmetic functions
- arithmetic mean
- about / The mean() function
- reference link / The mean() function
- array
- extracting, from element / Array elements extraction, What just happened?
- array2d() function / Time for Action – accessing surface pixel data with NumPy
- array initialization
- about / Initialization
- arrays
- about / Arrays
- vectors, adding / Time for action – adding vectors
- ndarray methods, using / Methods of ndarray
- compressing / Time for action – clipping and compressing arrays, What just happened?
- clipping / Time for action – clipping and compressing arrays, What just happened?
- dividing / Time for action – dividing arrays, What just happened?
- __future__division / Have a go hero – experimenting with __future__.division
- comparing / Time for action – comparing arrays, What just happened?
- ordering / Ordering arrays
- artificial intelligence
- about / Artificial Intelligence
- points, clustering / Time for Action – clustering points, What just happened?
- sklearn.cluster.AffinityPropagation().fit(S) function / What just happened?
- pygame.draw.polygon () function / What just happened?
- Art of Problem Solving(AoPS)
- assert functions
- about / Assert functions
- assert_almost_equal() / Assert functions
- assert_approx_equal() / Assert functions
- assert_array_almost_equal() / Assert functions
- assert_array_equal() / Assert functions
- assert_array_less() / Assert functions
- assert_equal() / Assert functions
- assert_raises() / Assert functions
- assert_warns() / Assert functions
- assert_string_equal() / Assert functions
- assert_allclose() / Assert functions
- assert_almost_equal() function
- assert_approx_equal() function
- using / Approximately equal arrays
- assert_array_almost_equal() function
- using / Almost equal arrays
- assert_array_almost_equal_nulp() function
- assert_array_less() function / Ordering arrays
- assert_array_max_ulp() function
- assert_equal() function
- assert_string_equal() function
- at() method
- using, for fancy indexing / Time for action – fancy indexing in-place for ufuncs with the at() method, What just happened?
- attributes, one-dimensional NumPy arrays
- ndim attribute / Array attributes
- size attribute / Array attributes
- itemsize attribute / Array attributes
- T attribute / Array attributes
- real attribute / Array attributes
- imag attribute / Array attributes
- flat attribute / Array attributes
- audio clips
- audio processing
- about / Audio processing
- audio clips, replaying / Time for action – replaying audio clips, What just happened?
- Austin Powers / Time for action – replaying audio clips
- Average True Range (ATR)
- about / Average True Range
- calculating / Time for action – calculating the Average True Range, What just happened?
- minimum() function, using / Have a go hero – taking the minimum() function for a spin
- axes
B
- B-spline interpolation algorithms / Signal processing
- bartlett() function / Time for action – plotting the Bartlett window
- Bartlett window
- basic arithmetic, Python / Basic arithmetic and variable assignment
- Bessel function
- about / Kaiser window
- URL / Kaiser window
- Binets formula / Time for action – computing Fibonacci numbers
- binomial() function
- binomial distribution models / Time for action – gambling with the binomial
- bits
- twiddling / Time for action – twiddling bits
- bitwise functions / Bitwise and comparison functions
- blackman() function / Blackman window
- Blackman window
- about / Blackman window
- used, for smoothing stock prices / Time for action – smoothing stock prices with the Blackman window, What just happened?
- bmat() function / Creating a matrix from other matrices
- Bollinger Bands
- about / Bollinger Bands
- components / Bollinger Bands
- enveloping / Time for action – enveloping with Bollinger Bands, What just happened?
- exponential moving average, switching / Have a go hero – switching to Exponential Moving Average
- bootstrapping
- about / Bootstrapping in statistics
C
- calculus / Polynomials
- calc_profit() function / Time for action – avoiding loops with vectorize()
- character codes / Character codes
- clustering / Time for Action – clustering points
- code
- commenting / Code comments
- comments, URL / Code comments
- Comma Separated Values (CSV) files
- about / Comma-seperated value files
- loading / Time for action – loading from CSV files
- complex conjugate / Singular value decomposition
- complex numbers
- about / Complex numbers
- sorting / Time for action – sorting complex numbers, What just happened?
- concatenate() function / Time for action – stacking arrays
- conjugate transpose / Singular value decomposition
- constructors / The dtype constructors
- continuous distributions
- about / Continuous distributions
- normal distribution, drawing / Time for action – drawing a normal distribution, What just happened?
- contour plots
- about / Contour plots
- drawing / Time for action – drawing a filled contour plot
- convolution
- corrcoef() function / Time for action – trading correlated pairs, What just happened?
- correlation
- about / Correlation
- URL / Correlation
- correlated pairs, trading / Time for action – trading correlated pairs, What just happened?, Pop quiz – calculating covariance
- covariance
- Cowboys Game of Life
- about / Simulation game with Pygame
- URL / Simulation game with Pygame
- transitions / Simulation game with Pygame
- implementation / Time for Action – simulating life
- CPython / Python
D
- data type objects / Data type objects
- dates
- about / Dates
- dealing with / Time for action – dealing with dates
- VWAP, calculating / Have a go hero – looking at VWAP and TWAP
- TWAP, calculating / Have a go hero – looking at VWAP and TWAP
- datetime64 data type, using / Time for action – using the datetime64 data type
- datetime64 data type
- datetime object
- reference link / Time for action – dealing with dates
- deriv() function / Time for action – plotting a polynomial and its derivatives
- determinant
- about / Determinants
- URL / Determinants
- of matrix, calculating / Time for action – calculating the determinant of a matrix, What just happened?
- detrended signal
- diagonal() method / Time for action – trading correlated pairs
- diff() function / Time for action – balancing volume
- Discrete Fourier transform
- URL / Fourier analysis
- discrete Fourier transform (DFT) / Fast Fourier transform
- DISH (Dish Network Corp) / Time for action – plotting a year's worth of stock quotes
- distribution (distro) / NumPy on Linux
- divide() function / Time for action – dividing arrays, What just happened?
- docstring
- about / Docstrings
- doctests
- executing / Time for action – executing doctests, What just happened?
- dot() function / Time for action – solving a linear system
- dot product
- URL / Solving linear systems
- dtype attribute
- about / The dtype attributes
- record data type, creating / Time for action – creating a record data type, What just happened?
- dtype class / The dtype attributes
E
- eig() function / Finding eigenvalues and eigenvectors
- eigenvalues
- eigenvectors
- eigvals() function / Finding eigenvalues and eigenvectors
- element
- array, extracting from / Array elements extraction, What just happened?
- Enthought / Artificial Intelligence
- error() function / Time for action – calculating the Gaussian integral
- Exponential Moving Average (EMA)
- extract() function
- using, for array element extraction / Array elements extraction, What just happened?
- extrema / Time for action – fitting to polynomials
F
- factorial
- about / Factorial
- calculating / Time for action – calculating the factorial, What just happened?
- fancy indexing
- about / Fancy indexing
- using, for ufuncs with at() method / Time for action – fancy indexing in-place for ufuncs with the at() method, What just happened?
- fast Fourier transform (FFT) / Fast Fourier transform
- fft() function / Time for action – calculating the Fourier transform
- fftshift() function / Shifting
- Fibonacci numbers
- about / Fibonacci numbers
- URL / Fibonacci numbers
- computing / Time for action – computing Fibonacci numbers, What just happened?
- calculations, timing / Have a go hero – timing the calculations
- file handle
- about / What just happened?
- reference link / What just happened?
- file I/O
- about / File I/O
- files, reading / Time for action – reading and writing files, What just happened?
- files, writing / Time for action – reading and writing files, What just happened?
- fill_between() function
- financial functions
- fv() function / Financial functions
- pv() function / Financial functions
- npv() function / Financial functions
- pmt() function / Financial functions
- irr() function / Financial functions
- mirr() function / Financial functions
- nper() function / Financial functions
- rate() function / Financial functions
- used, for determining future value / Time for action – determining the future value, What just happened?
- Fink
- used, for installing Numpy / Time for action – installing NumPy, SciPy, matplotlib, and IPython with MacPorts or Fink
- flatten() function / What just happened?
- floating-point numbers
- comparing / Floating-point comparisons
- comparing, with assert_array_almost_equal_nulp function / Time for action – comparing with assert_array_almost_equal_nulp
- floats
- comparing / Time for action – comparing using maxulp of 2
- comparing, with maxulp of 2 / Time for action – comparing using maxulp of 2
- floor() function / Time for action – dividing arrays
- floor_divide() function / Time for action – dividing arrays
- fmod() function / Time for action – computing the modulo
- for loop
- about / The for loop
- implementing / Time for action – repeating instructions with loops
- format string
- plotting / Plot format string
- polynomial derivate, plotting / Time for action – plotting a polynomial and its derivatives, What just happened?
- Fourier analysis
- about / Fourier analysis
- detrended signal, filtering / Time for action – filtering a detrended signal, What just happened?
- Fourier series
- about / Square waves, Fast Fourier transform
- URL / Square waves
- Fourier transform
- frequencies
- shifting / Shifting, What just happened?
- frompyfunc() function / Time for action – creating universal functions
- full() function
- used, for creating value initialized arrays / Time for action – creating value initialized arrays with the full() and full_like() functions, What just happened?
- full_like() function
- used, for creating value initialized arrays / Time for action – creating value initialized arrays with the full() and full_like() functions, What just happened?
- functional programming
- about / What just happened?
- reference link / What just happened?
- functions, Python
- defining / Time for action – defining functions
- future value
- about / Financial functions
- determining, with financial functions / Time for action – determining the future value, What just happened?
- URL / Time for action – determining the future value
- fv() function / Financial functions
G
- Gaussian / Have a go hero – drawing a bell curve
- Gaussian integral
- generalized Taylor series approximation
- URL / Polynomials
- golden ratio formula / Fibonacci numbers, Time for action – computing Fibonacci numbers
H
- hamming() function / Hamming window
- Hamming window
- about / Hamming window
- plotting / Time for action – plotting the Hamming window, What just happened?
- hanning() function
- used, for smoothing / Time for action – smoothing with the hanning() function
- Harvard University / Mathematics and statistics
- Hello World game
- about / Hello World
- creating / Time for action – creating a simple game, What just happened?
- pygame.init() function / What just happened?
- pygame.display.set_mode((400, 300)) function / What just happened?
- pygame.display.set_caption () function / What just happened?
- pygame.font.SysFont () function / What just happened?
- sysFont.render() function / What just happened?
- screen.blit() function / What just happened?
- pygame.event.get() function / What just happened?
- pygame.quit() function / What just happened?
- pygame.display.update() function / What just happened?
- Hermitian conjugate / Singular value decomposition
- hist() function / Histograms
- histograms
- about / Histograms
- stock price distributions, charting / Time for action – charting stock price distributions, What just happened?, Have a go hero – drawing a bell curve
- bell curve, drawing / Have a go hero – drawing a bell curve
- hypergeometric() function / What just happened?
- hypergeometric distribution
- about / Hypergeometric distribution
- game show, simulating / Time for action – simulating a game show, What just happened?
I
- identity matrix
- ifft() function / Time for action – calculating the Fourier transform
- if statement
- about / The if statement
- implementing / Time for action – deciding with the if statement
- image processing
- about / Image processing
- Lena, manipulating / Time for action – manipulating Lena, What just happened?
- installation
- Pygame / Time for action – installing Pygame
- interest rate
- about / Interest rate
- figuring / Time for action – figuring out the rate, What just happened?
- internal rate of return
- interpolation
- about / Interpolation
- in one direction / Time for action – interpolating in one dimension, What just happened?
- inv() function / Time for action – inverting matrices
- IPython
- installing, on Windows / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Windows
- installing, on Linux / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- URL / IPython – an interactive shell
- about / IPython – an interactive shell
- features / IPython – an interactive shell
- IRC channel
- irr() function / Financial functions
- ISO 8601 standard
- reference link / Time for action – using the datetime64 data type
- isreal() function / What just happened?
J
- Jackknife resampling
- about / Missing values and Jackknife resampling
- URL / Missing values and Jackknife resampling
- Not a Number (NaN), handling / Time for action – handling NaNs with the nanmean(), nanvar(), and nanstd() functions
- Jarque-Bera normality test / Sample comparison and SciKits, Time for action – comparing stock log returns
K
- kaiser() function / Kaiser window
- Kaiser window
- about / Kaiser window
- plotting / Time for action – plotting the Kaiser window
- Kolmogorov-Smirnov / Time for action – comparing stock log returns
- kurtosis / Time for action – analyzing random values
L
- least-squares method
- leastsq() function / Mathematical optimization
- legend() function / Legend and annotations
- legends
- Lena Soderberg
- manipulating / Time for action – manipulating Lena, What just happened?
- lexsort() function
- sorting lexically / Time for action – sorting lexically, Have a go hero – trying a different sort order
- linear algebra
- about / Linear algebra
- URL / Linear algebra
- matrices, inverting / Time for action – inverting matrices, Pop quiz – creating a matrix
- Linear Algebra PACKage (LAPACK) / Time for action – installing Python on different operating systems
- linear model
- about / Linear model
- price, predicting / Time for action – predicting price with a linear model, What just happened?
- linear systems
- linspace() function / What just happened?, Time for action – plotting a polynomial function
- Linux
- SciPy, installing / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- NumPy, installing / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- IPython, installing / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- matplotlib, installing / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- Lissajous curves
- about / Lissajous curves
- drawing / Time for action – drawing Lissajous curves, What just happened?
- loadmat() function / MATLAB and Octave
- locators / Time for action – plotting a year's worth of stock quotes
- logarithmic plots
- about / Logarithmic plots
- stock volume, plotting / Time for action – plotting stock volume, What just happened?
- loglog() function / Logarithmic plots
- lognormal() function / Lognormal distribution
- lognormal distribution
M
- .mat file
- MacPorts
- used, for installing Numpy / Time for action – installing NumPy, SciPy, matplotlib, and IPython with MacPorts or Fink
- Maple / IPython – an interactive shell
- mat() function / Time for action – creating matrices, What just happened?, Time for action – inverting matrices
- Mathematica / IPython – an interactive shell
- mathematical optimization
- about / Mathematical optimization
- sinusoidal pattern, fitting / Time for action – fitting to a sine, What just happened?
- MATLAB / IPython – an interactive shell, MATLAB and Octave
- matplotlib
- installing, on Windows / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Windows
- installing, on Linux / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- using, in Pygame / Time for Action – using matplotlib in Pygame, What just happened?
- matplotlib.finance package
- about / Finance
- used, for plotting years worth of stock quotes / Time for action – plotting a year's worth of stock quotes, What just happened?
- matrices
- about / Time for action – manipulating array shapes, Matrices
- transposing, URL / Time for action – manipulating array shapes
- URL / Matrices
- creating / Time for action – creating matrices, What just happened?
- matrix, creating from / Creating a matrix from other matrices, What just happened?
- matrix
- inverting, URL / Time for action – creating matrices
- creating, from other matrices / Creating a matrix from other matrices, What just happened?
- inverting, in linear algebra / Time for action – inverting matrices, Pop quiz – creating a matrix
- decomposing, with SVD / Time for action – decomposing a matrix
- pseudo inverse, computing / Pseudo inverse, Time for action – computing the pseudo inverse of a matrix, What just happened?
- determinant, calculating / Determinants, What just happened?
- matrix() function / Fibonacci numbers
- maxulp of 2
- using, for comparisons / Time for action – comparing using maxulp of 2
- median
- about / Time for action – performing simple statistics
- reference link / Time for action – performing simple statistics
- Mersenne Twister algorithm
- URL / Random numbers
- methods / The dtype constructors
- mirr() function / Financial functions
- missing values
- mod() function / Time for action – computing the modulo
- modified Bessel function
- modified internal rate of return / Financial functions
- modules, Python
- about / Python modules
- importing / Time for action – importing modules
- modulo
- calculating / Modulo operation
- computing / Time for action – computing the modulo
- msvcp71.dll file
- multidimensional arrays
N
- nanargmax() function / Searching
- nanargmin() function / Searching
- NetBSD / Artificial Intelligence
- net present value
- about / Financial functions, Net present value
- URL / Net present value
- calculating / Time for action – calculating the net present value
- normal distribution
- normality test / Time for action – analyzing random values
- nose tests
- decorators / Nose test decorators
- numpy.testing.decorators.deprecated / Nose test decorators
- numpy.testing.decorators.knownfailureif / Nose test decorators
- numpy.testing.decorators.setastest / Nose test decorators
- numpy.testing.decorators.skipif / Nose test decorators
- numpy.testing.decorators.slow / Nose test decorators
- decorating / Time for action – decorating tests, What just happened?
- Not a Number (NaN)
- handling, with nanmean() function / Time for action – handling NaNs with the nanmean(), nanvar(), and nanstd() functions
- handling, with nanvar() function / Time for action – handling NaNs with the nanmean(), nanvar(), and nanstd() functions
- handling, with nanstd() function / Time for action – handling NaNs with the nanmean(), nanvar(), and nanstd() functions
- npv() function / Financial functions, Net present value
- number of periodic payments
- numerical integration
- about / Numerical integration
- Gaussian integral, calculating / Time for action – calculating the Gaussian integral, What just happened?
- NumPy
- about / Python
- URL / Time for action – installing Python on different operating systems
- installing, on Windows / NumPy on Windows, Time for action – installing NumPy, matplotlib, SciPy, and IPython on Windows
- installing, on Linux / NumPy on Linux
- installing, on Red Hat / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- installing, on Mandriva / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- installing, on Gentoo / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- installing, on Debian and Ubuntu / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- installing, on Mac OS X / NumPy on Mac OS X
- installing, with MacPorts / Time for action – installing NumPy, SciPy, matplotlib, and IPython with MacPorts or Fink
- installing, with Fink / Time for action – installing NumPy, SciPy, matplotlib, and IPython with MacPorts or Fink
- array object / NumPy array object
- numerical types / NumPy numerical types
- matrices / Matrices
- sorting routines / Sorting
- search functions / Searching
- financial functions / Financial functions
- used, for animating objects / Time for action – animating objects with NumPy and Pygame
- used, for accessing surface pixels / Surface pixels, Time for Action – accessing surface pixel data with NumPy, What just happened?
- numpy.dtype class / Data type objects
- numpy.random.choice() function
- used, for sampling / Time for action – sampling with numpy.random.choice()
- NumPy 1.8 / Fancy indexing
- NumPy and SciPy functions
- ndimage.convolve() function / What just happened?
- bools.astype() function / What just happened?
- np.arange() function / What just happened?
- NumPy array object
- about / NumPy array object
- multidimensional array, creating / Time for action – creating a multidimensional array, Pop quiz – the shape of ndarray
- three-by-three array, creating / Have a go hero – create a three-by-three array
- elements, selecting / Selecting elements, NumPy numerical types
- numerical types / NumPy numerical types
- data type objects / Data type objects
- character codes / Character codes
- dtype constructor / The dtype constructors
- dtype attribute / The dtype attributes
O
- == operator / Time for action – stacking arrays
- objects
- comparing / Object comparison
- Octave matrices / MATLAB and Octave
- on-balance volume indicator / On-balance volume
- one-dimensional NumPy arrays
- slicing / One-dimensional slicing and indexing
- shapes, manipulating / Time for action – manipulating array shapes
- stacking / Stacking
- horizontal stacking / Time for action – stacking arrays
- vertical stacking / Time for action – stacking arrays
- depth stacking / Time for action – stacking arrays
- column stacking / Time for action – stacking arrays
- row stacking / Time for action – stacking arrays
- vstack() function / What just happened?
- dstack() function / What just happened?
- hstack() function / What just happened?
- column_stack() function / What just happened?
- row_stack() function / What just happened?
- concatenate() function / What just happened?
- splitting / Splitting, Time for action – splitting arrays, What just happened?
- horizontal splitting / Time for action – splitting arrays
- vertical splitting / Time for action – splitting arrays
- depth-wise splitting / Time for action – splitting arrays
- attributes / Array attributes
- converting / Time for action – converting arrays
- online resources, Python / Python
- online resources and help
- about / Online resources and help
- references / Online resources and help
- OpenGL
- and Pygame / OpenGL and Pygame
- outer() method / Time for action – applying the ufunc methods to the add function
P
- p-value / Time for action – analyzing random values
- partial sorting
- partition() function
- payment against loan / Financial functions
- periodic payments
- about / Periodic payments
- calculating / Time for action – calculating the periodic payments, What just happened?
- Pete Shinners / Pygame
- piecewise() function / Time for action – balancing volume
- pinv() function / Pseudo inverse
- plot() function / Time for action – plotting a polynomial function, Plot format string
- plot regions, based on condition
- plots
- animating / Time for action – animating plots, What just happened?
- pmt() function / Financial functions
- points
- clustering / Time for Action – clustering points
- poly1d() function / Time for action – plotting a polynomial function
- polyfit() function / Time for action – fitting to polynomials, What just happened?
- polynomials
- polysub() function / What just happened?
- present value
- about / Present value
- URL / Present value
- obtaining / Time for action – getting the present value
- print() function
- about / The print() function
- used, for printing / Time for action – printing with the print() function
- pseudo-random numbers
- pseudo inverse, of matrix
- pseudo random numbers / Random numbers
- pv() function
- about / Financial functions
- Pygame
- about / Pygame
- installing / Time for action – installing Pygame
- installing, on Debian and Ubuntu / Time for action – installing Pygame
- used, for animating objects / Time for action – animating objects with NumPy and Pygame
- matplotlib, using / matplotlib, Time for Action – using matplotlib in Pygame, What just happened?
- mpl.use () function / What just happened?
- plt.figure() function / What just happened?
- agg.FigureCanvasAgg()function / What just happened?
- canvas.draw() function / What just happened?
- canvas.get_renderer() function / What just happened?
- and OpenGL / OpenGL and Pygame
- Sierpinski gasket, drawing / Time for Action – drawing the Sierpinski gasket
- Pygame installation
- on Debian and Ubuntu, URL / Time for action – installing Pygame
- on Windows, URL / Time for action – installing Pygame
- on Mac, URL / Time for action – installing Pygame
- from source / Time for action – installing Pygame
- on Mac OS X, URL / Time for action – installing Pygame
- Python
- about / Python
- installing, on different operating systems / Time for action – installing Python on different operating systems
- installing, on Debian and Ubuntu / Time for action – installing Python on different operating systems
- installing, on Windows / Time for action – installing Python on different operating systems
- installing, on Mac / Time for action – installing Python on different operating systems
- help system / The Python help system
- basic arithmetic / Basic arithmetic and variable assignment
- using, as calculator / Time for action – using Python as a calculator
- values, assigning to variables / Time for action – assigning values to variables
- functions / Python functions
- modules / Python modules
- comparison operators, URL / Time for action – stacking arrays
- URLs / Python
- mathematics and statistics, URLs / Mathematics and statistics
- Python classes
- URL / The dtype constructors
- Python decorators
- URL / Nose test decorators
- Python help system
- Python installer
- Python shell / The Python help system
Q
- QQQ
- trend, detecting / Time for action – detecting a trend in QQQ, What just happened?
- quad() function / Numerical integration
R
- random numbers
- about / Random numbers
- binomial() function / Time for action – gambling with the binomial
- rate() function / Financial functions, Interest rate
- rate of interest / Financial functions
- ravel() function / Time for action – manipulating array shapes, What just happened?
- read() function / Time for action – replaying audio clips
- regression line
- relative tolerance (rtol) / Equal arrays
- remainder() function / Time for action – computing the modulo
- reshape() function / What just happened?
- resistance levels
- resize() function / What just happened?
- rint() function / Fibonacci numbers, What just happened?
- row_stack() function / Time for action – stacking arrays
S
- sample variance
- savemat() function / MATLAB and Octave, Time for action – saving and loading a .mat file
- sawtooth
- scatter() function / Scatter plots
- scatter plot
- about / Scatter plots
- used, for plotting price / Time for action – plotting price and volume returns with a scatter plot
- used, for plotting volume returns / Time for action – plotting price and volume returns with a scatter plot, What just happened?
- SciKits
- SciPy
- installing, on Windows / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Windows
- installing, on Linux / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Linux
- URL / Online resources and help
- scipy.interpolate() function / Interpolation
- scipy.stats module / Statistics
- ScipySuperpack
- URL / NumPy on Mac OS X
- search functions
- searchsorted() function
- about / Searching
- using / Time for action – using searchsorted, What just happened?
- select() function / Time for action – smoothing with the hanning() function
- semilogx() function / Logarithmic plots
- semilogy() function / Logarithmic plots
- shapes, one-dimensional NumPy arrays
- ravel / Time for action – manipulating array shapes
- flatten / Time for action – manipulating array shapes
- setting, up with tuple / Time for action – manipulating array shapes
- transpose / Time for action – manipulating array shapes
- resize() method / Time for action – manipulating array shapes
- show() function / Simple plots, Time for action – plotting a polynomial function
- Sierpinski gasket
- drawing / Time for Action – drawing the Sierpinski gasket, What just happened?
- pygame.display.set_mode((w,h) function / What just happened?
- pygame.OPENGL|pygame.DOUBLEBUF function / What just happened?
- glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT) function / What just happened?
- gluOrtho2D()function / What just happened?
- glColor3f() function / What just happened?
- glBegin() function / What just happened?
- glVertex2fv() function / What just happened?
- glEnd() function / What just happened?
- glFlush() function / What just happened?
- Sierpinski Sieve / Time for Action – drawing the Sierpinski gasket
- Sierpinski triangle / Time for Action – drawing the Sierpinski gasket
- sign() function / Time for action – balancing volume
- signal processing
- about / Signal processing
- trend, detecting in QQQ / Time for action – detecting a trend in QQQ, What just happened?
- Simple DirectMedia Layer (SDL) / Pygame
- Simple moving Average (SMA)
- simple plots
- about / Simple plots
- polynomial function, plotting / Time for action – plotting a polynomial function, What just happened?
- simulation
- about / Simulation
- loops, avoiding with vectorize() function / Time for action – avoiding loops with vectorize(), Have a go hero – analyzing consecutive wins and losses
- sin() function / What just happened?
- sinc() function
- about / Special mathematical functions, sinc
- URL / Special mathematical functions
- plotting / Time for action – plotting the sinc function, What just happened?
- skewness
- smoothing
- about / Smoothing
- hanning() function, using / Time for action – smoothing with the hanning() function, What just happened?
- variations / Have a go hero – smoothing variations
- solve() function / Time for action – solving a linear system
- sorting routines
- source code, for Numpy
- building / Building from source
- URL / Building from source
- special mathematical functions
- about / Special mathematical functions
- sinc() function / Special mathematical functions
- modified Bessel function, plotting / Time for action – plotting the modified Bessel function, What just happened?
- spline interpolation
- URL / Signal processing
- square waves
- Stack Overflow
- statistics
- about / Statistics, Statistics
- performing / Time for action – performing simple statistics, What just happened?
- bootstrapping / Bootstrapping in statistics
- numpy.random.choice() function, using / Time for action – sampling with numpy.random.choice()
- random values, analyzing / Time for action – analyzing random values, What just happened?
- data generation, improving / Have a go hero – improving the data generation
- statsmodels
- URL, for installation / Sample comparison and SciKits
- stock log returns
- stock price distributions
- stock returns
- about / Stock returns
- analyzing / Time for action – analyzing stock returns
- stock volume
- strings
- comparing / String comparison, Time for action – comparing strings
- subplot() function / Subplots
- subplots
- about / Subplots
- polynomial derivate, plotting / Time for action – plotting a polynomial and its derivatives, What just happened?
- Polynomial / Time for action – plotting a polynomial and its derivatives
- First Derivate / Time for action – plotting a polynomial and its derivatives
- Second Derivate / Time for action – plotting a polynomial and its derivatives
- support levels
- surface pixels
- accessing, with NumPy / Surface pixels, Time for Action – accessing surface pixel data with NumPy, What just happened?
- pygame.surfarray.array2d(img) function / What just happened?
- pygame.surfarray.blit_array(screen, new_pixels) function / What just happened?
- SVD
- about / Singular value decomposition
- matrix, decomposing / Time for action – decomposing a matrix
- svd() function / Singular value decomposition
T
- Taylor series
- URL / Polynomials
- three-dimensional function
- three-dimensional plots
- about / Three-dimensional plots
- tile() function / Time for action – replaying audio clips, Time for Action – accessing surface pixel data with NumPy
- tiles / Time for action – plotting in three dimensions
- time-weighted average price (TWAP)
- about / Time-weighted average price
- weighted average, computing / Pop quiz – computing the weighted average
- averages, calculating / Have a go hero – calculating other averages
- trace() method / Time for action – trading correlated pairs
- trend line
- about / Trend lines
- drawing / Time for action – drawing trend lines, What just happened?
- triangle waves
- trim_zeros() function / Time for action – smoothing with the hanning() function
- true_divide() function / Time for action – dividing arrays
U
- ufuncs
- about / Universal functions
- creating / Time for action – creating universal functions, Universal function methods
- methods / Universal function methods
- fancy indexing, using with at() method / Time for action – fancy indexing in-place for ufuncs with the at() method, What just happened?
- ufuncs methods
- about / Universal function methods
- applying, on add() function / Time for action – applying the ufunc methods to the add function, What just happened?
- Unit of Least Precision (ULP) / Floating-point comparisons
- unit tests
- about / Unit tests
- writing / Time for action – writing a unit test, What just happened?
V
- value initialized arrays
- creating, with full() functions / Time for action – creating value initialized arrays with the full() and full_like() functions
- creating, with full_like() function / Time for action – creating value initialized arrays with the full() and full_like() functions
- value range
- about / Value range
- highest value, searching / Time for action – finding highest and lowest values, What just happened?
- lowest value, searching / Time for action – finding highest and lowest values, What just happened?
- variable assignment, Python / Basic arithmetic and variable assignment
- variance
- about / Time for action – performing simple statistics
- reference link / Time for action – performing simple statistics
- vectorize() function
- used, for avoiding loops / Time for action – avoiding loops with vectorize()
- vectors
- adding, with Python / Time for action – adding vectors
- adding, with NumPy / Time for action – adding vectors, What just happened?
- volume
- about / On-balance volume
- balancing / Time for action – balancing volume, What just happened?
- Volume Weighted Average Price (VWAP)
- about / Volume Weighted Average Price
- calculating / Volume Weighted Average Price
- reference link / Volume Weighted Average Price
- mean() function / The mean() function
- vstack() function / Time for action – stacking arrays
W
- Waclaw Sierpinski / Time for Action – drawing the Sierpinski gasket
- weekly summary
- about / Weekly summary
- data, summarizing / Time for action – summarizing data
- code, modifying / Have a go hero – improving the code
- window functions
- about / Window functions
- Bartlett window, plotting / Time for action – plotting the Bartlett window, What just happened?
- bartlett() function / Time for action – plotting the Bartlett window
- blackman() function / Blackman window
- hamming() function / Hamming window
- kaiser() function / Kaiser window
- Windows
- Numpy, installing / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Windows
- IPython, installing / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Windows
- matplotlib, installing / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Windows
- SciPy, installing / Time for action – installing NumPy, matplotlib, SciPy, and IPython on Windows
- Windows IPython installer
- write() function / Time for action – replaying audio clips
X
- xlabel() function / Time for action – plotting a polynomial function
- XOR operation
Y
- Yahoo Finance
- URL / Finance
- years worth of stock quotes
- ylabel() function / Time for action – plotting a polynomial function
Z
- zeros_like() function / What just happened?