def size_from_alpha_values(alpha_values):
    """Return size of alpha mask.

    Parameters
    ==========
    alpha_values (list of lists)
        alpha values, either in full or unit form.
    """
    return (
        ### number of columns == width
        len(alpha_values),
        ### number of items in column == height
        len(alpha_values[0]),
    )
Return size of alpha mask.

    Parameters
    ==========
    alpha_values (list of lists)
        alpha values, either in full or unit form.
    
nodezator/alphamask/utils.py