code: def test_chromafb(infile):
      DATA = load(infile)
  
      octwidth = DATA["octwidth"][0, 0]
      if octwidth == 0:
          octwidth = None
  
      # Convert A440 parameter to tuning parameter
      A440 = DATA["a440"][0, 0]
  
      tuning = DATA["nchroma"][0, 0] * (np.log2(A440) - np.log2(440.0))
  
      wts = librosa.filters.chroma(
          sr=DATA["sr"][0, 0],
          n_fft=DATA["nfft"][0, 0],
          n_chroma=DATA["nchroma"][0, 0],
          tuning=tuning,
          ctroct=DATA["ctroct"][0, 0],
          octwidth=octwidth,
          norm=2,
          base_c=False,
      )
  
      # Our version only returns the real-valued part.
      # Pad out.
      wts = np.pad(
          wts,
          [(0, 0), (0, DATA["nfft"][0, 0] // 2 - 1)],
          mode="constant",
      )
  
      assert wts.shape == DATA["wts"].shape
      assert np.allclose(wts, DATA["wts"])
  
imports: import os
  from contextlib import nullcontext
  import warnings
  import glob
  import numpy
  import scipy.io
  import scipy.signal
  from typing import Any, ContextManager
  import pytest
  import librosa
label_desc: Use image node_id 11 for calling a global function with example usage: test_chromafb(infile) without return types