def table(cluster):
teffs = teff(cluster)<EOL>lums = luminosity(cluster)<EOL>arr = cluster.to_array()<EOL>i = <NUM_LIT:0><EOL>for row in arr:<EOL><INDENT>row['<STR_LIT>'][<NUM_LIT:0>] = np.array([lums[i]], dtype='<STR_LIT:f>')<EOL>row['<STR_LIT>'][<NUM_LIT:0>] = np.array([teffs[i]], dtype='<STR_LIT:f>')<EOL>i += <NUM_LIT:1><EOL><DEDENT>arr = round_arr_teff_luminosity(arr)<EOL>return arr<EOL>
Create a numpy.ndarray with all observed fields and
computed teff and luminosity values.