Skip to content

Commit

Permalink
Changes way of importing the module.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermoaguilar committed Nov 17, 2014
1 parent 7b604da commit f997054
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
## Stimuli ##

Contains submoduls for
Contains submodules for
- creating different lightness illusions (lightness)
- creating different textures (texture)
- some helper functions for padding, resizing, computing Munsell values, and
Expand Down
22 changes: 19 additions & 3 deletions __init__.py
@@ -1,8 +1,24 @@
"""
Generation of stimuli for various psychophysical experiments
Use example:
> from stimuli.lightness import cornsweet
> cornsweet(...)
or
> from stimuli import lightness
> lightness.cornsweet(...)
Available submodules:
- lightness
- texture
- utils
"""

import lightness
import texture
import utils
#import lightness
#import texture
#import utils
4 changes: 2 additions & 2 deletions texture/__init__.py
Expand Up @@ -3,5 +3,5 @@
"""

import bricks, mondrian, random_circles
from spatialprocess import hardcore
#import bricks, mondrian, random_circles
#from spatialprocess import hardcore

0 comments on commit f997054

Please sign in to comment.