Versions Compared

Key

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

...

  • Data is extracted using the LCLS framework pyana or psana.
  • GUI is implemented on PyQt,
  • visualization of data uses matplotlib,
  • data processing algorithms are accelerated by NumPy and SciPy libraries.

...

This tutorial follows to the Manual XTC Explorer - Old, shows how to set up environment, start xtcexplorer, explore content of the xtc file, interactively create/edit configuration file for pyana/psana, run it interactively and in the command line, etc.

Set up environment

  • See for details Analysis Workbook. Account Setup
  • Log onto any machine of the interactive pools psananeh (for AMO, XPP, SXR data) or psanafeh (for XCS, CXI, MEC data):
    Code Block
    ssh -Y pslogin
    ssh psananeh
    or
    ssh psanafeh
    
  • Once per session execute one of the following scripts
    • for bash shell:
      Code Block
      . /reg/g/psdm/etc/sit_env.sh
      
    • or for csh shell:
      Code Block
      source /reg/g/psdm/etc/sit_env.csh
      
  • You should always run this application from your own release working directory:
    Code Block
        newrel ana-current my_tutorial_release;
        cd my_tutorial_release;
        sit_setup; 
    
    At this point you are ready to go.

...

These modules can be used in configuration file with parameters described in XTC Explorer - Old#The pyana modules.

What to use pyana or psana?

...

Framework interfaces in pyana and psana modules are slightly different, that is explained in
Migration from pyana to psana

Note

psana should be your preferable choise!

References

XTC Explorer - Old
HDF5 Explorer - Old
Pyana User Manual
Migration from pyana to psana

Python
PyQt
matplotlib
NumPy
SciPy