All Revisions

Adaptive sampling of 1D functions
Sample a 1D function to given tolerance by adaptive subdivision. The result of sampling is a set of points that, if plotted, produces a smooth curve with also sharp features ...
 0
 revision 2
 by Thomas Lima
 on 29 March 2017

finds the solitary and clustered pixels in a 2D array of pixels
Upgraded on Wed march 03 14:00:30 2013  Version 3 Following some user requests:  slight polishing of the outputs by adding an output vector of the sequence of the ...
 0
 revision 3
 by PLautridou
 on 03 March 2017

finds the solitary and clustered pixels in a 2D array of pixels
Upgraded on Wed Sep 14 10:55:30 2016  Version 2  Improved algorithm: the first version can fail for some specific shapes of clusters (wormlike shapes). For example with Pos ...
 0
 revision 2
 by PLautridou
 on 22 September 2016

finds the solitary and clustered pixels in a 2D array of pixels
The function FINDCLU finds the solitary and clustered pixels in a 2D array of pixels. Recognition of these structures is commonly used in processing of ionizing particles in pixelated detectors ...
 0
 by PLautridou
 on 14 June 2016

Basic linear regression
Expected result: See the official Scipy documentation for details about
linregress
. A more complete regression model can be obtained with the OLS function in the statsmodels library. 
IBCAO (International Bathymetric Chart of the Arctic Ocean) class for python and Scipy
Class which sets up the IBCAO (projection and loads file) for use with Matplotlib:

NumPy / SciPy Recipes for Data Science: Eigenvalues/Eigenvectors of Covariance Matrices
In this note, we discuss a potential pitfall in using NumPy or SciPy methods to compute eigen decompositions of covariance matrices and show how to avoid it. In short, we ...
 0
 by christianbauckhage
 on 09 November 2015

NumPy / SciPy Recipes for Data Science: Computing Nearest Neighbors
In this note, we discuss efficient NumPy recipes for Euclidean nearest neighbor and knearest neighbor searches in data sets of moderate size. Our code snippets are basically oneliners and orders ...
 0
 by christianbauckhage
 on 08 November 2015

Matplotlib tutorial
Matplotlib is probably the single most used Python package for 2Dgraphics. It provides both a very quick way to visualize data from Python and publicationquality figures in many formats. We ...
 0
 by Nicolas Rougier
 on 29 September 2015

SciPy Lectures Notes
These are a consistent set of materials to learn the core aspects of the scientific Python ecosystem, from beginner to expert. They are written and maintained by a set of ...
 0
 by Nicolas Rougier
 on 28 September 2015

Ten simple rules for better figures
This link to the sources of the figures of the article “Ten Simple Rules for better figures”, Nicolas P. Rougier, Michael Droettboom, Philip E. Bourne, PLOS Computational Biology, 2014. Article ...
 0
 by Nicolas Rougier
 on 28 September 2015

100 Numpy exercices
A collection of 100 numpy exercices gathered from the numpy mailing list, stack overflow and other places.
 0
 revision 2
 by Nicolas Rougier
 on 28 September 2015

100 Numpy exercices
A collection of exercices gathered from the numpy mailing list, stack overflow and other places.
 0
 by Nicolas Rougier
 on 28 September 2015

Learning Scipy
This repository contains source code programs and some notes to complement the book about the scientific Python module SciPy entitle [Learning SciPy for Numerical and Scientific Computing  Second Edition (2015 ...

dqpy
dqpy is a deprecated library that handle dual quaternion algebra in Python. Please download the Python version of dqrobotics in http://sourceforge.net/projects/dqrobotics/
 0
 revision 2
 by marcoracer
 on 28 July 2015

numpygroupies
Optimised tools for groupindexing operations: aggregated sum and more. aggregate(group_idx, a, func=’sum’):

ROC curve demo
This script can be used to understand the relationship between the signal absent and signal present distributions and the ROC curve which they generate. The distributions are assumed to be ...

Basic linear regression
Expected result: See the official Scipy documentation for details about
linregress
. A more complete regression model can be obtained here with the OLS function in the statsmodels library. 0
 revision 4
 by lissacoffey
 on 22 May 2015

IBCAO (International Bathymetric Chart of the Arctic Ocean) class for python and Scipy
Class which sets up the IBCAO (projection and loads file) for use with Matplotlib: