|
20 | 20 | 'pad_to_zero_dxdt': True, |
21 | 21 | 'high_freq_cutoff': [1e-3, 5e-2, 1e-2, 5e-2, 1e-1]}, |
22 | 22 | {'high_freq_cutoff': (1e-5, 1-1e-5)}), |
23 | | - polydiff: ({'step_size': 1, |
| 23 | + polydiff: ({'step_size': [1, 2, 5], |
24 | 24 | 'kernel': 'friedrichs', |
25 | 25 | 'poly_order': [2, 3, 5, 7], |
26 | 26 | 'window_size': [11, 31, 51, 91, 131]}, |
27 | | - {'poly_order': (1, 8), |
| 27 | + {'step_size': (1, 100), |
| 28 | + 'poly_order': (1, 8), |
28 | 29 | 'window_size': (10, 1000)}), |
29 | 30 | savgoldiff: ({'poly_order': [2, 3, 5, 7, 9, 11, 13], |
30 | 31 | 'window_size': [3, 10, 30, 50, 90, 130, 200, 300], |
|
41 | 42 | 'order': 3, |
42 | 43 | 'gamma': [1e-1, 1, 10, 100], |
43 | 44 | 'window_size': [10, 30, 50, 90, 130]}, |
44 | | - {'gamma': (1e-3, 1000), |
| 45 | + {'order': (1, 5), |
| 46 | + 'gamma': (1e-3, 1000), |
45 | 47 | 'window_size': (15, 1000)}), |
46 | 48 | first_order: ({'num_iterations': [5, 10, 30, 50]}, |
47 | 49 | {'num_iterations': (1, 1000)}), |
@@ -130,8 +132,8 @@ def optimize(func, x, dt, search_space={}, dxdt_truth=None, tvgamma=1e-2, paddin |
130 | 132 | structured as :code:`{param1:[values], param2:[values], param3:value, ...}`. The search space |
131 | 133 | is the Cartesian product. If left None, a default search space of initial values is used. |
132 | 134 | :param np.array[float] dxdt_truth: actual time series of the derivative of x, if known |
133 | | - :param float tvgamma: regularization value used to select for parameters that yield a smooth derivative. |
134 | | - Larger value results in a smoother derivative |
| 135 | + :param float tvgamma: Only used if :code:`dxdt_truth` is given. Regularization value used to select for parameters |
| 136 | + that yield a smooth derivative. Larger value results in a smoother derivative. |
135 | 137 | :param int padding: number of time steps to ignore at the beginning and end of the time series in the |
136 | 138 | optimization. Larger value causes the optimization to emphasize the accuracy of dxdt in the |
137 | 139 | middle of the time series |
|
0 commit comments