speed: small improvement by removing `_g_cy`
convert `lum` to `np.float64` (equiv. to `float`) instead of `float32`
remove extra line break