Views¶
Documentation for all the different views of the database accessible through the Flask server.
-
imeall.views.
analysis
()[source]¶ This view collates data from the grain boundary database and forwards it to d3 analysis tools.
-
imeall.views.
eam_pot
(filename)[source]¶ Uses matplotlib to inspect xml potential files in the database.
-
imeall.views.
grain_boundary
(url_path, gbid)[source]¶ Top view for a canonical grain boundary. CSL lattice, and list of subgrain directories, and energies.
Todo
Replace make_tree with an SQL query.
-
imeall.views.
make_tree
(path)[source]¶ Recurse through subgrain directories collecting json and png files.
-
imeall.views.
material
(material)[source]¶ View of available orientation axes for a particular material.
-
imeall.views.
orientations
(url_path, orientation)[source]¶ View to list different orientation axes in the material database.