chipmuenk / pyfda

Python Filter Design Analysis Tool
http://chipmuenk.github.io/
MIT License
644 stars 94 forks source link

Editing fixpoint scaling of coefficients doesn't automatically update W and scale #177

Closed chipmuenk closed 3 years ago

chipmuenk commented 4 years ago

When coefficients are displayed with fixpoint scaling, the scale factor is calculated automatically using scale = 2**WI. The Real-World Value (RWV) is calculated by dividing the fixpoint value by scale. This works for the modes "integer" (WF = 0) and "normalized fractional" (WI = 0) but not for "fractional":

chipmuenk commented 3 years ago

Integrating into #189.