def _get_bkey_index(self, keyword):
    'Retrieve the index of a beam keyword\n\n        The method searches for the index of\n        a requested keyword in the list of beam\n        keywords. If the keyword does not exists,\n        the index -1 is returned\n\n        Parameters\n        ----------\n        keyword: str\n            name of the requested keyword\n\n        Returns\n        -------\n        index: int\n            the index of the keyword\n        '
    bindex = (- 1)
    for index in range(len(self.beamkeys)):
        if (self.beamkeys[index].keyword == keyword):
            return index
    return bindex
Retrieve the index of a beam keyword

The method searches for the index of
a requested keyword in the list of beam
keywords. If the keyword does not exists,
the index -1 is returned

Parameters
----------
keyword: str
    name of the requested keyword

Returns
-------
index: int
    the index of the keyword
def _get_bkey_index(self, keyword):
    'Retrieve the index of a beam keyword\n\n        The method searches for the index of\n        a requested keyword in the list of beam\n        keywords. If the keyword does not exists,\n        the index -1 is returned\n\n        Parameters\n        ----------\n        keyword: str\n            name of the requested keyword\n\n        Returns\n        -------\n        index: int\n            the index of the keyword\n        '
    bindex = (- 1)
    for index in range(len(self.beamkeys)):
        if (self.beamkeys[index].keyword == keyword):
            return index
    return bindex