from typing import List


def axis_list_to_bitmap(axes: List[int]):
    """
    List of numeric axes, like [0, 2, 3] to the equivalent NI bitmap.
    NI uses 1 indexing and we use 0, so this is equivalent to
    2 ** 1 + 2 ** 3 + 2 ** 4
    :param axes:
    :return:
    """

    return sum(2 ** (x + 1) for x in axes)