class_docstr: Test the PsychoacousticMasker.
class_docstr_tok: ["Test","the","PsychoacousticMasker","."]
code: def test_power_spectral_density(self, art_warning, audio_sample):
      try:
          test_input = audio_sample
  
          masker = PsychoacousticMasker()
          psd_matrix, psd_max = masker.power_spectral_density(
              test_input
          )
  
          assert psd_matrix.shape == (masker.window_size // 2 + 1, 28)
          assert np.floor(psd_max) == 78.0
      except ARTTestException as e:
          art_warning(e)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import numpy
  import pytest
  from art.attacks.attack import EvasionAttack
  from art.attacks.evasion.imperceptible_asr.imperceptible_asr import ImperceptibleASR, PsychoacousticMasker
  from tests.utils import ARTTestException
label_desc: Use image node_id 1 for calling the TestPsychoacousticMasker obj's underlying member method code with example usage: obj.test_power_spectral_density(art_warning, audio_sample) without return types