|
67 | 67 | "- EN: mutliplicative noise (inhomogeneous)\n", |
68 | 68 | "> The value of each exposure point is independently multiplied by a random number sampled uniformly from a distribution with (min, max) = bounds_noise. EN is the value of the seed for the uniform random number generator.\n", |
69 | 69 | "- EL: sample uniformly from exposure list\n", |
70 | | - "> From the provided list of exposure is elements are uniformly sampled. For example, LitPop instances with different exponents.\n", |
| 70 | + "> Uniformly sample one element from the provided list of exposures. For example, LitPop instances with different exponents.\n", |
71 | 71 | "\n", |
72 | 72 | "\n", |
73 | 73 | "If a bounds is None, this parameter is assumed to have no uncertainty." |
|
201 | 201 | }, |
202 | 202 | { |
203 | 203 | "cell_type": "code", |
204 | | - "execution_count": 6, |
| 204 | + "execution_count": null, |
205 | 205 | "id": "802ac379-39a0-476d-b068-36520d03a459", |
206 | 206 | "metadata": { |
207 | 207 | "ExecuteTime": { |
|
226 | 226 | " print(\"\\n Computing litpop for m=%d, n=%d \\n\" % (m, n))\n", |
227 | 227 | " litpop_kwargs[\"exponents\"] = (m, n)\n", |
228 | 228 | " exp = LitPop.from_countries(**litpop_kwargs)\n", |
229 | | - " exp.gdf[\"impf_\" + haz.haz_type] = impf_id\n", |
230 | | - " exp.gdf.drop(\"impf_\", axis=1, inplace=True)\n", |
| 229 | + " exp.data[\"impf_\" + haz.haz_type] = impf_id\n", |
| 230 | + " exp.data.drop(\"impf_\", axis=1, inplace=True)\n", |
231 | 231 | " if value_unit is not None:\n", |
232 | 232 | " exp.value_unit = value_unit\n", |
233 | 233 | " exp.assign_centroids(haz, **assign_centr_kwargs)\n", |
|
897 | 897 | "- HF: scale the frequency of all events (homogeneously)\n", |
898 | 898 | "> The frequency of all events is multiplied by a number sampled uniformly from a distribution with (min, max) = bounds_freq\n", |
899 | 899 | "- HL: sample uniformly from hazard list\n", |
900 | | - "> From the provided list of hazard is elements are uniformly sampled. For example, Hazards outputs from dynamical models for different input factors.\n", |
| 900 | + "> Uniformly sample one element from the provided list of hazards. For example, Hazards outputs from dynamical models for different input factors.\n", |
901 | 901 | "\n", |
902 | 902 | "If a bounds is None, this parameter is assumed to have no uncertainty." |
903 | 903 | ] |
|
1146 | 1146 | }, |
1147 | 1147 | "source": [ |
1148 | 1148 | "The following types of uncertainties can be added:\n", |
1149 | | - "- MDD: scale the mdd (homogeneously)\n", |
| 1149 | + "- MDD: scale the Mean Damage Degree MDD (homogeneously)\n", |
1150 | 1150 | "> The value of mdd at each intensity is multiplied by a number sampled uniformly from a distribution with (min, max) = bounds_mdd\n", |
1151 | | - "- PAA: scale the paa (homogeneously)\n", |
| 1151 | + "- PAA: scale the Percentage of Affected Assets PAA (homogeneously)\n", |
1152 | 1152 | "> The value of paa at each intensity is multiplied by a number sampled uniformly from a distribution with (min, max) = bounds_paa\n", |
1153 | 1153 | "- IFi: shift the intensity (homogeneously)\n", |
1154 | 1154 | "> The value intensity are all summed with a random number sampled uniformly from a distribution with (min, max) = bounds_int\n", |
1155 | 1155 | "- IL: sample uniformly from impact function set list\n", |
1156 | | - "> From the provided list of impact function sets elements are uniformly sampled. For example, impact functions obtained from different calibration methods.\n", |
| 1156 | + "> Uniformly sample one element from the provided list of impact function sets. For example, impact functions obtained from different calibration methods.\n", |
1157 | 1157 | "\n", |
1158 | 1158 | "\n", |
1159 | 1159 | "If a bounds is None, this parameter is assumed to have no uncertainty." |
|
1268 | 1268 | "- EN: mutliplicative noise (inhomogeneous)\n", |
1269 | 1269 | "> The value of each exposure point is independently multiplied by a random number sampled uniformly from a distribution with (min, max) = bounds_noise. EN is the value of the seed for the uniform random number generator.\n", |
1270 | 1270 | "- EL: sample uniformly from exposure list\n", |
1271 | | - "> From the provided list of exposure is elements are uniformly sampled. For example, LitPop instances with different exponents.\n", |
| 1271 | + "> Uniformly sample one element from the provided list of exposures. For example, LitPop instances with different exponents.\n", |
1272 | 1272 | "- MDD: scale the mdd (homogeneously)\n", |
1273 | 1273 | "> The value of mdd at each intensity is multiplied by a number sampled uniformly from a distribution with (min, max) = bounds_mdd\n", |
1274 | 1274 | "- PAA: scale the paa (homogeneously)\n", |
1275 | 1275 | "> The value of paa at each intensity is multiplied by a number sampled uniformly from a distribution with (min, max) = bounds_paa\n", |
1276 | 1276 | "- IFi: shift the intensity (homogeneously)\n", |
1277 | 1277 | "> The value intensity are all summed with a random number sampled uniformly from a distribution with (min, max) = bounds_int\n", |
| 1278 | + "- IL: sample uniformly from impact function set list\n", |
| 1279 | + "> Uniformly sample one element from the provided list of impact function sets. For example, impact functions obtained from different calibration methods.\n", |
1278 | 1280 | "\n", |
1279 | 1281 | "\n", |
1280 | 1282 | "If a bounds is None, this parameter is assumed to have no uncertainty." |
|
1819 | 1821 | "- EN: mutliplicative noise (inhomogeneous)\n", |
1820 | 1822 | "> The value of each exposure point is independently multiplied by a random number sampled uniformly from a distribution with (min, max) = bounds_noise. EN is the value of the seed for the uniform random number generator.\n", |
1821 | 1823 | "- EL: sample uniformly from exposure list\n", |
1822 | | - "> From the provided list of exposure is elements are uniformly sampled. For example, LitPop instances with different exponents.\n", |
| 1824 | + "> Uniformly sample one element from the provided list of exposures. For example, LitPop instances with different exponents.\n", |
1823 | 1825 | "- MDD: scale the mdd (homogeneously)\n", |
1824 | 1826 | "> The value of mdd at each intensity is multiplied by a number sampled uniformly from a distribution with (min, max) = bounds_mdd\n", |
1825 | 1827 | "- PAA: scale the paa (homogeneously)\n", |
1826 | 1828 | "> The value of paa at each intensity is multiplied by a number sampled uniformly from a distribution with (min, max) = bounds_paa\n", |
1827 | 1829 | "- IFi: shift the impact function intensity (homogeneously)\n", |
1828 | 1830 | "> The value intensity are all summed with a random number sampled uniformly from a distribution with (min, max) = bounds_impfi\n", |
1829 | 1831 | "- IL: sample uniformly from impact function set list\n", |
1830 | | - "> From the provided list of impact function sets elements are uniformly sampled. For example, impact functions obtained from different calibration methods.\n", |
| 1832 | + "> Uniformly sample one element from the provided list of impact function sets. For example, impact functions obtained from different calibration methods.\n", |
1831 | 1833 | "\n", |
1832 | 1834 | "\n", |
1833 | 1835 | "If a bounds is None, this parameter is assumed to have no uncertainty." |
|
0 commit comments