core
Analysis Registration Mechanism
Analyses Handler for registration
Classes
AnalysisTestingHandler
dataclass
Analysis handler for testing definition
Attributes
api_runner
instance-attribute
cli_runner
instance-attribute
Methods:
AnalysisHandler
dataclass
Analysis handler definition
Attributes
Methods:
Analyses Registry.
Analyses are discovered lazily through the sct.analyses entry-point namespace.
Discovery (and therefore importing the heavy analysis implementations) only happens
on first access via get_analysis_registry / load_analyses, never at
import sct time.
Attributes
Classes
Functions:
register_analysis
Registration of an AnalysisHandler.
load_analyses
Discover and register all installed analysis plugins (memoized).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
force
|
bool
|
re-run discovery even if it already ran, by default False |
False
|