From e14309be93cf1fe9d62247581f934d70b1827017 Mon Sep 17 00:00:00 2001 From: Pierre Alexandre Tremblay Date: Sat, 7 Aug 2021 10:19:01 +0100 Subject: [PATCH] slight addition to grid help --- release-packaging/HelpSource/Classes/FluidGrid.schelp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/release-packaging/HelpSource/Classes/FluidGrid.schelp b/release-packaging/HelpSource/Classes/FluidGrid.schelp index 542a813..3b910d7 100644 --- a/release-packaging/HelpSource/Classes/FluidGrid.schelp +++ b/release-packaging/HelpSource/Classes/FluidGrid.schelp @@ -107,7 +107,7 @@ w.front; :: -STRONG::A more colourful example:: +STRONG::A more colourful example exploring oversampling:: code:: @@ -178,6 +178,9 @@ w.front; }); ) +// We can check the dimensions of the yielded grid by dumping the normalisation.The grid coordinates are zero-counting +~normalizer.dump{|x|x["data_max"].postln} + // This looks ok, but let's improve it with oversampling ( ~grid.oversample_(3).fitTransform(~reduced,~gridified,action:{"Gridded Output".postln; @@ -191,4 +194,8 @@ w.front; }); }); ) + +// Again, checking the normalisation dump to check the maxima of each dimension +~normalizer.dump{|x|x["data_max"].postln} + ::