def complex2float(array):
    """Sums real and imaginary parts of an array together element-
    wise. This is used for finding the power of negative numbers
    which are calcuable but not in numpy which returns a nan.
    
    This is a workaround routine and is typically using as follows:
    
    complex2float(np.array(array, dtype=complex)**power)
    
    """
    return array.real + array.imag
