Python Scripting for Computational Science

Capa
Springer Science & Business Media, 14 de mar de 2013 - 732 páginas
The primary purpose of this book is to help scientists and engineers work ing intensively with computers to become more productive, have more fun, and increase the reliability of their investigations. Scripting in the Python programming language can be a key tool for reaching these goals [27,29]. The term scripting means different things to different people. By scripting I mean developing programs of an administering nature, mostly to organize your work, using languages where the abstraction level is higher and program ming is more convenient than in Fortran, C, C++, or Java. Perl, Python, Ruby, Scheme, and Tel are examples of languages supporting such high-level programming or scripting. To some extent Matlab and similar scientific com puting environments also fall into this category, but these environments are mainly used for computing and visualization with built-in tools, while script ing aims at gluing a range of different tools for computing, visualization, data analysis, file/directory management, user interfaces, and Internet communi cation. So, although Matlab is perhaps the scripting language of choiee in computational science today, my use of the term scripting goes beyond typi cal Matlab scripts. Python stands out as the language of choice for scripting in computational science because of its very elean syntax, rieh modulariza tion features, good support for numerical computing, and rapidly growing popularity. What Scripting is About.
 

O que estão dizendo - Escrever uma resenha

Não encontramos nenhuma resenha nos lugares comuns.

Conteúdo

Introduction
1
Exercise 4
4
Getting Started with Python Scripting
27
List of Exercises
37
1
38
Basic Python
65
5
70
7
101
Fortran Programming with NumPy Arrays 431
430
1 Extend Exercise 5 1 with a callback to Python
459
1 Extend Exercise 5 2 or 5 3 with a callback to Python
498
8 Apply SWIG to an array class in C++
500
More Advanced GUI Programming
503
1 Incorporate a BLT graph widget in simviz1 py
515
11 Remove canvas items
542
12 Introduce properties in class Parameters
556

1
118
Numerical Computing in Python 121
120
Combining Python with Fortran C and C++
169
Introduction to GUI Programming
205
Web Interfaces and CGI Programming
275
Advanced Python
299
5 Experiment with a regex for real numbers
334
23 Readwrite x y pairs fromto binary files
352
27 Convert data structures tofrom strings
396
34 Make a boundary iterator in a 2D grid
421
Tools and Examples
579
1 Allow multiple values of parameters in input files
591
3 Move a wave source during simulation
646
A Setting up the Required Software Environment 649
648
B Elements of Software Engineering
665
Exercise B 1 Pack modules and packages using Distutils
672
Exercise B 3 Make a Python module of simviz1 py
710
Bibliography 715
714
Direitos autorais

Outras edições - Visualizar todos

Termos e frases comuns

Informações bibliográficas