code: def _gen_mne(
      active_cov, baseline_cov, common_cov, fwd, info, method="dSPM"
  ):
      inverse_operator = make_inverse_operator(info, fwd, common_cov)
      stc_act = apply_inverse_cov(
          active_cov,
          info,
          inverse_operator,
          method=method,
          verbose=True,
      )
      stc_base = apply_inverse_cov(
          baseline_cov,
          info,
          inverse_operator,
          method=method,
          verbose=True,
      )
      stc_act /= stc_base
      return stc_act
  
file_path: mne-python/examples/inverse/evoked_ers_source_power.py
imports: import numpy
  import mne
  from mne.beamformer import apply_dics_csd, apply_lcmv_cov, make_dics, make_lcmv
  from mne.cov import compute_covariance
  from mne.datasets import somato
  from mne.minimum_norm import apply_inverse_cov, make_inverse_operator
  from mne.time_frequency import csd_morlet
label_desc: Use image node_id 3 for calling a global function with example usage: _gen_mne(active_cov, baseline_cov, common_cov, fwd, info, method) and returns: stc_act