MCPcopy Create free account
hub / github.com/IBM/AssetOpsBench / test_basic

Method test_basic

src/servers/vibration/tests/test_dsp.py:115–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

113
114class TestEnvelopeSpectrum:
115 def test_basic(self):
116 result = envelope_spectrum(SINE_120, SR)
117 assert "frequencies" in result
118 assert "envelope_spectrum" in result
119 assert "filter_band" in result
120
121 def test_custom_band(self):
122 result = envelope_spectrum(SINE_120, SR, band_low=50.0, band_high=200.0)

Callers

nothing calls this directly

Calls 1

envelope_spectrumFunction · 0.90

Tested by

no test coverage detected