Method for detecting of two different types of sleep spindles on electroencephalogram was offered. High precision of this method was demonstrated; it can be used in neurophysiological research of regularity of appearing of different patterns on electroencephalogram.