Peano
Loading...
Searching...
No Matches
notebook.py File Reference

Go to the source code of this file.

Namespaces

namespace  tarch
 Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
 
namespace  tarch.plotter
 
namespace  tarch.plotter.api
 
namespace  tarch.plotter.api.notebook
 Interactive visualisation of Peano patch files within Jupyter notebooks.
 

Functions

 tarch.plotter.api.notebook.read_snapshots (file_name)
 Return list of (time stamp, list of patch files) from a patch meta file.
 
 tarch.plotter.api.notebook.read_patches (patch_file_name)
 Return list of (offset, size, values) for all patches of one patch file.
 
 tarch.plotter.api.notebook.read_unknown_names (file_name)
 Names of the unknowns as stored in the description of a patch file.
 
 tarch.plotter.api.notebook.plot_snapshot (file_name, snapshot=-1, unknown=0, clim=None, ax=None, cmap="viridis", label=None)
 Plot one unknown of one snapshot.
 
 tarch.plotter.api.notebook.show_solution (file_name, unknown=0, unknown_names=None, clim=None)
 Interactive viewer for a patch file within a Jupyter notebook.