tknopp / RedPitayaDAQServer

Advanced DAQ Tools for the RedPitaya (STEMlab 125-14)
https://tknopp.github.io/RedPitayaDAQServer/dev/
Other
37 stars 10 forks source link

Fix gain error #86

Closed jonschumacher closed 1 month ago

jonschumacher commented 4 months ago

A compensation for the gain change by the CIC was missing. This results in different scalings when changing decimations.

The result for a simple DC offset looks then like the following picture: Bild

A fix is described in https://support.xilinx.com/s/question/0D52E00006hpfy6SAA/cic-filter-gain?language=en_US. I added this fix to the application of the calibration in the client. The raw data from the server is thus not corrected. This is intended since at that point we are still working with integers. Only after calibration we get floatinbg point numbers.

@jusack Please check if this solves your problem. @nHackel Could you please create a new release?

nHackel commented 4 months ago

I've built a release. If this fix works I can create a new "official" release with the image. I could also preemptively do that if you need access to the image to test everything @jusack. Then we just alter overwrite it or something like that