code: def _iterate_mft(
      series,
      mft_data,
      phis,
      window_size,
      stds,
      transformed,
      inverse_sqrt_win_size,
  ):
      for i in range(1, len(transformed)):
          for n in range(0, len(mft_data), 2):
              # only compute needed indices
              real = (
                  mft_data[n]
                  + series[i + window_size - 1]
                  - series[i - 1]
              )
              imag = mft_data[n + 1]
              mft_data[n] = real * phis[n] - imag * phis[n + 1]
              mft_data[n + 1] = real * phis[n + 1] + phis[n] * imag
  
          normalising_factor = inverse_sqrt_win_size / stds[i]
          transformed[i] = mft_data * normalising_factor
  
file_path: sktime/sktime/transformations/panel/dictionary_based/_sfa_numba.py
imports: import math
  import numpy
  from sktime.utils.numba.njit import njit
label_desc: Use image node_id 3 for calling a global function with example usage: _iterate_mft(series, mft_data, phis, window_size, stds, transformed, inverse_sqrt_win_size) without return types