Item description for Python Scripting for Computational Science (Texts in Computational Science and Engineering) by Hans Petter Langtangen...
The goal of this book is to teach computational scientists how to develop tailored, flexible, and human-efficient working environments built from small programs (scripts) written in the easy-to-learn, high-level language Python. The focus is on examples and applications of relevance to computational scientists: gluing existing applications and tools, e.g. for automating simulation, data analysis, and visualization; steering simulations and computational experiments; equipping old programs with graphical user interfaces; making computational Web applications; and creating interactive interfaces with a Maple/Matlab-like syntax to numerical applications in C/C++ or Fortran. In short, scripting with Python makes you much more productive, increases the reliability of your scientific work and lets you have more fun - on Unix, Windows and Macintosh. All the tools and examples in this book are open source codes. The third edition is compatible with the new NumPy implementation and features updated information, correction of errors, and improved associated software tools.
Promise Angels is dedicated to bringing you great books at great prices. Whether you read for entertainment, to learn, or for literacy - you will find what you want at promiseangels.com!
Est. Packaging Dimensions: Length: 9.4" Width: 6.3" Height: 1.3" Weight: 2.6 lbs.
Release Date Dec 21, 2005
ISBN 3540294155 ISBN13 9783540294153
Availability 0 units.
More About Hans Petter Langtangen
Hans Petter Langtangen currently resides in Oslo. Hans Petter Langtangen was born in 1962.
Reviews - What do customers think about Python Scripting for Computational Science (Texts in Computational Science and Engineering)?
Absolutly Outstanding May 2, 2008
Python Scripting for Computational Science is both an introduction to the Python language and an excellent reference for the intermediate developer. The approach taken by the author is to present the language in the form of tasks to be solved accompanied by example code. As expected for a book on scientific computing the modules covered in the examples emphasize numerical packages but this in no way detracts from the applicability to general Python enthusiast.
What really makes this book more than just another Python introduction is that the author bridges the gap between complied and interpreted code. He demonstrates how the speed of execution of compiled code can be tied to the rapid pace at which scripts can be developed. Examples are provided for interfacing C, C++ and FORTRAN code with Python. Calls to precompiled applications are also covered and the examples were easily adapted to my favorite computational tools. One of the risks with doing numerical work in a scripting language is the possibility of straying into computationally intensive tasks to which interpreted code is not well suited . Latter chapters discuss how to identify these portions of your code and how to migrating these tasks to a compiled language.
good book Apr 5, 2008
If you want to learn Python, you should get it. Author do not build some "big" application (like "internet store software" or "bookstore software") from beginning to end, but rather give you a lot of practical examples of using python.
It is not like in others book that examples include only learned functions/methods, but use topics from the rest of book (you have example on page 25 and note that explanation of this and that function you found on page 543). By that you have interesting examples to use in real-world problems, not only examples to explain freshly learned topic. In other books interesting examples of use python you found on page 3234, because only when author introduce all useful functions. In this book nice examples is even on first pages.
You learn how to use numerical packages (numpy) in python, using some useful tricks on lists and arrays, introduce to using graphical interface in Tk.
Get what you pay for and more if you work into it! Mar 17, 2008
I have both the 2nd and 3rd edition of the book. The book does have 'unexciting academic LaTeX format' which another reviewer pointed out, as is also true that one should 'NOT expect a cookbook of high performance algorithm implementations'. Rather, I would say that this is the type of book that algorithm-intense cookbooks could be made from.
The book has a lot to offer someone prepared to slosh through and dig in deep to the guts of the book. In this sense I found the book to lack a sense of conceptual significance, in that much of the mundane material of everyday programming receives the same level of detail that the more complex subjects do. So, it is often that I find myself skimming the trivial to find the core. Unfortunately, some of the core code elements and examples are compiled from a litany of trivialities and then it is necessary to go back and pick up the bits and pieces to make sense of where you are focusing on.
More often than not, the maze of obfuscation does lead to an interesting 'ah ha' and that makes the book worthwhile to me. I think the update from 2nd to 3rd editions is warranted, but should also have included a proper parsing of the chaff and a little creativity in layout would go a long way to making this book true reading material and a ready-by-your-side reference.
As it stands, I need to get in the right frame of mind to approach the book on even a casual encounter. But when I do, I am pleased with what I can take away from it and readily apply. The Tools and Examples section, which has high applicability to testing code, is very worthwhile but, again, is a little shaded as in viewing the forest from the trees.
strong computational emphasis Nov 13, 2006
Langtangen's emphasis here is on a reader who comes from a strong background in engineering or science, and is familiar with common computational ideas and has done some programming, but not necessarily in Python. The typical book on Python is aimed at a general programming reader, and the examples in such a book usually are quite elementary, from a computational viewpoint.
The merit of Langtangen's book is that he gets into a lot of computational ideas. This is not a trivial book. Aspects like parsing data in files, connecting to local and remote hosts, and interacting with programs written in other languages are covered. For the latter, the important cases of Fortran and C programs are explained. The choices of these languages is deliberate. In science and engineering, they are the dominant languages for raw computation. And you are likely to have legacy code written in these, that you cannot abandon while using Python.
Great Suppliment to Numerical methods Jul 25, 2006
When I first got ahold of this book I had just finished learning all the gory details of good numerical codes. But when developing tests for simple cases I found that development went way too slow, so someone suggested I learn Python. This book provides a great demonstration of how python can supplement your existing codes. Either by organizing the tests, formatting output, or just adding pretty interfaces.
This book contains a lot of the necessary extras that a scientist or engineer must do to get his work going or finished, which is too pedantic to be taught in most courses. It shows the power of Python over some other scripting languages for this purpose. It is definitely one of the best references on my book shelf.