From f7418bf74dc458cb14992e1568d92face3c87aa6 Mon Sep 17 00:00:00 2001 From: Romain Hugonnet Date: Thu, 5 Dec 2024 17:58:43 -0900 Subject: [PATCH] Add random state --- doc/source/uncertainty.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/uncertainty.md b/doc/source/uncertainty.md index 095149b6..f30e0855 100644 --- a/doc/source/uncertainty.md +++ b/doc/source/uncertainty.md @@ -79,7 +79,7 @@ tba_dem_coreg = tba_dem.coregister_3d(ref_dem, inlier_mask=inlier_mask) ```{code-cell} ipython3 # Estimate elevation uncertainty assuming both DEMs have similar precision -sig_dem, rho_sig = tba_dem_coreg.estimate_uncertainty(ref_dem, stable_terrain=inlier_mask, precision_of_other="same") +sig_dem, rho_sig = tba_dem_coreg.estimate_uncertainty(ref_dem, stable_terrain=inlier_mask, precision_of_other="same", random_state=42) # The error map variability is estimated from slope and curvature by default sig_dem.plot(cmap="Purples", cbar_title=r"Error in elevation (1$\sigma$, m)")