cBLUE-dev-team / cBLUE.github.io

cBLUE is a tool to calculate the total propagated uncertainty of bathymetric lidar data.
https://noaa-rsd.github.io/cBLUE.github.io/
GNU Lesser General Public License v2.1
12 stars 1 forks source link

Create gui_object in cBlueApp.py and average TVU and THU observation equation coefficients in model_process() in Subaqueous.py #60

Closed kiefk closed 1 year ago

kiefk commented 1 year ago

UserInput.py takes in the controller panel from the GUI and stores the information selected by the user for this run of cBLUE.

UserInput.py stores the variables:

Pass gui_object into tpu = Tpu() [line 643] instead of individually passing variables through in cBlueApp.py.

Refactored Tpu.py to handle the gui_object instead of individual variables.

In Subaqeuou.py replaced pandas.DataFrame.values (not recommended) with pandas.DataFrame.to_numpy recommended [lines 70, 71, 79, and 80]

In Subaqueous.py averaged the TVU and THU observation equation coefficients in model_process() and return the averaged values instead of the unaveraged ones. Allows for equivalent but faster matrix multiplication in fit_lut().