code: def test_harmonic_to_sinusoidal_removes_nyquist_f0(self):
      f0_hz = np.asarray([200, 400, 8001])[np.newaxis, :, np.newaxis]
      harm_amps = np.ones(shape=(1, 3, 3))
      harm_amps /= np.sum(harm_amps, axis=-1, keepdims=True)
      amps, sin_freqs = core.harmonic_to_sinusoidal(
          10, harm_amps, f0_hz
      )
      sin_freqs = np.squeeze(sin_freqs)
      f0_hz = np.squeeze(f0_hz)
      expected_amps_f0 = harm_amps[..., 0] * 10
      expected_amps_f0[:, 2] = 0
      self.assertAllClose(amps[..., 0], expected_amps_f0)
      self.assertAllClose(sin_freqs[..., 0], f0_hz)
      self.assertAllClose(sin_freqs[..., 1], f0_hz * 2)
      self.assertAllClose(sin_freqs[..., 2], f0_hz * 3)
  
imports: from absl.testing import parameterized
  from ddsp import core
  import librosa
  import numpy
  from scipy import signal
  import tensorflow.compat.v2
label_desc: Use image node_id 8 for calling the UtilitiesTest obj's underlying member method code with example usage: obj.test_harmonic_to_sinusoidal_removes_nyquist_f0() without return types