def unit_from_full_alpha_values(full_alpha_values):
    """Return new alpha values converted to unit intervals.

    That is, we create and return a copy of the list of
    lists representing full alpha values, but with the items
    converted to floats in the unit interval (from 0.000...
    to 1.0, that is, fully transparent to fully opaque), or
    in other words, floats representing the percentage of
    the alpha (how much opaque a pixel in that position is).
    """
    ### return new list representing alpha values in their
    ### unit form

    return [
        ## the inner lists represent the alpha values of
        ## each column of pixels, in their unit form
        [
            ## the unit format is obtained by simply dividing
            ## the full alpha values by the maximum value they
            ## can assume, resulting in a float which
            ## represents the percentage of the alpha value
            alpha_value / 255
            for alpha_value in alpha_values_in_column
        ]
        ## the alpha values for each column are retrieved
        ## from the given full alpha values list
        for alpha_values_in_column in full_alpha_values
    ]
Return new alpha values converted to unit intervals.

    That is, we create and return a copy of the list of
    lists representing full alpha values, but with the items
    converted to floats in the unit interval (from 0.000...
    to 1.0, that is, fully transparent to fully opaque), or
    in other words, floats representing the percentage of
    the alpha (how much opaque a pixel in that position is).
    
nodezator/alphamask/utils.py