@@ -51,24 +51,23 @@ def get_egsim_residuals(
5151
5252 A [pandas DataFrame](https://pandas.pydata.org/docs/user_guide/dsintro.html#dataframe)
5353
54- If ranking is True, then each row denotes a model (reported in the first column )
55- and each column a measure of fit (reported in the first row) .
54+ If ranking is True, then each row denotes a model (labelled by the unique model name )
55+ and each column a measure of fit.
5656
57- If ranking is False, then each row denotes a flatfile record and each column the
58- record configured or computed properties. More specifically, except the first
59- column (denoting the record id, i.e. the position in the original flatfile,
60- starting from 0), each column denotes:
57+ If ranking is False, then each row denotes a flatfile record, labelled by a unique
58+ integer id (the record position in the original flatfile, starting from 0), and
59+ each column denotes:
6160
62- - a computed residual or prediction, if the first chunk of ts name is an intensity
63- measure type (e.g. "PGA total_residual BindiEtAl2014Rjb"): in this case, the
64- second chunk is the metric type ("total_residual") and the third the predicting
61+ - a computed residual or prediction if the first chunk of the column name is an
62+ intensity measure type (e.g. "PGA total_residual BindiEtAl2014Rjb"): in this case,
63+ the second chunk is the metric type ("total_residual") and the third the predicting
6564 model ("BindiEtAl2014Rjb")
6665
67- - the flatfile data relative to the computed prediction if the first chunk
68- is the text "input" (e.g., "input distance_measure rrup"): in this case, the
69- second chunk is the flatfile data type ("distance_measure", "intensity_measure ",
70- "rupture_parameter", "site_parameter" or "uncategorized") and the third the
71- data name ("rrup")
66+ - a record input property (copied from the original flatfile) if the first chunk
67+ of the column name is the text "input" (e.g., "input distance_measure rrup"): in
68+ this case, the second chunk is the flatfile data type ("distance_measure",
69+ "intensity_measure", " rupture_parameter", "site_parameter" or "uncategorized") and
70+ the third the data name ("rrup")
7271 """
7372 # request parameters:
7473 parameters = {
0 commit comments