Patternanalysis