Compute and plot curve-based summary statistics for ensembles of curves. curvestat
was written by Jonas L. Juul.
If you use curvestat
please consider citing us! The paper is available here. Download citation
pip install curvestat
curvestat
was developed and tested for
- Python 3.7
Given some ensemble of curves,
curvestat
lets you compute and visualize curve box plots and compare them to fixed-time descriptive statistics.
curvestat
also lets you make load-duration heatmaps. In the following heatmap for example, the color at (x,y) illustrates the risk of experiencing a load of at least y patients for at least x consecutive days, given an ensemble of 2000 simulated epidemic trajectories.
For examples, please see the 'tests' subfolder
This project is licensed under the MIT License.