code: def test_power_spec(self):
      np.testing.assert_almost_equal(
          max_power_spectrum(const0, Fs), 0.0
      )
      np.testing.assert_almost_equal(
          max_power_spectrum(const1, Fs), 0.0
      )
      np.testing.assert_almost_equal(
          max_power_spectrum(constNeg, Fs), 0.0
      )
      np.testing.assert_almost_equal(
          max_power_spectrum(constF, Fs), 0.0
      )
      np.testing.assert_almost_equal(
          max_power_spectrum(lin, Fs), 0.004621506382612649
      )
      np.testing.assert_almost_equal(
          max_power_spectrum(lin0, Fs), 0.0046215063826126525, decimal=5
      )
      np.testing.assert_almost_equal(
          max_power_spectrum(wave, Fs), 0.6666666666666667, decimal=5
      )
      np.testing.assert_almost_equal(
          max_power_spectrum(offsetWave, Fs),
          0.6666666666666667,
          decimal=5,
      )
      np.testing.assert_almost_equal(
          max_power_spectrum(noiseWave, Fs),
          0.6570878541643916,
          decimal=5,
      )
  
imports: import unittest
  import numpy
  from tsfel.feature_extraction.features import *
label_desc: Use image node_id 38 for calling the TestFeatures obj's underlying member method code with example usage: obj.test_power_spec() without return types