...
Info | ||
---|---|---|
| ||
The offlineami tool allows you to display images from detectors seen in the daq. It displays only runs which have ended, not an ongoing run. In this sense it is a post-run player that gives you a quick overview of your data and lets you browse the different runs. |
Table of Contents
Prerequisites
Interactive remote environment
You will need an interactive ssh-based environment. We recommend NoMachine for all platforms, but unix-based operating systems are able to provide this interactive environment using cross-platform tools such as XQuartz for MacOS.
...
Add the offlineami function:
Code Block |
---|
# Function to run offline AMI. Takes experiment name as parameter. |
...
function offlineami() |
...
{ |
...
/reg/g/pcds/dist/pds/ami-current/build/ami/bin/x86_64-rhel7-opt/offline_ami -p /reg/d/psdm/mec/$1 |
...
} |
You can now save the file and close the text editor.
Use a text editor to open your .bash_profile file, for example:
Code Block | ||
---|---|---|
| ||
> gedit .bash_profile |
We recommend the following definitions:
Code Block |
---|
# .bash_profile |
...
# Get the aliases and functions |
...
if [ -f ~/.bashrc ]; then |
...
. ~/.bashrc |
...
fi |
...
# User specific environment and startup programs |
...
export PATH=$PATH:$HOME/bin |
You can now save the file and close the text editor.
To avoid restarting the connection, you can use the following command that will apply the latest modification (once you have applied the procedure in this section, you do not need to apply it again):
Code Block | ||
---|---|---|
| ||
> source .bashrc |
Launching offlineami
Accessing the psana server
From a remote console (psnxserv or pslogin), start a connection to the psana server:
Code Block | ||
---|---|---|
| ||
> ssh psana |
Launching offlineami
Launch the offlineami tool:
Code Block |
---|
> offlineami |
Two interactive windows will pop up:
- Env
- PS-Mon
Displaying data
Selecting the dataset of your experiment
In the PS-Mon window, click on Change and a window will pop up.
...