Fragility Module Structure
Parameters
All local parameters of this module are data parameters and filled with arguments and no need to be reset at the beginning of each analysis, so they are not defined in the wipeAnalysis.
Methods
GetProbability is a global method that described in the _GlobalParameters of parent subpackage. In the current module this method returns the probability of entered damage magnitude depending the type of defined distribution. The Scipy library has been used to do the calculations.
_constant is an internal method of this module. This method creates a constant distribution type and for any random variable it returns 1 as the probability of damage.