ZATAN-uMaine / vismod

MIT License
2 stars 0 forks source link

PreProcessor Refactor: Modularize and Seperate Channel Processing #136

Open tKharvud opened 4 months ago

tKharvud commented 4 months ago

Right now channels are calibrated all in the same iteration of a for loop, this makes the assumption that they are all the same length and makes catching NaN entries more difficult. A refactor of the way this is done would be beneficial.

One way would be to use the calibration coefficients as the iterator, I think we could derive this from the calib table with dictionary comprehension to get a list of calibration value keys to iterate over. Alternatively the calib_table could be restructured.