vtwireless / HLSI

Web Pages and Interactive Components supporting HLSI curriculum
MIT License
0 stars 5 forks source link

Refactor SINR calculation code #32

Closed carldietrich2 closed 1 year ago

carldietrich2 commented 2 years ago

Put all SINR calculation code in a function.
Also, apply any scaling factors used to display data separately from the SINR calculation.

carldietrich2 commented 2 years ago

Future step is to update all simulations that use SINR or SNR to use the new SINR function, then check each simulation and compare against main branch as needed to ensure that the refactored code is not breaking any of the simulations.

npolys commented 1 year ago

Basic (ideal filter) is refactored and now a method on the signal object ; new SINR calcs for the other cases any require this methods to take parameters