add keywords for all nodes

This commit is contained in:
2026-04-04 14:58:56 -07:00
parent 69f1d1bebd
commit a0d3b22f18
195 changed files with 437 additions and 198 deletions

View File

@@ -25,11 +25,13 @@ class SlopeDistribution:
DESCRIPTION = (
"Compute the angular slope distribution of a DATA_FIELD surface. "
"'theta' is the inclination angle (0max°), probability density (1/deg); "
"'phi' is the azimuthal slope direction (0360°), weighted by slope² (z/xy)²; "
"'theta' is the inclination angle (0-max°), probability density (1/deg); "
"'phi' is the azimuthal slope direction (0-360°), weighted by slope² (z/xy)²; "
"'gradient' is the gradient magnitude distribution, probability density (1/(z/xy)). "
)
KEYWORDS = ("angle", "inclination", "azimuth", "theta", "phi", "facet", "histogram")
def process(self, field: DataField, distribution: str, n_bins: int) -> tuple:
from backend.nodes.surface_common import physical_sobel_gradient, slope_unit as _slope_unit