sas.sasview package

Submodules

sas.sasview.custom_config module

Application appearance custom configuration

sas.sasview.local_config module

Application settings

sas.sasview.local_config.printEVT(message)[source]

sas.sasview.sasview module

Base module for loading and running the main SasView application.

class sas.sasview.sasview.SasView[source]

Bases: object

Main class for running the SasView application

check_sasmodels_compiler()[source]

Checking c compiler for sasmodels and raises xcode command line tools for installation

sas.sasview.sasview.run_cli()[source]
sas.sasview.sasview.run_gui()[source]

__main__ method for loading and running SasView

sas.sasview.sasview.setup_logging()[source]
sas.sasview.sasview.setup_mpl(backend=None)[source]
sas.sasview.sasview.setup_sasmodels()[source]

Prepare sasmodels for running within sasview.

sas.sasview.sasview.setup_wx()[source]

sas.sasview.welcome_panel module

Welcome page

class sas.sasview.welcome_panel.ViewApp(redirect=False, filename=None, useBestVisual=False, clearSigInt=True)[source]

Bases: wx._core.App

Test application

OnInit()[source]
class sas.sasview.welcome_panel.WelcomeFrame(parent, id, title)[source]

Bases: wx._windows.Frame

Test frame

class sas.sasview.welcome_panel.WelcomePage(parent, *args, **kwds)[source]

Bases: wx.lib.scrolledpanel.ScrolledPanel

Panel created like about box as a welcome page Shows product name, current version, authors, and link to the product page.

CENTER_PANE = True
set_data(data=None)[source]
window_caption = 'Welcome panel'
window_name = 'default'
class sas.sasview.welcome_panel.WelcomePanel(parent, *args, **kwds)[source]

Bases: wx.aui.AuiNotebook, sas.sasgui.guiframe.panel_base.PanelBase

Panel created like about box as a welcome page Shows product name, current version, authors, and link to the product page.

CENTER_PANE = True
get_frame()[source]
on_close_page(event)[source]

Called when the welcome panel is closed

set_data(data=None)[source]
set_frame(frame)[source]
set_manager(manager)[source]

the manager of the panel in this case the application itself

window_caption = 'Welcome panel'
window_name = 'default'

sas.sasview.wxcruft module

class sas.sasview.wxcruft.CallLater(millis, callableObj, *args, **kwargs)[source]

A convenience class for wx.Timer, that calls the given callable object once after the given amount of milliseconds, passing any positional or keyword args. The return value of the callable is availbale after it has been run with the GetResult method.

If you don’t need to get the return value or restart the timer then there is no need to hold a reference to this object.

See:wx.CallAfter
GetInterval()[source]
GetResult()[source]
HasRun()[source]
Interval
IsRunning()[source]
Notify()[source]

The timer has expired so call the callable.

Restart(millis=None, *args, **kwargs)

(Re)start the timer

Result
SetArgs(*args, **kwargs)[source]

(Re)set the args passed to the callable object. This is useful in conjunction with Restart if you want to schedule a new call to the same callable object but with different parameters.

Start(millis=None, *args, **kwargs)[source]

(Re)start the timer

Stop()[source]

Stop and destroy the timer.

class sas.sasview.wxcruft.FutureCall(millis, callableObj, *args, **kwargs)[source]

Bases: sas.sasview.wxcruft.CallLater

A compatibility alias for CallLater.

sas.sasview.wxcruft.NewId()[source]
class sas.sasview.wxcruft.PyTimer(notify, *args, **kw)[source]

Bases: wx._misc.Timer

Notify()[source]
sas.sasview.wxcruft.call_later_fix()[source]
sas.sasview.wxcruft.trace_new_id()[source]

Module contents