r.surf.gauss(1grass)

✨ r.surf.gauss ✨

okay bestie, welcome to the GRASS User's Manual page for r.surf.gauss πŸ’– this one is literally so fun, it makes random surfaces and it's giving main character energy.


🌸 NAME 🌸

r.surf.gauss β€” it generates a raster map using a gaussian random number generator. πŸŽ€

and the way that the mean AND the standard deviation of those gaussian deviates can both be expressed by you, the user? iconic. you're in charge. periodt.


πŸ”‘ KEYWORDS πŸ”‘

raster, surface, random


πŸ¦‹ SYNOPSIS πŸ¦‹

r.surf.gauss
r.surf.gauss --help
r.surf.gauss output=name  [mean=float]   [sigma=float]   [seed=integer]
[--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]

✨ Flags: ✨

  • --overwrite β€” lets your output files overwrite existing files. yes queen, bulldoze them 🫢
  • --help β€” prints the usage summary, iykyk
  • --verbose β€” verbose module output, so it tells you everything πŸ’…
  • --quiet β€” quiet module output, so it tells you nothing πŸ™ˆ
  • --ui β€” forces the GUI dialog to launch

πŸ’œ Parameters: πŸ’œ

  • output=name [required] β€” the name for your output raster map. you gotta name it, no cap, it's required
  • mean=float β€” the distribution mean. Default: 0.0
  • sigma=float β€” the standard deviation. Default: 1.0
  • seed=integer β€” the seed value for the random number generator. using the same seed ensures identical results, while a randomly generated seed produces different outcomes in each run πŸ”₯

🧚 DESCRIPTION 🧚

so r.surf.gauss produces a raster map of Gaussian deviates, and the mean and standard deviation of those deviates can be expressed by the user. it uses a Gaussian random number generator. lowkey it's essentially the same as r.surf.random, except it uses a Gaussian random number generator instead. that's the whole vibe. πŸ’–


🌈 EXAMPLE 🌈

g.region -p n=228500 s=215000 w=630000 e=645000 res=10
r.surf.gauss out=gauss mean=0 sigma=10
# check result
r.univar gauss

Figure: Random Gaussian surface example (mean: 0; sigma: 10) ✨

with the histogram tool the cell values versus count can be shown. so cute.

Figure: Histogram of random Gaussian surface example (mean: 0; sigma: 10) πŸ“Š


πŸ‘‘ SEE ALSO πŸ‘‘

r.surf.contour, r.surf.fractal, r.surf.idw, r.surf.random, v.surf.rst


πŸ’– AUTHOR πŸ’–

Jo Wood, ASSIST's home 🫢


⭐ SOURCE CODE ⭐

Available at: r.surf.gauss source code (history)

Latest change: Thursday Mar 06 19:23:31 2025 in commit: 5fd4234a4f6ab09eb244c67111a1db2d84b6d0fe

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual


and that's the whole page bestie πŸ’… this was r.surf.gauss(1grass) from the GRASS User's Manual, running on GRASS 8.5.0 β€” go make some gaussian noise, slay, and remember: same seed, same result. periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from