File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def compute_impacts(
9595 vul : ImpactFuncSet ,
9696 ) -> Impact :
9797 """
98- Calculates the impact and applies the "global" risk transfer mechanism .
98+ Calculates the impact.
9999
100100 Parameters
101101 ----------
@@ -111,30 +111,4 @@ def compute_impacts(
111111 Impact
112112 The final impact object.
113113 """
114- impact = self .compute_impacts_pre_transfer (exp , haz , vul )
115- return impact
116-
117- def compute_impacts_pre_transfer (
118- self ,
119- exp : Exposures ,
120- haz : Hazard ,
121- vul : ImpactFuncSet ,
122- ) -> Impact :
123- """
124- Calculates the raw impact matrix before any risk transfer is applied.
125-
126- Parameters
127- ----------
128- exp : Exposures
129- The exposure data.
130- haz : Hazard
131- The hazard data.
132- vul : ImpactFuncSet
133- The set of vulnerability functions.
134-
135- Returns
136- -------
137- Impact
138- An Impact object containing the raw, pre-transfer impact matrix.
139- """
140114 return ImpactCalc (exposures = exp , impfset = vul , hazard = haz ).impact ()
You can’t perform that action at this time.
0 commit comments