Module braun_gui
source code
|
opj(path)
Convert paths to the platform-specific separator |
source code
|
|
|
|
|
|
|
compact_number(number,
digits)
Return a number as a string compacted to a given number of digits |
source code
|
|
|
WXVER = ' 2.8 '
|
|
app = wx.PySimpleApp()
|
|
retval = wx.MessageBox("This software is optimised for wxPytho...
|
|
WX_GE_2_8 = True
|
|
errorText = "The FloatCanvas requires the numpy module, versio...
|
|
EVT_UPDATE_GRAPH = <wx._core.PyEventBinder object at 0x8b899ac>
|
Imports:
wxversion,
webbrowser,
wx,
random,
N,
NavCanvas,
FloatCanvas,
thread,
namespace,
osc_server,
is_nan,
inf,
nan,
main,
OscServer,
is_finite,
sys,
Receiver,
Queue,
threading,
LINE_WIDTH,
ANTIALIASED_LINES,
SMOOTHING,
MAX_LINES,
GRAPH_WIDTH,
N_TICS,
OSC_SERVER_PORT,
ID_ZOOM_TO_FIT,
GLOBAL_MINIMUM,
TIC_SCALE_MULTIPLIER,
NAMESPACE_X_HOPSIZE,
SCALE_BOTTOM,
RING_BUFFER_SIZE,
NAMESPACE_NUMBER_PADDING,
GLOBAL_MAXIMUM,
SCALE_Y_OFFSET,
VERSION,
SCALE_X_OFFSET,
FPS,
FONT_SIZE,
SCALE_TOP,
SCALE_MULTIPLIER,
TIC_DISTANCE,
LINE_OPACITY,
Y_AXIS_NUMBER_PRECISION,
SCALE_RANGE,
BUFFERSIZE,
NAMESPACE_X_OFFSET,
NAMESPACE_Y_OFFSET,
braun_help,
Address,
AddressError,
Bundle,
Message,
Server,
ServerError,
ServerThread,
UpdateLineEvent,
make_method,
send,
time
returns an n period moving average for the time series s
s is a list ordered from oldest (index 0) to most recent (index -1) n
is an integer
returns a numeric array of the moving average
|
retval
- Value:
wx.MessageBox("This software is optimised for wxPython version %s, but
you don't appear to have it installed.\nWould you like to install the
latest version?" % WXVER, "wxPython Version Error", style= wx.YES_NO)
|
|
errorText
- Value:
"The FloatCanvas requires the numpy module, version 1.* \n\n" "You can
get info about it at:\n" "http://numpy.scipy.org/\n\n"
|
|