Article A METHOD FOR AUTOMATIC COMPENSATION OF VIBRATIONS IN SHADOW DEVICE WITH THE USE OF OPTIMAL DISCRIMINATOR