nimare.studyset.Labels

class Labels(annotation: str | None = None, name: str = 'labels')[source]

Bases: object

The annotation matrix.

Methods

as_input(view, block)

Render the legacy inputs_ shape: the annotations frame.

resolve(view)

Return the block this requirement asked for.

validity(view)

Return a boolean over the view's analyses, True where satisfiable.

Properties

annotation

name

as_input(view, block)[source]

Render the legacy inputs_ shape: the annotations frame.

A different projection of the same labels – decoders index it by column name and carry the id columns alongside – so it is built rather than read off block.

resolve(view)[source]

Return the block this requirement asked for.

validity(view)[source]

Return a boolean over the view’s analyses, True where satisfiable.