Source code for mot

import logging
from .__version__ import VERSION, VERSION_STATUS, __version__
from .optimize import minimize, get_minimizer_options

try:
    from logging import NullHandler
except ImportError:
    class NullHandler(logging.Handler):
        def emit(self, record):
            pass
logging.getLogger(__name__).addHandler(NullHandler())


[docs]def smart_device_selection(): """Get a list of device environments that is suitable for use in MOT. Returns: list of CLEnvironment: List with the CL device environments. """ from mot.lib.cl_environments import CLEnvironmentFactory return CLEnvironmentFactory.smart_device_selection()