SciPy

numpy.record.real

record.real

real part of scalar