VisionEgg

Package VisionEgg |
[frames] | no frames]

# Package VisionEgg

source code

    The Vision Egg package.

    The Vision Egg is a programming library (with demo applications) that
    uses standard, inexpensive computer graphics cards to produce visual
    stimuli for vision research experiments.

    Today's consumer computer graphics cards, thanks to the demands of
    computer gamers, are capable of drawing and updating computer graphics
    suitable for producing research-quality visual stimuli. The Vision Egg
    allows the vision scientist (or anyone else) to program these cards
    using OpenGL, the standard in computer graphics
    programming. Potentially difficult tasks, such as initializing
    graphics, getting precise timing information, controlling stimulus
    parameters in real-time, and synchronizing with data acquisition are
    greatly eased by routines within the Vision Egg.

    See the 'Core' module for the fundamental Vision Egg classes.

Version: 1.1.dev

Submodules
VisionEgg.Configuration: Load config values from environment, config file, or defaults. VisionEgg.Core: Core Vision Egg functionality. VisionEgg.Daq: Definition of data acquisition and triggering interfaces. VisionEgg.DaqKeyboard: Data acquisition and triggering over the keyboard. VisionEgg.DaqLPT: Data acquisition and triggering over the parallel port. VisionEgg.Deprecated: Bits of code which will be removed in the future. VisionEgg.Dots: Random dot stimuli. VisionEgg.FlowControl: Flow control for the Vision Egg. VisionEgg.GL: Vision Egg GL module -- lump all OpenGL names in one namespace. VisionEgg.GLTrace: Trace calls to OpenGL With this module, you can trace all calls made to OpenGL through PyOpenGL. VisionEgg.GUI: Graphical user interface classes and functions. VisionEgg.Gratings: Grating stimuli. VisionEgg.MoreStimuli: Assorted stimuli. VisionEgg.ParameterTypes: Type checking for the Vision Egg. VisionEgg.PlatformDependent: Implementations of functions which vary by platform. VisionEgg.PyroApps: VisionEgg subpackage providing support for demo applications based on Pyro VisionEgg.PyroApps.AST_ext VisionEgg.PyroApps.ColorCalGUI: Handle luminance and color calibration stimulus (client-side) VisionEgg.PyroApps.ColorCalServer: Handle luminance and color calibration stimulus (server-side) VisionEgg.PyroApps.DropinGUI VisionEgg.PyroApps.DropinServer VisionEgg.PyroApps.EPhysGUI VisionEgg.PyroApps.EPhysGUIUtils VisionEgg.PyroApps.EPhysServer VisionEgg.PyroApps.FlatGratingGUI: Handle sinusoidal gratings (client-side) VisionEgg.PyroApps.FlatGratingServer: Handle sinusoidal gratings (server-side) VisionEgg.PyroApps.GridGUI VisionEgg.PyroApps.GridServer VisionEgg.PyroApps.MouseTargetGUI: Handle mouse controlled small target stimulus (client-side) VisionEgg.PyroApps.MouseTargetServer: Handle mouse-controlled small targets (server-side) VisionEgg.PyroApps.ScreenPositionGUI: Handle 3D perspective projection (client-side) VisionEgg.PyroApps.ScreenPositionServer: Handle 3D perspective projection (server-side) VisionEgg.PyroApps.SphereGratingGUI: Handle perspective-distorted sinusoidal gratings (client-side) VisionEgg.PyroApps.SphereGratingServer: Handle perspective-distorted sinusoidal gratings (server-side) VisionEgg.PyroApps.SpinningDrumGUI VisionEgg.PyroApps.SpinningDrumServer VisionEgg.PyroApps.TargetGUI: Handle small target stimulus (client-side) VisionEgg.PyroApps.TargetServer: Handle small targets gratings (server-side) VisionEgg.PyroApps.VarTypes VisionEgg.PyroClient: Python Remote Objects support - Client side. VisionEgg.PyroHelpers: Python Remote Objects support. VisionEgg.QuickTime: QuickTime movies in the Vision Egg. VisionEgg.ResponseControl: Response control during a presentation is running. VisionEgg.SphereMap: Stimuli on spheres, including texture maps. VisionEgg.TCPController: Allows control of parameter values over the network. VisionEgg.Text: Text stimuli. VisionEgg.Textures: Texture (images mapped onto polygons) stimuli. VisionEgg.ThreeDeeMath: Vertex and matrix operations - simulate OpenGL transforms. VisionEgg.WrappedText: Module containing the Multi-line text stimulus class WrappedText, as well as a simple example of its use. VisionEgg.darwin_getrefresh VisionEgg.gl_qt VisionEgg.posix_maxpriority VisionEgg.qtlowlevel VisionEgg.qtmovie: high level QuickTime Movie wrapper VisionEgg.win32_getrefresh VisionEgg.win32_maxpriority

Classes
| Parameters Parameter container.
| ParameterDefinition Define parameters used in ClassWithParameters...
| ClassWithParameters Base class for any class that uses parameters.

Functions
start_default_logging(maxBytes=100000) Create and add log handlers | source code
watch_exceptions() Catch exceptions, log them, and optionally open GUI. | source code
stop_watching_exceptions() Stop catching exceptions, returning to previous state. | source code
recursive_base_class_finder(klass) A function to find all base classes. | source code
time_func_locked_to_frames() | source code
set_time_func_to_true_time() | source code
set_time_func_to_frame_locked() | source code
timing_func() DEPRECATED. | source code
get_type(value) | source code
assert_type(*args) | source code

Variables
| release_name = `'1.1.dev'`
| config = `VisionEgg.Configuration.Config()`
| log_formatter = `logging.Formatter('%(asctime)s (%(process)d) %`...``
| logger = `logging.getLogger('VisionEgg.Configuration')`
| true_time_func = `time.time`
| time_func = `time.time`

Function Details

### timing_func() | source code
    DEPRECATED.  Use time_func instead

Variables Details

  ### log_formatter Value:
      logging.Formatter('%(asctime)s (%(process)d) %(levelname)s: %(message)
      s')