Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ratapi/utils/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def plot_ref_sld_helper(
# Plot confidence intervals if required
if confidence_intervals is not None:
# Calculate the divisor
div = 1 if i == 0 and not q4 else 2 ** (4 * (i + 1))
div = 1 if i == 0 and not q4 else 10 ** ((i / 100) * shift_value)
ref_min, ref_max = confidence_intervals["reflectivity"][i]
mult = (1 if not q4 else plot_data["ref"][i][0] ** 4) / div
ref_plot.fill_between(plot_data["ref"][i][0], ref_min * mult, ref_max * mult, alpha=0.6, color="grey")
Expand Down
Loading