human
I wrote the below code

    def wrap(function):
        @wraps(function)
        def wrapped_function(individual, *args, **kargs):
            nelem = (len(individual) // nbits)
            decoded = ([0] * nelem)
            for i in xrange(nelem):
                gene = int(''.join(map(str, individual[(i * nbits):((i * nbits) + nbits)])), 2)
                div = ((2 ** nbits) - 1)
                temp = (gene / div)
                decoded[i] = (min_ + (temp * (max_ - min_)))
            return function(decoded, *args, **kargs)
        return wrapped_function
    return wrap

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def bin2float(min_, max_, nbits):