def _bits_to_bytes_not_aligned(n_bits):
    """ Converts number of bits into number of not aligned bytes

    Parameters
    -------------
    n_bits : int
        number of bits

    Returns
    ----------
    number of equivalent not aligned bytes
    """
    n_bytes = n_bits // 8
    if not n_bits % 8 == 0:
        n_bytes += 1
    return n_bytes
