analogdevicesinc / pyadi-iio

Python interfaces for ADI hardware with IIO drivers (aka peyote)
https://analogdevicesinc.github.io/pyadi-iio
Other
139 stars 101 forks source link

Ad9081 test fixes #566

Closed jpineda3 closed 1 month ago

jpineda3 commented 4 months ago

Fixes

test/test_ad9081.py::test_ad9081_iq_loopback fails for variants with different sampling_frequency between rx and tx device. With these modifications, the estimated frequency at rx is within tolerance, although some tests still fail because of peak value assertions.

Please delete options that are not relevant.

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist: