High Level Applications

Who We Are

The TRIUMF High Level Applications (HLA) project aims to create a positive feedback loop where scientific knowledge refines our beamline tuning and development; real-world experience drives our scientific pursuits.

The HLA team consists of a handful of TRIUMF staff: physicists, coordinators, operators, and students who collaboratively develop applications, scripts and machines.

Goals

The overall goal of the HLA project is to reduce facility overhead while improving the quality and reliability of the delivered beams at TRIUMF.

We have two main objectives that work towards this overarching goal:

  • Develop and maintain the suite of tools that compose the HLA framework
  • Develop and maintain a limited number of core tuning applications

Disclaimer

HLA is not a service group. The HLA framework is available to those who are interested, so that they may develop their own software, following the expected best practices. The HLA team commits to providing newcomers the requisite training to understand and use the platform, in the form of both online training sessions and documentation.

Learning

Interested/new developers should go here for more information.

Further Reading

An overview of the history of the HLA endeavour and the ideology behind it, can be found here.

Core Apps

These HLAs are our core tuning and machine development tools.

tuneX

  • Loading and scaling of optics settings to EPICS, as well as comparison between live setpoints and saved settings.
  • Contact: Spencer Kiy
  • Launch
  • Gitlab
  • Wiki

MCAT

  • Model Coupled Accelerator Tuning with TRANSOPTR; a digital twin of the linac and beamlines used for machine tuning and diagnosis.
  • Contact: Olivier Shelbaya
  • Launch
  • Gitlab
  • Wiki

snapshot

  • Automated tune recording with diagnostics processing and performance monitoring.
  • Contact: Blair Stringer
  • Launch
  • Gitlab
  • Wiki

envelope

Framework

These are the core packages and services that power HLAs.

jaya

  • Gateway for read/write-access to devices.
  • Contact: Spencer Kiy

acc

  • XML database describing TRIUMF beamlines including optics and the control system.
  • Contact: Olivier Shelbaya

accpy

  • Python package for interacting with acc database.
  • Contact: Spencer Kiy

apex

  • Python package providing flask templates for web apps, providing the uniform look and feel.
  • Contact: Paul Jung

xml2optr

  • Python package that converts xml files from acc database to TRANSOPTR optics simulations.
  • Contact: Paul Jung

Our Technology Stack

Card image cap

Flask is a micro web framework for building sleek web pages in Python. The backend of all HLA web applications are built using Flask.

Card image cap

Bootstrap is a UI Component library for building responsive, modern web interfaces. This page, like most HLAs is composed of Bootstrap HTML components to achieve a uniform look and feel.

Card image cap

jQuery is a JavaScript library providing cross-compatible and powerful client side scripting utilities. A lot of the complicated front end logic in apps like envelope is accomplished using jQuery.

Card image cap

Python is the GOTO language for scientific scripting and plotting. Writing our backend logic, scripts and utilities in Python gives us access to world class data processing and scientifc libraries.

Card image cap

Plotly is is an open source JavaScript plotting library that powers most of our data visualization.

Facility Specific Apps

These are apps developed to address a special need for a facility.

Ramping of the main cyclotron magnet
Contact: Paul Jung
Visualize cyclotron trim coil settings
Contact: Kevin Lucow
Misc. Displays for Driver Ops
Contact: Kevin Lucow
Cyclotron Probes
Plot data from radial probes
Contact: Thomas Planche

In Active Development

These apps are likely in some incomplete stage of development, but are still being worked on.

For ramping and degaussing dipoles.
Contact: Spencer Kiy
Scanning of magnets for visualization and analysis of charge state spectra.
Contact: Brad Schultz
Various tools for monitoring and controlling CANREB systems
Contact: Brad Schultz
Contains the steerer app and the e-linac calculator E-Linac Tools. The steerer app measures the influence of any steerer on the beam by measuring bpm positions.
Contact: Stephanie Radel

Not In Active Development

These apps are likely in some incomplete stage of development, and are not actively supported.

Plotting of PVs in a browser window.
Contact: Spencer Kiy
Misc. Displays for RIB Ops
Contact: Nina He
emittance
Display & analyse data from emittance measurements
Contact: Brad Shultz
Graphic representation of beamlines/devices at TRIUMF
Contact: Spencer Kiy
Quad scans and phase space reconstruction for beam emittance measurements.
Contact: Olivier Shelbaya

Contact Us

  • hla@triumfoffice365.onmicrosoft.com
  • E-faults can be submitted here to group 'High Level Apps'
  • Feature requests can be submitted for the individual project on Gitlab, using the links above, or more generally to the HLA group here

Get Started

  • Users with a TRIUMF e-mail can signup for a Gitlab account here
  • External users must email to be added as a gitlab user
  • Training information can be found here