playnano.analysis.utils.loader module¶
Find an analysis module by name and create it.
Built-in modules are looked up first, then plugins registered under the
playnano.analysis entry point group.
- playnano.analysis.utils.loader.load_analysis_module(name: str) AnalysisModule[source]¶
Create the analysis module with the given name.
- Parameters:
name (str) – The module’s name, for example
"feature_detection".- Returns:
A new instance of the module.
- Return type:
- Raises:
ValueError – If no built-in module or plugin has this name.
TypeError – If the plugin is not an
AnalysisModule.