Versions Compared

Key

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

...

Panel
titleTry:
Code Block
none
none
xtcexplorer /reg/d/psdm/xpp/xppi0310/xtc/e81-r0098-s0*
  • Then hit the "Scan File(s)" button (can you find it?!?)
  • What do you see? Compare the GUI that pops up, with the output in the terminal window.
  • Checkmark the IPM3 checkbox ('XppSb3Ipm=1|Ipimb-0')
    • hit the 'Write configuration to file' button,
    • hit the 'Run pyana' button
    • hit 'OK' and wait till a plot pops up... Close the window and wait again...
    • hit the 'Quit pyana' button
    • go to the 'General Settings' tab and switch Display mode to 'SlideShow'
    • go back to 'General Settings' again and change the number of events to accumulate to 240
    • hit the 'Write configuration to file' and 'Run pyana' buttons again (as well as 'OK' when that pops up). Stare at the plot for a while...

The xtcexplorer has several shortcomings. It tries to be very generic, and thus is sometimes slower than it would have to be. It is also currently only capable of plotting from a single device in each plot, so many correlation plots will need to be added by hand. For some more useful analysis examples, in the following we'll stick to writing customized pyana modules and running pyana from the command line.

...

titleTry something else:
Panel
titleTry something else:
Code Block
none
none

addpkg XtcExplorer
scons
xtcexplorer /reg/d/psdm/xpp/xppi0310/xtc/e81-r0098-s0*

Now you have a local version of the XtcExplorer package in your directory. That allows you to edit the
source code and customize the analysis modules in the XtcExplorer/src directory.

  • hit 'Scan File(s)' again
  • Checkmark the IPM3 checkbox ('XppSb3Ipm=1|Ipimb-0')
  • hit the 'Write configuration to file' button,
  • hit the 'Run pyana' button
  • hit 'OK' and wait till a plot pops up... Close the window and wait again...
  • hit the 'Quit pyana' button
  • go to the 'General Settings' tab and switch Display mode to 'SlideShow'
  • go back to 'General Settings' again and change the number of events to accumulate to 240
  • hit the 'Write configuration to file' and 'Run pyana' buttons again (as well as 'OK' when that pops up). Stare at the plot for a while...

The xtcexplorer has several shortcomings. It tries to be very generic, and thus is sometimes slower than it would have to be. It is also currently only capable of plotting from a single device in each plot, so many correlation plots will need to be added by hand. However, it is a simple tool to just look at the data contents, and provides many examples through its pyana modules.

For some more useful analysis examples, in the following we'll stick to writing customized pyana modules and running pyana from the command line

...


addpkg XtcExplorer
scons
xtcexplorer /reg/d/psdm/xpp/xppi0310/xtc/e81-r0098-s0*

Now you have a local version of the XtcExplorer package in your directory. That allows you to edit the
source code and customize the analysis modules in the XtcExplorer/src directory.

Extracting the data with pyana, some examples

...