code: def test_n_welch_windows(raw):
      """Test computation of welch windows https://mne.discourse.group/t/5734."""
      with raw.info._unlock():
          raw.info["sfreq"] = 999.412109375
      raw.compute_psd(
          method="welch",
          n_fft=999,
          n_per_seg=999,
          n_overlap=250,
          average=None,
      )
  
imports: from functools import partial
  import numpy
  import pytest
  from matplotlib.colors import same_color
  from numpy.testing import assert_array_equal
  from mne import Annotations
  from mne.time_frequency import read_spectrum
  from mne.time_frequency.spectrum import EpochsSpectrumArray, SpectrumArray
label_desc: Use image node_id 3 for calling a global function with example usage: test_n_welch_windows(raw) without return types