Versions Compared

Key

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

Table of Contents
maxLevel2

NOTE: if you want to run ami2 on LCLS1 data, you can do it by generating an h5 file with the LCLS1 MPIDataSource.

...

For examples that load a predefined graph (.fc file, for "flow chart") you should see a window like this, while examples with no .fc file will have an empty area in the upper right:

TMO Examples

...

TMOTMOExample includes:

  • waveform viewing, ROI, integration and normalization of peak area
  • waveform peak finding, histogramming, and scaling of axes using a polynomial "calibration"

Code Block
ami-local -l /reg/g/psdm/tutorials/ami2/tmo/run43.fc hdf5:///reg/g/psdm/tutorials/ami2/tmo/run43.json

Cookiebox example

...

Code Block
ami-local hdf5:///reg/g/psdm/tutorials/ami2/tmo/amoi0314_run167.json
ami-local hdf5:///reg/g/psdm/tutorials/ami2/tmo/amoi0314_run171.json
ami-local hdf5:///reg/g/psdm/tutorials/ami2/tmo/amoi0314_run172.json
 
ami-local hdf5:///reg/g/psdm/tutorials/ami2/tmo/amo86815_run37.json
ami-local hdf5:///reg/g/psdm/tutorials/ami2/tmo/amo86815_run70.json
ami-local hdf5:///reg/g/psdm/tutorials/ami2/tmo/amo86815_run71.json
ami-local hdf5:///reg/g/psdm/tutorials/ami2/tmo/amo86815_run72.json
 json 

Quadanode example

...

Code Block
ami-local -l /reg/g/psdm/tutorials/ami2/tmo/amox27716-r0100.fc
 
ami-local hdf5:///reg/g/psdm/tutorials/ami2/tmo/amox27716_run78.json
ami-local hdf5:///reg/g/psdm/tutorials/ami2/tmo/amox27716_run100.json

POP example

...

Code Block
 ami-local -l /reg/g/psdm/tutorials/ami2/tmo/pop.fc

Peakfinder example

...

Code Block
ami-local -l /reg/g/psdm/tutorials/ami2/tmo/amox27716_run100.fc

XTCAV example

...

Code Block
ami-local -l /reg/g/psdm/tutorials/ami2/tmo/amox23616_run137.fc

Timetool example

...

 

Code Block
ami-local -l /reg/g/psdm/tutorials/ami2/tmo/amo64913_run185.fc

RIX

...

Examples

Example includes:

  • photon centroid finding on vertically binned Andor camera
  • linearity check of normalization (andor camera intensity vs. acqiris waveform intensity) with pearson-R calculation as a function of time

 

Code Block
 ami-local -l /reg/g/psdm/tutorials/ami2/neh2.2/run22.fc hdf5:///reg/g/psdm/tutorials/ami2/neh2.2/worker.json

Image Modified

Example includes:

  • Plot of integration of acqiris vs delay stage

Code Block
ami-local -l /reg/g/psdm/tutorials/ami2/neh2.2/sxrlr2916_run37.fc

...


Example includes:

  • 1d ROI of Andor
  • Normalization of ROI by integration of acqiris

Code Block
ami-local -l /reg/g/psdm/tutorials/ami2/neh2.2/sxrlr2916_run23.fc

Image Modified

Example includes:

  • Ratio of peak area and export over EPICS

Code Block
ami-local -e ami -l /reg/g/psdm/tutorials/ami2/neh2.2/sxrlq7615_run176.fc
pvlist localhost:5075
pvget ami:ana:graph:data:peak_area

...

XPP Example

 

Code Block
 ami-local hdf5:///reg/g/psdm/tutorials/ami2/xpp/xpp.json

Random Data

...

Examples

Calculator example

Example includes:

...

Code Block
 ami-local -l /reg/g/psdm/tutorials/ami2/random/calculator.fc random:///reg/g/psdm/tutorials/ami2/random/worker.json

Complex example


 Example includes:

  • binning based on conditional logic

...