Braviz Data Base

Braviz uses a database to store analysis variables, data saved by users, and small geometric structures. In the current implementation this database is sqlite, but this may change in the future. The database file is located on

<dynaimc data root> / braviz_data / tabular_data.sqlite

where dynamic data root is the path returned by

braviz.readAndFilter.braviz_auto_dynamic_data_root()

Variables

The module tabular_data contains functions to save and retrieve

  • Nominal and Numerical Variables
  • Variables meta-data
  • Subjects in the project

See Tabular Data

User Data

The module user_data contains functions to save and retrieve

  • Application state (Scenarios)
  • Sub-samples
  • Comments on subjects

See User Data

Geometric Data

The module geom_db contains functions to save and retrieve geometric structures, currently:

  • Lines
  • Spheres

See Geometric Data

Fiber Bundles

The bundles_db contains functions to save and retrieve fiber bundles defined by the user

  • With waypoints
  • Logical trees

See Bundles Database

Checking db completeness

The module mod:~braviz.readAndFilter.check_db contains the following function

verify_db_completeness(database_file=None)[source]

Verifies that all tables exist in the braviz data base. If any are missing they are constructed.

Parameters:database_file (str) – Path of the database file that should be ckecked, if None, the database defined by the configuration file will be used.