Cargando…

Python and Matplotlib essentials for scientists and engineers /

This book provides an introduction to the core features of the Python programming language and Matplotlib plotting routings for scientists and engineers (or students of either discipline) who want to use Python to analyse data, simulate physical processes, and render publication-quality plots. No pr...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Wood, Matt A. (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: San Rafael [California] (40 Oak Drive, San Rafael, CA, 94903, USA) : Morgan & Claypool Publishers, [2015]
Colección:IOP (Series). Release 2.
IOP concise physics.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Preface
  • Introduction : why Python and Matplotlib?
  • Numerical analysis and publication-quality plots
  • Enter Python
  • Resources
  • Downloading and installation
  • First steps
  • Working with strings
  • Accessing user input
  • Your first Python program file
  • Working with numbers
  • A powerful calculator
  • Lists, tuples and arrays
  • NumPy arrays
  • Creating and reshaping arrays
  • Basic operations with arrays
  • Dictionaries
  • Basic statistics
  • Universal functions
  • Precision and round-off error
  • NumPy matrix objects
  • File input and output
  • Reading from a file
  • Writing to a file
  • Simple programing : flow control
  • Conditionals
  • if-elif-else statements
  • for loops
  • while statements
  • break, continue and pass statements
  • Functions and modules
  • Introduction : coding best practices
  • Simple Python functions and modules
  • Functions with keyword arguments
  • Functional programming : list comprehension, lambda, map and filter
  • Classes and class methods
  • Introduction
  • Class attributes
  • Copying and deep copying
  • Methods
  • Making plots with Matplotlib
  • Simple line and point plots
  • Including error bars
  • Multiple plots on a page
  • Histogram plots
  • Quick and easy plotting routines for two-column data
  • Customization : text on plots, rc params and inset figures
  • Image plots with imshow
  • 3D plots
  • Applications
  • Fits to data
  • Numerical integration
  • Integrating ordinary differential equations
  • Fourier transforms
  • Writing sound files
  • Visualization and animations
  • VPython
  • Making figures with Mayavi
  • Animations
  • Interfacing with other languages.