We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f767e04 commit 1cbffe0Copy full SHA for 1cbffe0
src/ram_geometry.jl
@@ -311,15 +311,15 @@ function calc_inertia_y_rotation(I_b_tensor)
311
end
312
313
"""
314
- interpolate_matrix_nans!(matrix::Matrix{Float64})
+ interpolate_matrix_nans!(matrix::Matrix{Float64}; prn=true)
315
316
Replace NaN values in a matrix by interpolating from nearest non-NaN neighbors.
317
Uses an expanding search radius until valid neighbors are found.
318
319
# Arguments
320
- `matrix`: Matrix containing NaN values to be interpolated
321
322
-function interpolate_matrix_nans!(matrix::Matrix{Float64}; plt=true)
+function interpolate_matrix_nans!(matrix::Matrix{Float64}; prn=true)
323
rows, cols = size(matrix)
324
nans_found = 0
325
while any(isnan, matrix)
0 commit comments