Skip to content

Commit 352440c

Browse files
committed
more minor edits
1 parent 6ef5f32 commit 352440c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

joss_submission/paper.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,13 @@ def get_loss_ensemble(
7171
):
7272
7373
"""
74-
Generate an ensemble of structure realizations with uncertainty and calculate damages.
74+
Generate an ensemble of structure realizations with
75+
uncertainty and calculate damages.
7576
76-
This function creates multiple realizations of structures by introducing
77-
uncertainty in selected characteristics and calculating damages.
77+
This function creates multiple realizations
78+
of structures by introducing
79+
uncertainty in selected characteristics
80+
and calculating damages.
7881
7982
Parameters
8083
----------
@@ -126,7 +129,7 @@ def get_loss_ensemble(
126129
"""
127130
```
128131

129-
This function returns a DataFrame containing an ensemble of damage estimates and realizations of uncertain characteristics n_sow realizations for a sample size of *n_sow*. After running this function, a user can conduct a wide range of analyses (e.g., as done in @Bhaduri2025 or @Pollack2025-nsi) though it is also possible to use `UNSAFE` to obtain more robust estimates of the mean damage estimate for a structure across the sampled realizations (e.g., @Pollack2025-j40)
132+
This function returns a DataFrame containing an ensemble of damage estimates and realizations of uncertain characteristics n_sow realizations for a sample size of *n_sow*. After running this function, a user can conduct a wide range of analyses based on the ensemble (e.g., as done in @Bhaduri2025 or @Pollack2025-nsi) though it is also possible to use `UNSAFE` for the purpose of obtaining more robust estimates of the mean damage estimate for a structure across the sampled realizations (e.g., @Pollack2025-j40)
130133

131134
The function includes default values for the options in the `config` dict argument. The default behavior for the function infers the uncertain distribution for parameters such as a structure's number of stories or foundation type based on overall census tract proportions. Users may modify these priors with the keys `stories_param` or `found_param`. Users may modify other priors as well. For example, users can update uncertainty around structure value assessment by modifying the `coef_var` key, or first-floor elevation with structure-level updates or a dict that maps foundation types to a distribution of possible foundation heights.
132135

0 commit comments

Comments
 (0)