added docstring for PatternGenerator.channels()