code: def catch22_wrapper(catch22_all: Callable) -> FuncWrapper:
      """Wrapper enabling compatibility with catch22.
  
      [catch22](https://github.com/chlubba/catch22) is a collection of 22 time series
      features that are a high-performing subset of the over 7000 features in hctsa.
      -> [Python bindings](https://github.com/DynamicsAndNeuralSystems/pycatch22)
  
      By using this wrapper, we can plug the catch22 features in a tsflex
      ``FeatureCollection``.
      This enables to easily extract the catch22 features while leveraging the flexibility
      of tsflex.
  
      .. Note::
          This wrapper wraps the `catch22_all` function from `pycatch22`.
          See more [here](https://github.com/chlubba/catch22/blob/master/wrap_Python/catch22/catch22.py).
  
      Example
      -------
      ```python
      from tsflex.features import FeatureCollection, MultipleFeatureDescriptors
      from tsflex.features.integrations import catch22_wrapper
      from pycatch22 import catch22_all
  
      catch22_feats = MultipleFeatureDescriptors(
          functions=catch22_wrapper(catch22_all),
          series_names=["sig_0", "sig_1"],  # list of signal names
          windows="15min", strides="2min",
      )
  
      fc = FeatureCollection(catch22_feats)
      fc.calculate(data)  # calculate the features on your data
      ```
  
      Parameters
      ----------
      catch22_all: Callable
          The `catch22_all` function from the `pycatch22` package.
  
      Returns
      -------
      FuncWrapper
          The wrapped `catch22_all` function that is compatible with tsflex.
          This FuncWrapper will output the 22 catch22 features.
  
      """
      catch22_names = catch22_all([0])["names"]
  
      def wrap_catch22_all(x):
          return catch22_all(x)["values"]
  
      wrap_catch22_all.__name__ = "[wrapped]__" + _get_name(catch22_all)
      return FuncWrapper(wrap_catch22_all, output_names=catch22_names)
  
file_path: tsflex/tsflex/features/integrations.py
imports: import importlib
  from typing import Callable, Dict, List, Optional, Union
  import numpy
  import pandas
  from .function_wrapper import FuncWrapper, _get_name
label_desc: Use image node_id 6 for calling a global function with example usage: catch22_wrapper(catch22_all) and returns: FuncWrapper, catch22_all