CU-Denver-UQ / LUQ

Learning Uncertain Quantities
Other
1 stars 3 forks source link

Re-evaluating already filtered data #23

Closed taylor-s-roper closed 6 months ago

taylor-s-roper commented 6 months ago

Reorganized luq.py and rbf_fit.py to include learned filtering parameters as attributes for LUQ. Added new method to LUQ called new_data_coordinates that re-evaluates filtered data at new data coordinates. This required changing some examples notebooks/script to refer to filtered_obs_params (new attribute which is named in more general terms since it's used for splines and RBF filtering) instead of obs_knots (removed) for the examples using spline filtering.

Also made minor unrelated edits to splines.py to allow data coordinates array to be out of order whereas previously assumed to be ordered from least to greatest time coordinates.