def METHOD_NAME(self, group):
    """ Get the dictionary of key-value pairs for a group.
    Args:
        group: The name of the group.
    """
    if not hasattr(self, group):
        raise KeyError('No group in CNMFParams named {0}'.format(group))
    return getattr(self, group)