Cargando…

Effective computation in physics /

More physicists today are taking on the role of software developer as part of their research, but software development isn{u2019}t always easy or obvious, even for physicists. This practical book teaches essential software development skills to help you automate and accomplish nearly any aspect of r...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Scopatz, Anthony (Autor), Huff, Kathryn D. (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly Media, 2015.
Edición:First edition.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Copyright; Table of Contents; Foreword; Preface; What Is This Book?; Who This Book Is For; Who This Book Is Not For; Case Study on How to Use This Book: Radioactive Decay Constants; Accessing Data and Libraries; Creating a Simple Program; Automating Data Collection; Analyzing and Plotting the Data; Keeping Track of Changes; Testing the Code; Documenting the Code; Publishing; What to Do While Reading This Book; Conventions Used in This Book; Using Code Examples; Installation and Setup; Step 1: Download and Install Miniconda (or Anaconda); Step 2: Install the Packages; Safari® Books Online.
  • How to Contact UsAcknowledgments; Part I. Getting Started; Chapter 1. Introduction to the Command Line; Navigating the Shell; The Shell Is a Programming Language; Paths and pwd; Home Directory ()̃; Listing the Contents (ls); Changing Directories (cd); File Inspection (head and tail); Manipulating Files and Directories; Creating Files (nano, emacs, vi, cat,>, and touch); Copying and Renaming Files (cp and mv); Making Directories (mkdir); Deleting Files and Directories (rm); Flags and Wildcards; Getting Help; Reading the Manual (man); Finding the Right Hammer (apropos).
  • String ConcatenationString Literals; String Methods; Modules; Importing Modules; Importing Variables from a Module; Aliasing Imports; Aliasing Variables on Import; Packages; The Standard Library and the Python Ecosystem; Python Wrap-up; Chapter 3. Essential Containers; Lists; Tuples; Sets; Dictionaries; Containers Wrap-up; Chapter 4. Flow Control and Logic; Conditionals; if-else Statements; if-elif-else Statements; if-else Expression; Exceptions; Raising Exceptions; Loops; while Loops; for Loops; Comprehensions; Flow Control and Logic Wrap-up; Chapter 5. Operating with Functions.
  • Functions in PythonKeyword Arguments; Variable Number of Arguments; Multiple Return Values; Scope; Recursion; Lambdas; Generators; Decorators; Function Wrap-up; Chapter 6. Classes and Objects; Object Orientation; Objects; Classes; Class Variables; Instance Variables; Constructors; Methods; Static Methods; Duck Typing; Polymorphism; Decorators and Metaclasses; Object Orientation Wrap-up; Part II. Getting It Done; Chapter 7. Analysis and Visualization; Preparing Data; Experimental Data; Simulation Data; Metadata; Loading Data; NumPy; PyTables; Pandas; Blaze; Cleaning and Munging Data.