def __init__(self, ident=None, keylist=None):
    'The method initializes a configuration dispersion\n\n        object for a given beam identifier.\n        All necessary keywords are extracted from\n        an input keyword list.\n        In case of missing keywords an exception\n        is fired.\n\n        Parameters\n        ----------\n        ident: char\n            beam identification\n        keylist: list\n            list of keywords\n        '
    try:
        self.ident = ident
        self.norder = self._find_order('DISP_', ident, keylist)
        self.twodkeys = self._find_twodkeys('DLDP_', ident, keylist)
    except CKeyNotFound as e:
        try:
            self.twodkeys = self._find_twodkeys('DLD1P_', ident, keylist)
        except CKeyNotFound as e:
            raise DispNotFound(ident, e.keyword)
        except CKeyLengthWrong as e:
            _log.info('\nField dependent keyword: {0:s} has wrong length!'.format(e.keyword))
            raise DispNotFound(ident, e.keyword)
    except CKeyLengthWrong as e:
        _log.info('\nField dependent keyword: {0:s} has wrong length!'.format(e.keyword))
        raise DispNotFound(ident, e.keyword)
The method initializes a configuration dispersion

object for a given beam identifier.
All necessary keywords are extracted from
an input keyword list.
In case of missing keywords an exception
is fired.

Parameters
----------
ident: char
    beam identification
keylist: list
    list of keywords
def __init__(self, ident=None, keylist=None):
    'The method initializes a configuration dispersion\n\n        object for a given beam identifier.\n        All necessary keywords are extracted from\n        an input keyword list.\n        In case of missing keywords an exception\n        is fired.\n\n        Parameters\n        ----------\n        ident: char\n            beam identification\n        keylist: list\n            list of keywords\n        '
    try:
        self.ident = ident
        self.norder = self._find_order('DISP_', ident, keylist)
        self.twodkeys = self._find_twodkeys('DLDP_', ident, keylist)
    except CKeyNotFound as e:
        try:
            self.twodkeys = self._find_twodkeys('DLD1P_', ident, keylist)
        except CKeyNotFound as e:
            raise DispNotFound(ident, e.keyword)
        except CKeyLengthWrong as e:
            _log.info('\nField dependent keyword: {0:s} has wrong length!'.format(e.keyword))
            raise DispNotFound(ident, e.keyword)
    except CKeyLengthWrong as e:
        _log.info('\nField dependent keyword: {0:s} has wrong length!'.format(e.keyword))
        raise DispNotFound(ident, e.keyword)