Effect of glass composition on the physical properties and luminescence of Pr 3+ ion‐doped chalcogenide glasses