image information along a polar coordinate system?

I have a set of png images that I would like to process with Python and associated tools. Each image represents a ph...

How to detect black shaped contour on photo with OpenCV-Python?

I am trying to detect black shape on photo like this. So far i have picture with shape but still on there is man...

Omit joining lines in matplotlib plot e.g. y = tan(x)?

I have the graph y = tan(x) and I want to remove the vertical lines (see below). Here is my code: import numpy as ...

Mean Squared Error in Numpy??

Is there a method in numpy for calculating the Mean Squared Error between two matrices? I've tried searching but fo...

Mean Squared Error in Numpy??

Is there a method in numpy for calculating the Mean Squared Error between two matrices? I've tried searching but fo...

Transpose of a vector using numpy?

I am having an issue with Ipython - Numpy. I want to do the following operation: x^T.x with and x^T the transpos...

How to print the full NumPy array, without truncation??

When I print a numpy array, I get a truncated representation, but I want the full array. Is there any way to do th...

How to Cut an Image Vertically into Two Equal Sized Images?

So I have an 800 x 600 image that I want to cut vertically into two equally sized pictures using OpenCV 3.1.0. This ...

3D Array in Python with mutliple data types?

I need to create a 3D array in numpy which has multiple data types. arr[int][str][int] I have tried using np.ne...

Very Basic Numpy array dimension visualization?

I'm a beginner to numpy with no experience in matrices. I understand basic 1d and 2d arrays but I'm having trouble v...

np arrays being immutable - “assignment destination is read-only”?

FD** - I am a Python newb as well as a stack overflow newb as you can tell. I have edited the question based on comm...

Official abbreviation for: import scipy as sp/sc?

I've seen both: import scipy as sp and: import scipy as sc Is there an official preference listed anywhere? ...

python - invalid value encountered in log?

I have the following expression: log = np.sum(np.nan_to_num(-y*np.log(a+ 1e-7)-(1-y)*np.log(1-a+ 1e-7))) it is givi...

Pandas read_csv low_memory and dtype options?

When calling df = pd.read_csv('somefile.csv') I get: /Users/josh/anaconda/envs/py27/lib/python2.7/site-packag...

'list' object has no attribute 'shape'?

how to create an array to numpy array? def test(X, N): [n,T] = X.shape print "n : ", n print "T : ", T ...