20 lines
605 B
Python
20 lines
605 B
Python
"""Compatibility shim: prefer ``orisys.stitch.Stitcher``.
|
|
|
|
Historical import path ``from orisys.Stitcher import Stitcher`` remains supported.
|
|
"""
|
|
|
|
from .stitch import Stitcher
|
|
from .stitch.backends.numpy_backend import blend_kernel_numpy as _blend_kernel_numpy
|
|
from .stitch.config import numba_blend_available
|
|
|
|
# Backward-compatible aliases used by older call sites / tests.
|
|
_blend_kernel = _blend_kernel_numpy
|
|
_NUMBA_AVAILABLE = numba_blend_available()
|
|
|
|
try:
|
|
from orisys_blend.kernel import blend_kernel as _blend_kernel_numba
|
|
except Exception:
|
|
_blend_kernel_numba = None
|
|
|
|
__all__ = ["Stitcher"]
|