skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Python and MATLAB interfaces to RHIC controls data

Authors:
; ; ; ; ; ;
Publication Date:
Research Org.:
Brookhaven National Laboratory (BNL), Upton, NY (United States)
Sponsoring Org.:
USDOE Office of Science (SC), Nuclear Physics (NP) (SC-26)
OSTI Identifier:
1399674
Report Number(s):
BNL-113754-2017-CP
R&D Project: KBCH139; 18070; KB0202011
DOE Contract Number:
SC0012704
Resource Type:
Conference
Resource Relation:
Conference: 16th International Conference on Accelerator and Large Experimental Physics Control Systems (ICALEPCS 2017); Barcelona, Spain; 20171008 through 20171013
Country of Publication:
United States
Language:
English
Subject:
43 PARTICLE ACCELERATORS

Citation Formats

Brown K., D Ottavio, T., Fu, W., Nemesure, S., Marusic, A., Morris, J., and Sukhanov, A.. Python and MATLAB interfaces to RHIC controls data. United States: N. p., 2017. Web.
Brown K., D Ottavio, T., Fu, W., Nemesure, S., Marusic, A., Morris, J., & Sukhanov, A.. Python and MATLAB interfaces to RHIC controls data. United States.
Brown K., D Ottavio, T., Fu, W., Nemesure, S., Marusic, A., Morris, J., and Sukhanov, A.. 2017. "Python and MATLAB interfaces to RHIC controls data". United States. doi:. https://www.osti.gov/servlets/purl/1399674.
@article{osti_1399674,
title = {Python and MATLAB interfaces to RHIC controls data},
author = {Brown K. and D Ottavio, T. and Fu, W. and Nemesure, S. and Marusic, A. and Morris, J. and Sukhanov, A.},
abstractNote = {},
doi = {},
journal = {},
number = ,
volume = ,
place = {United States},
year = 2017,
month =
}

Conference:
Other availability
Please see Document Availability for additional information on obtaining the full-text document. Library patrons may search WorldCat to identify libraries that hold this conference proceeding.

Save / Share:
  • 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 differentmore » 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.« less
  • Abstract not provided.
  • Abstract not provided.
  • The controls software in use at PEP II (Stanford Control Program - SCP) had originally been developed in the eighties. It is very successful in routine operation but due to its internal structure it is difficult and time consuming to extend its functionality. This is problematic during machine development and when solving operational issues. Routinely, data has to be exported from the system, analyzed offline, and calculated settings have to be reimported. Since this is a manual process, it is time consuming and error-prone. Setting up automated processes, as is done for MIA (Model Independent Analysis), is also time consumingmore » and specific to each application. Recently, there has been a trend at light sources to use MATLAB as the platform to control accelerators using a 'MATLAB Middle Layer' (MML), and so called channel access (CA) programs to communicate with the low level control system (LLCS). This has proven very successful, especially during machine development time and trouble shooting. A special CA code, named AIDA (Accelerator Independent Data Access), was developed to handle the communication between MATLAB, modern software frameworks, and the SCP. The MML had to be adapted for implementation at PEP II. Colliders differ significantly in their designs compared to light sources, which poses a challenge. PEP II is the first collider at which this implementation is being done. We will report on this effort, which is still ongoing.« less
  • For the past twelve years experiments at the Relativistic Heavy Ion Collider (RHIC) have recorded data from collisions of heavy ions and polarized protons, leading to important discoveries in nuclear physics and the spin dynamics of quarks and gluons. BNL is the site of one of the first and still operating alternating gradient synchrotrons, the AGS, which first operated in 1960. The accelerator controls systems for these instruments span multiple generations of technologies. In this report we will describe the current status of the Collider-Accelerator Department controls systems, which are used to control seven different accelerator facilities and multiple sciencemore » programs (high energy nuclear physics, high energy polarized proton physics, NASA programs, isotope production, and multiple accelerator research and development projects). We will describe the status of current projects, such as the just completed Electron Beam Ion Source (EBIS), our R&D programs in superconducting RF and an Energy Recovery LINAC (ERL), innovations in feedback systems and bunched beam stochastic cooling at RHIC, and plans for future controls system developments.« less