PROBLEM
The structure of code in analysis.py can be more clear so that people can better understand it. I applied aggregations to this part of the code so that makes the code more structural.
CHANGE
I create a new class Compute and move all the functions about computing into that class. Therefore when people use those functions, they can just call the Compute class.
PROBLEM The structure of code in analysis.py can be more clear so that people can better understand it. I applied aggregations to this part of the code so that makes the code more structural.
CHANGE I create a new class Compute and move all the functions about computing into that class. Therefore when people use those functions, they can just call the Compute class.