em_database.catalogue#

A browsable catalogue of the datasets, grouped by technique.

This is the data model behind em_database.browse(): it turns the em_database.data classes into rows a UI can draw - grouped by technique, marked downloaded or not, each carrying the metadata a user hovers to read. It downloads nothing and opens no files, so it is cheap enough to rebuild on every render (the one thing that changes underfoot is which files are on disk, which is a single os.path.exists per dataset).

Functions

catalogue()

The whole browser payload, grouped by technique.

datasets()

(name, dataset) for every dataset em_database.data exposes.

entry(name, ds)

One catalogue row - everything the browser draws for a dataset.

resolve(name)

The dataset instance for a catalogue name, or None.