def assignbctresult(brain, bct_res):
    """
    It assigns the results of a Brain Connectivity Toolbox matrix to the respective nodes in
    maybrain

    Parameters
    ----------
    brain: maybrain.brain.Brain
        An instance of the `Brain` class
    bct_res: np.array
        A matrix from bctpy with values to be assigned for each node

    Returns
    -------
    result: dict
        A dictionary in which the keys are the nodes of `brain` and the values are the ones presented in `bct_res`
    """
    return dict(list(zip(brain.G.nodes(), bct_res)))