RTC Status Display peeko

The peeko client is run on a “remote” machine (usually the operators console). It connects to shaneao's data server running on the real-time computer via a socket connection. It displays the WFS raw data, subap intensities, and the woofer and tweeter commands.

Start up the client from the home directory on the host computer:

peeko

Commands to peeko are typed at the terminal. The command names are exposed at the top level, so there is no need to type the leading peeko_client2. string. Python demands however that you type the trailing () string on commands, even if there are no arguments.

peeko_client2.crib(item=None)

Quick help: help() lists all the commands with brief description. help(item) to get help on a particular command

peeko_client2.start()

start the peeko display

peeko_client2.sethost(ahost=None)

set or query the server host machine name sethost(‘?”) returns a list of valid server names

peeko_client2.update(p=None)

set or query the display update rate update(milliseconds) - set the rate update() - print the current rate

peeko_client2.zoom()

set the wfs and inten displays to zoomed, that is, showing only the portion of the wfs camera array illuminated by the pupil.

peeko_client2.unzoom()

set the wfs and inten displays to unzoomed - i.e. showing the entire wfs camera array

peeko_client2.cmap(win='all', cmap=None)

change the color map for a particular display usage: cmap() prints the current color maps as set for each window cmap(‘?’) prints lists of the valid windows and color maps cmap(cmap) changes all windows to the given color map cmap(win) prints the current color map for the given window cmap(win,cmap) changes the color map for the given window

Internal Class

class peeko_client2.dwindow(kind, sub)

A display-window within the peeko window. The peeko window is presently set up as a 2x2 window display of raw wfs image, subap intensities, tweeter commands, woofer commands. Each of these has parameters such as range, color-map, and zoom.

self = dwindow(kind) where kind is one of ‘wfs’,’inten’,’a’,’aw’