Overview


ami-monitor is a web gui for ami that allows users to view plots in a browser. Its built using holoviews and panel. It currently supports the following plot types:

  • ScalarWidget
  • ObjectWidget
  • ImageWidget
  • HistogramWidget
  • Histogram2DWidget
  • ScatterWidget
  • WaveformWidget
  • LineWidget
  • TimeWidget

Starting ami-monitor

usage: ami-monitor [-h] [-H HOST] [-p PORT] [-l LISTEN_PORT] [-a ADDRESS]
                   [-g GRAPH_NAME] [--log-level LOG_LEVEL]
                   [--log-file LOG_FILE]

AMII GUI Client

optional arguments:
  -h, --help            show this help message and exit
  -H HOST, --host HOST  hostname of the AMII Manager (default: localhost)
  -p PORT, --port PORT  base port for AMI
  -l LISTEN_PORT, --listen-port LISTEN_PORT
                        http port for panel
  -a ADDRESS, --address ADDRESS
                        address name for panel
  -g GRAPH_NAME, --graph-name GRAPH_NAME
                        the name of the graph used (default: graph)
  --log-level LOG_LEVEL
                        the logging level of the application (default INFO)
  --log-file LOG_FILE   an optional file to write the log output to

To start ami-monitor specify the hostname and base port for AMI manager and optionally specify a graph name and listen port. You should then see a message like this:

[ 2021-11-17 13:52:40,773 | INFO    ] Starting monitor
INFO:bokeh.server.server:Starting Bokeh server version 2.4.1 (running on Tornado 6.1)
INFO:bokeh.server.tornado:User authentication hooks NOT provided (default user enabled)
Launching server at http://localhost:45563

Open in a browser http://localhost:45563 to begin viewing plots.

Hutch Links

TMO plots can be seen here (NOTE: the trailing slash is required):  https://pswww.slac.stanford.edu/ami/tmo/



  • No labels