Determination of non-linear refractive index of laser crystals and ceramics via different optical techniques