Homemade Q-Switch for Solid State Lasers