python Programming Glossary: numpy.sin
Image embossing in Python with PIL — adding depth, azimuth, etc http://stackoverflow.com/questions/2034037/image-embossing-in-python-with-pil-adding-depth-azimuth-etc of ray on ground plane dx gd numpy.cos azi dy gd numpy.sin azi dz numpy.sin ele # adjusting the gradient by the depth factor.. on ground plane dx gd numpy.cos azi dy gd numpy.sin azi dz numpy.sin ele # adjusting the gradient by the depth factor # I think this..
What is the difference between 'log' and 'symlog'? http://stackoverflow.com/questions/3305865/what-is-the-difference-between-log-and-symlog xdomain xdomain # Plots 'sin x ' pyplot.plot xdomain numpy.sin xdomain # 'linear' is the default mode so this next line is..
Python Uniform Spherical Distribution http://stackoverflow.com/questions/5408276/python-uniform-spherical-distribution 0.0 1. self.number_of_particles 1 x radius numpy.sin theta numpy.cos phi y radius numpy.sin theta numpy.sin phi z.. 1 x radius numpy.sin theta numpy.cos phi y radius numpy.sin theta numpy.sin phi z radius numpy.cos theta return x y z This.. numpy.sin theta numpy.cos phi y radius numpy.sin theta numpy.sin phi z radius numpy.cos theta return x y z This does not get..
How to synthesize sounds? http://stackoverflow.com/questions/790960/how-to-synthesize-sounds numpy.float32 sample numpy.pi 2 44100 sample freq return numpy.sin sample for x in xrange 1000 sample sine_wave x 100 pcm.write..
Interactive plot based on Tkinter and matplotlib http://stackoverflow.com/questions/9997869/interactive-plot-based-on-tkinter-and-matplotlib array Y eg. import numpy x numpy.arange 0.0 3.0 0.01 y numpy.sin 2 numpy.pi x Y numpy.vstack y y 2 I want to display y or y 2..
|