Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Using Python to Develop Graphical Interfaces to Scientific Data

Conference ·
OSTI ID:756952

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.

Research Organization:
Lawrence Livermore National Lab., CA (US)
Sponsoring Organization:
USDOE Office of Defense Programs (DP) (US)
DOE Contract Number:
W-7405-ENG-48
OSTI ID:
756952
Report Number(s):
UCRL-JC-135877; DP0101031; DP0101031
Country of Publication:
United States
Language:
English

Similar Records

A new browser for the visualization of equation of state data
Conference · Fri Jun 25 00:00:00 EDT 1999 · OSTI ID:9883

Gist: A scientific graphics package for Python
Conference · Wed May 08 00:00:00 EDT 1996 · OSTI ID:249250

Sirepo for Synchrotron Radiation Workshop
Software · Tue Oct 25 00:00:00 EDT 2016 · OSTI ID:1333533