deprecated numpy np.float_
Got this issue when using find_fresnel_number() with numpy >=2.0