adding doc source for analysis subpackage
updating docstring