Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


This site documents the usage of "psana python", which is software that can be used to analyze LCLS data.  Using relatively simple python code, it is possible to analyze LCLS data in parallel on hundreds of CPU cores, both offline and in real-time while data is being taken. NOTE: the graphical LCLS analysis tool AMI is used for many routine real-time monitoring plots.  psana-python is typically used for real-time analysis that cannot be done in AMI and for offline analysis.

This video (53 minutes, made on Dec. 15, 2022) can also be used as an introduction to LCLS data analysis:

View file

Getting Started

Before getting started, please consider if the LCLS supported frameworks will work for you. Due to the complexity of our systems and the changing nature of our hardware and setup, there some non-negligible overhead in writing your own analysis code at the psana-level.


To get started with a simple 17-line introductory script, and see a list of psana features click here.  This link also shows you how to login to the analysis computers.