Skip to content

Prob. of infection uncertainties

Luis Aleixo requested to merge feature/PoI_uncertainties into master

This MR introduces a new collapsible section in the report page with the result uncertainties:

  1. Probability of infection histogram with CDF line.
  2. Probability of infection for each viral load value.

(1) The histogram is always generated and displayed in the report (d3 vectorised image).

(2) The plot is generated according to an input variable - conditional_probability_plot - initially set as False. A checkbox was introduced in the report to conditionally change this input variable, and therefore generate the image. Its value in the form/report is controlled via a session cookie - conditional_plot. The final result image is generated via matplotlib.

Given that the computational time required to generate the image is longer, a Loading... paragraph was added:


Final result:


Edited by Luis Aleixo

Merge request reports