Skip to content

Commit 87b761a

Browse files
committed
review fixes
1 parent d1d47d4 commit 87b761a

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

RATapi/outputs.py

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ class ContrastParams(RATResult):
8484
Attributes
8585
----------
8686
scalefactors : np.ndarray
87-
An array containing the scalefactor values for each contrast.
87+
The scalefactor values for each contrast.
8888
bulkIn : np.ndarray
89-
An array containing the bulk in values for each contrast.
89+
The bulk in values for each contrast.
9090
bulkOut : np.ndarray
91-
An array containing the bulk out values for each contrast.
91+
The bulk out values for each contrast.
9292
subRoughs : np.ndarray
93-
An array containing the substrate roughness values for each contrast.
93+
The substrate roughness values for each contrast.
9494
resample : np.ndarray
9595
An array containing whether each contrast was resampled.
9696
@@ -115,15 +115,14 @@ class Results:
115115
(``data_range`` in the contrast's ``Data`` object)
116116
simulation : list
117117
The reflectivity curves for each contrast,
118-
which can be a different range to allow extrapolation
118+
which can be a wider range to allow extrapolation
119119
(``simulation_range`` in the contrast's ``Data`` object).
120120
shiftedData : list
121-
The data from each contrast extrapolated over the simulation range
122-
with scalefactors and background corrections applied.
121+
The data with scalefactors and background corrections applied.
123122
backgrounds : list
124-
The background for each contrast, constructed from the contrast's background data.
123+
The background for each contrast defined over the simulation range.
125124
resolutions : list
126-
The resolution for each contrast, constructed from the contrast's resolution data.
125+
The resolution for each contrast defined over the simulation range.
127126
layerSlds : list
128127
The array of layer parameter values for each contrast.
129128
sldProfiles : list
@@ -167,11 +166,13 @@ class PredictionIntervals(RATResult):
167166
"""The Bayesian prediction intervals for 95% and 65% confidence.
168167
169168
For ``reflectivity`` and ``sld``, each list item is an array
170-
with five rows. The 0th and 4th index are the minimum and maximum
171-
range with 95% confidence, the 1st and 3rd are the minimum and maximum
172-
with 65% confidence, and the 2nd is the mean value of the interval.
173-
Column ``i`` is this data for the i'th point of the reflectivity or
174-
SLD result.
169+
with five rows. The rows represent:
170+
171+
- 0: the 5th percentile;
172+
- 1: the 35th percentile;
173+
- 2: the mean value of the interval;
174+
- 3: the 65th percentile;
175+
- 4: the 95th percentile.
175176
176177
Attributes
177178
----------
@@ -180,7 +181,7 @@ class PredictionIntervals(RATResult):
180181
SLD : list
181182
The prediction interval data for SLD of each contrast.
182183
sampleChi : np.ndarray
183-
184+
The value of sumChi at each point of the Markov chain.
184185
"""
185186

186187
reflectivity: list
@@ -196,11 +197,11 @@ class ConfidenceIntervals(RATResult):
196197
Attributes
197198
----------
198199
percentile95 : np.ndarray
199-
The 95% confidence intervals.
200+
The 95% confidence intervals for each fit parameter.
200201
percentile65 : np.ndarray
201-
The 65% confidence intervals
202+
The 65% confidence intervals for each fit parameter.
202203
mean : np.ndarray
203-
204+
The mean values for each fit parameter.
204205
"""
205206

206207
percentile95: np.ndarray

0 commit comments

Comments
 (0)