thumb|right|350px A K-complex is a waveform that may be seen on an electroencephalogram (EEG). It occurs during stage 2 NREM sleep. It is the "largest event in healthy human EEG". They are more frequent in the first sleep cycles.
thumb|right|350px A K-complex is a waveform that may be seen on an electroencephalogram (EEG). It occurs during stage 2 NREM sleep. It is the "largest event in healthy human EEG". They are more frequent in the first sleep cycles.
K-complexes have two proposed functions: first, suppressing cortical arousal in response to stimuli that the sleeping brain evaluates not to signal danger, and second, aiding sleep-based memory consolidation.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).