Please refer to the full documentation in analysis example module.
Analysis example Analysis module example: additional notes