pub fn extract_pattern_series<'a>( output: &'a PatternRecognitionOutput, pattern_id: &str, ) -> Option<&'a [u8]>