Versions Compared

Key

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

...

Often an analysis wants to treat events differently based upon something in the data.  A common example is the presence of an eventcode, which may indicate the firing of a pump laser or some other condition.  If the selection logic is put into a PythonEditor box, then the editor box should return python's None object to indicate the event flow is to be terminated here; returning a value (even 0) causes the flow to continue with that value and possibly weighting your statistics in unexpected ways.  An example flowchart and PythonEditor box is shown below.  Other boxes can also handle filtering with their "conditional" attributes.

Configuring Plots

Many features of plots can be controlled from the "wrench" icon in the upper-left of AMI plots.  This menu allows you to do things like:

  • control auto-ranging
  • plot title
  • log scale
  • add multiple user-defined "annotations" to plots (e.g. crosses, circles, squares, lines) by clicking on the "wrench" icon on the top left of ami plots.  For example, here we have added a "plus-sign" annotation on top of an image at coordinates (20,20):

Image Added


Loading Data in AMI

There are three different ways to load data in AMI, either through using the gui, providing a json file, or by passing command line arguments. The different methods are described below.

...