VisionEgg.Gratings.LuminanceGratingCommon

Package VisionEgg :: Module Gratings :: Class LuminanceGratingCommon |
[frames] | no frames]

# Class LuminanceGratingCommon

source code

             object --+
                      |
    ClassWithParameters --+
                          |
              Core.Stimulus --+
                              |
                             LuminanceGratingCommon

    Base class with common code to all ways of drawing luminance gratings.

    Parameters
    ==========
    bit_depth -- precision with which grating is calculated and sent to OpenGL (UnsignedInteger)
                 Default: 8

Instance Methods
calculate_bit_depth_dependencies(self) Calculate a number of parameters dependent on bit depth. | source code
Inherited from `Core.Stimulus`: `__init__`, `draw` Inherited from `ClassWithParameters`: `__getstate__`, `__setstate__`, `get_specified_type`, `is_constant_parameter`, `set`, `verify_parameters` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables
| parameters_and_defaults = `VisionEgg.ParameterDefinition({'bit_`...``
Inherited from `ClassWithParameters`: `__safe_for_unpickling__`, `constant_parameters_and_defaults`

Properties
Inherited from `object`: `__class__`

Class Variable Details

  ### parameters_and_defaults Value:
      VisionEgg.ParameterDefinition({'bit_depth':(8, ve_types.UnsignedIntege
      r, 'precision with which grating is calculated and sent to OpenGL'),})