zooniverse / decals

Morphological classifications for the Galaxy Zoo-DECaLS collaboration
MIT License
7 stars 3 forks source link

Nair sample only joins exact iau name matches #9

Closed mwalmsley closed 6 years ago

mwalmsley commented 6 years ago

This limits the sample. Rounding is not clear. Should instead/also join on RA/DEC at a close limit. `

empirically, simple cut recovers more galaxies than rounding - let's not round for now

rounding
final_digits = float(iauname[-4:])
rounded_digits = np.around(final_digits, decimals=1)

remaining_string = iauname[:-4]

iauname_1dp = remaining_string + str(rounded_digits)

if debug:
    print('\n')
    print(iauname)
    print(len(iauname))
    print(final_digits)
    print(remaining_string)
    print(iauname_1dp)
    print(len(iauname_1dp))

`

mwalmsley commented 6 years ago

Resolved - now uses RA/DEC