analogdevicesinc / pyadi-iio

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

Update SI converstion #507

Closed tfcollins closed 6 months ago

tfcollins commented 6 months ago

Use equation (raw+offset)*scale for IIO property conversion

Description

Fix conversion equation for SI conversion

Type of change

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:

Documentation

If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.

Checklist:

github-actions[bot] commented 6 months ago

Generated documentation for this PR is available at Link

github-actions[bot] commented 6 months ago

Unit Test Results

1 399 tests  ±0      252 :heavy_check_mark: ±0   9m 12s :stopwatch: ±0s        1 suites ±0   1 147 :zzz: ±0         1 files   ±0          0 :x: ±0 

Results for commit 63872642. ± Comparison against base commit ca881753.

:recycle: This comment has been updated with latest results.