Plexora

sample

Summarize what this sample is, for a header or a panel title.

Generated from Plexora 0.0.55View source
from plexora.api import sample
sample(project) -> dict

Deliberately small and derived: a plugin that wants the layer objects themselves calls layers() instead.

Parameters

projectProjectrequired

The project record to summarize.

Returns

dict

name, the sorted modalities present across its layers, bundles (where groups of layers came from), the reference layer's id, and whether the sample is blank (no image file at all).