Actions for Effective computation in physics : field guide to research with Python
Effective computation in physics : field guide to research with Python / Anthony Scopatz and Kathryn D. Huff
- Author
- Scopatz, Anthony
- Published
- Sebastopol, CA : O'Reilly Media, 2015.
- Edition
- First edition.
- Physical Description
- 1 online resource
- Additional Creators
- Huff, Kathryn D.
Access Online
- Contents
- 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., and 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.
- Subject(s)
- ISBN
- 9781491901595 (electronic bk.)
1491901594 (electronic bk.)
9781491901588 (electronic bk.)
1491901586 (electronic bk.) - Bibliography Note
- Includes bibliographical references and index.
View MARC record | catkey: 18163208