eegprep.load_extension_catalog#

eegprep.load_extension_catalog(catalog_path=None)#

Load the packaged or local metadata-only extension catalog.

Parameters:

catalog_path (str | PathLike[str] | None) – Optional JSON catalog path. When omitted, the EEGPREP_EXTENSION_CATALOG environment variable is checked before the packaged resources/extension_catalog.json fallback.

Returns:

The parsed catalog. Invalid or unavailable catalogs return an empty catalog with errors populated; they do not trigger network access.

Return type:

ExtensionCatalog