We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d490a89 commit b38167dCopy full SHA for b38167d
1 file changed
autotune/data_extractor.py
@@ -161,6 +161,7 @@ def resampleIdentificationData(t_u_data, u_data, t_y_data, y_data, t_v_data, v_d
161
v_aligned = []
162
163
if len(v_data) > 0:
164
+ v_data = np.nan_to_num(v_data, nan=1000)
165
v_aligned = resample_interp(t_v_data, v_data, t_aligned)
166
167
return (t_aligned, u_aligned, y_aligned, v_aligned)
0 commit comments