Result: Using Python to Develop Graphical Interfaces to Scientific Data

Title:
Using Python to Develop Graphical Interfaces to Scientific Data
Contributors:
United States. Department of Energy. Office of the Assistant Secretary for Defense Programs.
Source:
Eighth International Python Conference, Alexandria, VA (US), 01/24/2000--01/27/2000
Publisher Information:
Lawrence Livermore National Laboratory
Publication Year:
1999
Collection:
University of North Texas: UNT Digital Library
Document Type:
Academic journal article in journal/newspaper
File Description:
1255 Kilobytes pages; Text
Language:
English
Relation:
osti: 756952; https://digital.library.unt.edu/ark:/67531/metadc703473/; ark: ark:/67531/metadc703473
Accession Number:
edsbas.32312CA7
Database:
BASE

Further Information

At Lawrence Livermore National Laboratory (LLNL), Python has proven to be a convenient language for the development of graphical user interfaces (GUIs) which allow scientists to view, plot, and analyze scientific data. Two such applications are described in this paper. The first, EOSView, is a browser application for an equation of state data library at LLNL. EOSView is used by scientists throughout the laboratory who use simulation codes that access the data library, or who need equation of state data for other purposes. EOSView provides graphical visualization capabilities, as well as the capability to analyze the data in many different ways. The second application, Zimp, is a GUI that allows interactive use of the Stark Line Shape Database. It is used to access and plot data. The quick construction of Zimp from elements of the EOSView code provides a useful lesson in code reuse, and illustrates how the object-oriented nature of Python facilitates this goal. In general, Python has proven to be an appropriate choice of language for applications of this type for several reasons, including the easy access to GUI functionality provided by Tkinter, the ease with which C functions can be called from Python, and the convenient handling of strings in Python. Moreover, the features of the Python language, combined with the fact that it is interpreted rather than compiled, have allowed for extremely quick prototyping.