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

# Class AlphaGratingCommon

source code

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

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

    This class is currently not used by any other classes.

    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'),})