CinemaScience provides reference viewers and flexible components for users to build application specific viewers. The basic viewers are introduced here. A full viewer tutorial is available at Tutorial: Cinema Viewers.
Cinema:View is the new version of Cinema:Compare – a now deprecated viewer.
To use browser based viewers, you need to allow local file access. See A Note on Browser Security for more information.
Cinema:View is an interactive visualization approach to exploring Cinema databases. It can be used with single databases to rotate around a visualization as with the MPAS-Ocean simulation shown in Fig. 2.
Cinema:View can also be used to compare multiple databases as with the Warp plasma accelerator visualization, Fig. 3 that compares different approaches to finding isocontours in the simulation.
The list of databases available in the viewer is controlled via a databases.json file in the cinema_view/data/ directory. The sets of single or multiple databases are defined in the databases.json file and appear as a list in the dropdown menu above the control sliders. Titles can also be specified for the each Cinema database in the comparison view. Cinema:View can be found at cinema_view and its tutorial is at Cinema:View.
Cinema:Explorer is a browser based viewer for Spec D databases. It includes a parallel coordinates plot and a scatterplot view. The columns are the data artifacts or derived quantities that are defined in the data.csv file for the Spec D database. Fig. 4 shows the baryon density from a Nyx cosmological simulation. Note how one can choose a subset of the images to view by selecting a region along one of the variable axes. The parallel coordinates view supports linking and brushing allowing the user to query a subset of the data and view the resultant set of images.
Cinema:Explorer uses a similar databases.json approach to define a list of available databases which can be explored. databases.json is located within the cinema_explorer/cinema/explorer/1.9 directory. Cinema:Explorer can be found at cinema_explorer and its tutorial is at Cinema:Explorer.
Cinema:Scope is a prototype cross-platform viewer application that allows the user to interactively explore a Cinema database of images, through both sliders and mouse controls. Cinema:Scope is compatible with the CSV specification of Cinema databases. In Fig. 5, a Sedov blast wave is viewed with Cinema:Scope. The parameters linked to the mouse controls can be changed by the user. For databases with multiple artifacts, the image artifact can be changed by the user to change the view to a different set of images.
The Cinema viewer projects include:
- cinema_newsfeed A pipeline approach to present analysis results to the user.
- cinema_quest An interactive visual tool for querying Cinema Database ensembles.
- cinema_bandit A multi-view application for analysis and visualization of experimental data.
- cinema_debye_scherrer An interactive web-based tool to visualize multiple datasets.
- cinema_simpleviewers A set of simple viewers to be used as examples to create custom Cinema viewers.
- cinema_unityviewer An experimental viewer based on the Unity game engine.
- cinema_jnc A prototype Jupyter notebook-based viewer.