def nametoradec(name):
    '\n    Get names formatted as\n    hhmmss.ss+ddmmss to Decimal Degree\n    only works for dec > 0 (splits on +, not -)\n    Will fix this eventually...\n    '
    if ('string' not in str(type(name))):
        rightascen = []
        declinatio = []
        for n in name:
            (ra, de) = n.split('+')
            ra = ((((((ra[0:2] + ':') + ra[2:4]) + ':') + ra[4:6]) + '.') + ra[6:8])
            de = ((((de[0:2] + ':') + de[2:4]) + ':') + de[4:6])
            coord = SkyCoord(ra, de, frame='icrs', unit=('hourangle', 'degree'))
            rightascen.append(coord.ra.value)
            declinatio.append(coord.dec.value)
        return (np.array(rightascen), np.array(declinatio))
    else:
        (ra, de) = name.split('+')
        ra = ((((((ra[0:2] + ':') + ra[2:4]) + ':') + ra[4:6]) + '.') + ra[6:8])
        de = ((((de[0:2] + ':') + de[2:4]) + ':') + de[4:6])
        coord = SkyCoord(ra, de, frame='icrs', unit=('hourangle', 'degree'))
        return (np.array(coord.ra.value), np.array(coord.dec.value))
Get names formatted as
hhmmss.ss+ddmmss to Decimal Degree
only works for dec > 0 (splits on +, not -)
Will fix this eventually...
def nametoradec(name):
    '\n    Get names formatted as\n    hhmmss.ss+ddmmss to Decimal Degree\n    only works for dec > 0 (splits on +, not -)\n    Will fix this eventually...\n    '
    if ('string' not in str(type(name))):
        rightascen = []
        declinatio = []
        for n in name:
            (ra, de) = n.split('+')
            ra = ((((((ra[0:2] + ':') + ra[2:4]) + ':') + ra[4:6]) + '.') + ra[6:8])
            de = ((((de[0:2] + ':') + de[2:4]) + ':') + de[4:6])
            coord = SkyCoord(ra, de, frame='icrs', unit=('hourangle', 'degree'))
            rightascen.append(coord.ra.value)
            declinatio.append(coord.dec.value)
        return (np.array(rightascen), np.array(declinatio))
    else:
        (ra, de) = name.split('+')
        ra = ((((((ra[0:2] + ':') + ra[2:4]) + ':') + ra[4:6]) + '.') + ra[6:8])
        de = ((((de[0:2] + ':') + de[2:4]) + ':') + de[4:6])
        coord = SkyCoord(ra, de, frame='icrs', unit=('hourangle', 'degree'))
        return (np.array(coord.ra.value), np.array(coord.dec.value))