hipscatalog_gen.pipeline.modes.get_selection_mode

get_selection_mode(name)[source]

Return a selection mode entry, raising on unsupported names.

Parameters:

name (str) – Selection mode identifier (e.g., mag_global).

Returns:

SelectionMode instance with validators and handlers.

Raises:

ValueError – If the name is not registered.

Return type:

SelectionMode