Source code for bob.ip.gabor

# import Libraries of other lib packages
import bob.sp

# import our own Library
import bob.extension
bob.extension.load_bob_library('bob.ip.gabor', __file__)

from ._library import *
from ._library import Jet as _Jet_C
from . import version
from .version import module as __version__
from .version import api as __api_version__
from .auxiliar import load_jets, save_jets

[docs]def get_config(): """Returns a string containing the configuration information. """ return bob.extension.get_config(__name__, version.externals, version.api)
# gets sphinx autodoc done right - don't remove it __all__ = [_ for _ in dir() if not _.startswith('_')]
[docs]class Jet(_Jet_C): __doc__ = _Jet_C.__doc__ def __getstate__(self): d = dict(self.__dict__) d["jet"] = self.jet d["length"] = self.length return d def __setstate__(self, d): self.__dict__ = d self.__init__(d["length"]) self.jet = d["jet"]