Top "Scipy" questions

SciPy is an open source library of algorithms and mathematical tools for the Python programming language.

How can I fit a gaussian curve in python?

I'm given an array and when I plot it I get a gaussian shape with some noise. I want to …

python scipy curve-fitting gaussian
How to manipulate wav file data in Python?

I'm trying to read a wav file, then manipulate its contents, sample by sample Here's what I have so far: …

python scipy wav
Generating Discrete random variables with specified weights using SciPy or NumPy

I am looking for a simple function that can generate an array of specified random values based on their corresponding (…

python random numpy scipy
How to interpret the values returned by numpy.correlate and numpy.corrcoef?

I have two 1D arrays and I want to see their inter-relationships. What procedure should I use in numpy? I …

python numpy scipy correlation
Iterating through a scipy.sparse vector (or matrix)

I'm wondering what the best way is to iterate nonzero entries of sparse matrices with scipy.sparse. For example, if …

python scipy sparse-matrix
Computing the correlation coefficient between two multi-dimensional arrays

I have two arrays that have the shapes N X T and M X T. I'd like to compute the …

python arrays numpy scipy correlation
Fitting a gamma distribution with (python) Scipy

Can anyone help me out in fitting a gamma distribution in python? Well, I've got some data : X and Y …

python scipy distribution gamma-distribution
SciPy Create 2D Polygon Mask

I need to create a numpy 2D array which represents a binary mask of a polygon, using standard Python packages. …

python scipy polygon sage point-in-polygon
Map each list value to its corresponding percentile

I'd like to create a function that takes a (sorted) list as its argument and outputs a list containing each …

python numpy scipy median percentile
kalman 2d filter in python

My input is 2d (x,y) time series of a dot moving on a screen for a tracker software. It …

python numpy scipy smoothing kalman-filter