def METHOD_NAME(self):
    signal = Signal(get_path_for_data_file("elektromaten.complex16s"), "")
    signal.noise_threshold_relative = 0.1
    segments = segment_messages_from_magnitudes(signal.iq_array.magnitudes, noise_threshold=signal.noise_threshold)
    segments = merge_message_segments_for_ook(segments)
    self.assertEqual(len(segments), 11)