Skip to main content

JUNE-vis

A dashboard to visualize the JUNE simulation results for epidemic modeling and intervention

Install

pip install junevis

Serve the Example Project

This code ships with an example project (mask_wearing) for the interface. From the command line, run:

junevis_serve

Add new simulation results to JUNE-vis

The JUNE simulation logs events as they occur into hdf5 files called records. These are transformed into csv files called summaries that are automatically placed into a folder the frontend interface can serve. To create a new visualization from a simulation,

junevis_create path/to/folder/containing/records

For more details on the expected contents of this folder, see this documentation.

Changing the homepage

You will need to clone the source code if you want to change the landing page to describe the set of simulation results deployed. The file to change is in junevis/client/src/views/Intro.vue (this is a .vue file that contains all the needed HTML, CSS, and javascript).

After cloning and making your desired changes, from this project's root:

pip install -e .
cd junevis/client
npm install
npm run build
junevis_serve

Deploying

You can easily host this for others to see by running junevis_serve and exposing (default port) 8000.

Walkthrough

The Explore Page

The parameter selection grid

Choose which runs to compare across a single dimension:

Parameter Selecting on the Exploration Page

The parameter grid (left) is designed so you can view a single simulation by clicking on a valid combination of hyperparameter values. Alternatively, you can highlight all the values of the hyperparameters by clicking on the name of the hyperparameter to compare simulations accross all values of that dimension.

A card and SIR cruve for every simulation

Every run is associated with a set of hyperparameters. Its effect can be summarized with an SIR curve, shown as the thumbnail:

SIR Cards on the Explore Page

The Detailed Comparison Page

Sometimes we want to compare simulations across more subtle effects, such as the difference in where the infections occurred, shown below:

Comparing the Location Details of 2 runs

You can add any additional plot here to compare between two simulations. Included are SIR curve, ages of the infected, the locations of infection, and a detailed geography overview:

Comparing the Geography Details of 2 runs

The slider will color the background of each region according to the selected dimension at that point in time.

The Geography Overview

To see the geographical effects of all simulations at once, we include a special page to sort and observe the peak value at each location for the course of a simulation:

Overview of Geography

Known Bugs

  • Rendering the geojson associated with the map of England does not work
  • Creating a new project using the PyPI package will overwrite existing projects. We need to move processed projects into a configuration folder in the home directory and symbolically link them to the client

Metadata

Release files for junevis 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for junevis 0.0.9
File Size Uploaded Provenance Actions
junevis-0.0.9.tar.gz 10.1 MB Without provenance Details for junevis-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for junevis 0.0.9
File Interpreter ABI Platform Actions
junevis-0.0.9-py3-none-any.whl Python 3 none any Details for junevis-0.0.9-py3-none-any.whl

Total release size: 30.7 MB

Release files / junevis-0.0.9.tar.gz

Download URL junevis-0.0.9.tar.gz
Size 10.1 MB
Tags Source
SHA-256 checksum
How to use checksums
002057fd222878e3000167b60ec64d2a57dce96309b4ee2a1ba705ffe9b79ff0
BLAKE2b-256 checksum
How to use checksums
a98f6883b97ea6711f8390c372ce4e1fca6a945c4b7aac2ba3672b321291bd59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.6.12

Release files / junevis-0.0.9-py3-none-any.whl

Download URL junevis-0.0.9-py3-none-any.whl
Size 20.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c3218365ebf291de27e5a330a0fa7bcf309c020065c5ce6973ab041354cb3a1d
BLAKE2b-256 checksum
How to use checksums
4a806863b1b606afd665215e16b41daea25ec7d39bfa74ec9aae3a1c357c8ec6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.6.12

Security for junevis 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page