code: def get_params_mapping(params):
      """Transform parameters names.
  
      From KalmanFilterTransformerPK, KalmanFilterTransformerFP naming forms to
      `pykalman-bardo`'s naming form.
      """
      params_mapping = {
          "state_transition": "transition_matrices",
          "process_noise": "transition_covariance",
          "measurement_offsets": "observation_offsets",
          "transition_offsets": "transition_offsets",
          "measurement_noise": "observation_covariance",
          "measurement_function": "observation_matrices",
          "initial_state": "initial_state_mean",
          "initial_state_covariance": "initial_state_covariance",
      }
      if params is None:
          return None
      if isinstance(params, str) and params == "all":
          return list(params_mapping.values())
      return [params_mapping[param] for param in params]
  
file_path: sktime/sktime/transformations/series/tests/test_kalman_filter.py
imports: import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal
  from sktime.transformations.series.kalman_filter import KalmanFilterTransformerFP, KalmanFilterTransformerPK
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 3 for calling a global function with example usage: get_params_mapping(params) and returns: unknown, None, list