Boost your scientific and analytic capabilities in no time at all by discovering how to build real-world applications with NumPy
About This Book
Optimize your Python scripts with powerful NumPy modules
Explore the vast opportunities to build outstanding scientific/ analytical modules by yourself
Packed with rich examples to help you master NumPy arrays and universal functions
Who This Book Is For
If you are an experienced Python developer who intends to drive your numerical and scientific applications with NumPy, this book is for you. Prior experience or knowledge of working with the Python language is required.
What You Will Learn
Manipulate the key attributes and universal functions of NumPy
Utilize matrix and mathematical computation using linear algebra modules
Implement regression and curve fitting for models
Perform time frequency / spectral density analysis using the Fourier Transform modules
Collate with the distutils and setuptools modules used by other Python libraries
Establish Cython with NumPy arrays
Write extension modules for NumPy code using the C API
Build sophisticated data structures using NumPy array with libraries such as Panda and Scikits
In Detail
In today’s world of science and technology, it’s all about speed and flexibility. When it comes to scientific computing, NumPy tops the list. NumPy gives you both the speed and high productivity you need.
This book will walk you through NumPy using clear, step-by-step examples and just the right amount of theory. We will guide you through wider applications of NumPy in scientific computing and will then focus on the fundamentals of NumPy, including array objects, functions, and matrices, each of them explained with practical examples.
You will then learn about different NumPy modules while performing mathematical operations such as calculating the Fourier Transform; solving linear systems of equations, interpolation, extrapolation, regression, and curve fitting; and evaluating integrals and derivatives. We will also introduce you to using Cython with NumPy arrays and writing extension modules for NumPy code using the C API. This book will give you exposure to the vast NumPy library and help you build efficient, high-speed programs using a wide range of mathematical features.
Style and approach
This quick guide will help you get to grips with the nitty-gritties of NumPy using with practical programming examples. Each topic is explained in both theoretical and practical ways with hands-on examples providing you efficient way of learning and adequate knowledge to support your professional work.
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.