Echo / tools /__init__.py
moein99's picture
Initial Echo Space
8f51ef2
"""
Echo Analysis Tools
This module provides access to all echo analysis tools and their managers.
"""
# Import tool managers (lazy loading to avoid circular imports)
def _get_echo_managers():
"""Get echo tool managers with lazy loading."""
from .echo.echo_tool_managers import (
EchoDiseasePredictionManager,
EchoImageVideoGenerationManager,
EchoMeasurementPredictionManager,
EchoReportGenerationManager,
EchoSegmentationManager,
EchoViewClassificationManager
)
return {
"EchoDiseasePredictionManager": EchoDiseasePredictionManager,
"EchoImageVideoGenerationManager": EchoImageVideoGenerationManager,
"EchoMeasurementPredictionManager": EchoMeasurementPredictionManager,
"EchoReportGenerationManager": EchoReportGenerationManager,
"EchoSegmentationManager": EchoSegmentationManager,
"EchoViewClassificationManager": EchoViewClassificationManager
}
# Import tool factory
from .general.tool_factory import (
ToolFactory,
tool_factory,
create_tool,
get_tool,
get_tool_instance,
get_available_tools,
get_ready_tools,
cleanup_all_tools
)
# Import base classes
from .general.base_tool_manager import (
BaseToolManager,
ToolRegistry,
tool_registry
)
__all__ = [
# Tool Factory
"ToolFactory",
"tool_factory",
"create_tool",
"get_tool",
"get_tool_instance",
"get_available_tools",
"get_ready_tools",
"cleanup_all_tools",
# Base Classes
"BaseToolManager",
"ToolRegistry",
"tool_registry",
# Helper function
"_get_echo_managers"
]