code: def _test_fourier_multitaper_parameters(
      epochs, csd_epochs, csd_array
  ):
      """Parameter tests for csd_*_fourier and csd_*_multitaper."""
      raises(ValueError, csd_epochs, epochs, fmin=20, fmax=10)
      raises(
          ValueError,
          csd_array,
          epochs._data,
          epochs.info["sfreq"],
          epochs.tmin,
          fmin=20,
          fmax=10,
      )
      raises(ValueError, csd_epochs, epochs, fmin=20, fmax=20.1)
      raises(
          ValueError,
          csd_array,
          epochs._data,
          epochs.info["sfreq"],
          epochs.tmin,
          fmin=20,
          fmax=20.1,
      )
      raises(ValueError, csd_epochs, epochs, tmin=0.15, tmax=0.1)
      raises(
          ValueError,
          csd_array,
          epochs._data,
          epochs.info["sfreq"],
          epochs.tmin,
          tmin=0.15,
          tmax=0.1,
      )
      raises(ValueError, csd_epochs, epochs, tmin=-1, tmax=10)
      raises(
          ValueError,
          csd_array,
          epochs._data,
          epochs.info["sfreq"],
          epochs.tmin,
          tmin=-1,
          tmax=10,
      )
      raises(ValueError, csd_epochs, epochs, tmin=10, tmax=11)
      raises(
          ValueError,
          csd_array,
          epochs._data,
          epochs.info["sfreq"],
          epochs.tmin,
          tmin=10,
          tmax=11,
      )
  
      # Test checks for data types and sizes
      diff_types = [np.random.randn(3, 5), "error"]
      err_data = [np.random.randn(3, 5), np.random.randn(2, 4)]
      raises(ValueError, csd_array, err_data, sfreq=1)
      raises(ValueError, csd_array, diff_types, sfreq=1)
      raises(ValueError, csd_array, np.random.randn(3), sfreq=1)
  
imports: import pickle
  from itertools import product
  from os import path
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from pytest import raises
  import mne
  from mne.channels import equalize_channels
  from mne.proj import Projection
  from mne.time_frequency import CrossSpectralDensity, csd_array_fourier, csd_array_morlet, csd_array_multitaper, csd_fourier, csd_morlet, csd_multitaper, csd_tfr, pick_channels_csd, read_csd, tfr_morlet
  from mne.time_frequency.csd import _sym_mat_to_vector, _vector_to_sym_mat
  from mne.utils import sum_squared
label_desc: Use image node_id 14 for calling a global function with example usage: _test_fourier_multitaper_parameters(epochs, csd_epochs, csd_array) without return types