The effect of the spin–orbit coupling on the physical properties of ScGa3 and LuGa