Book Image

NumPy: Beginner's Guide

By : Ivan Idris
Book Image

NumPy: Beginner's Guide

By: Ivan Idris

Overview of this book

Table of Contents (21 chapters)
NumPy Beginner's Guide Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
NumPy Functions' References
Index

Hamming window


The Hamming window is formed by a weighted cosine. The formula is as follows:

The NumPy hamming() function returns the Hamming window. The only parameter is the number of points M in the output window. If this number is 0 or less than 0, an empty array is returned.