Grid normalisation
I want to normalise the existing values in grid to 0-1
i use the equation in grid math:
G0 = (G1 - min(G1)) / (max(G1) - min(G1))
I also tried this
G0 = (G1 - min(G1, G1)) / (max(G1, G1) - min(G1, G1))
But both do not work.
please advice how to write the equation in grid math.
Answers
-
I think it should be
G0 = (G1 - G1.min)/(G1.max - G1.min)
0 -
it does not work.
its asking me to assign grids for g1.min and g1.max0 -
Interesting. I would report it as a bug to support.
0 -
i guess i understand you - you mean insert exact values for min and max?
i want grid math to insert these values automatically from grid or this is not possible?0 -
No, I was trying to use the syntax for the min and max function that is described in the help. I just tried it and it worked.
The stats of the output grid norm are between 0 and 1
Not sure why it doesn't work on your OM installation. That is why I suggested that you report it is a bug.
Sean
6
Categories
- All Categories
- 311 Community
- 3 Get Started
- 18 Latest Releases
- 17 Member Spotlight
- 42 Learning
- 1.1K Products
- 567 Geology
- 540 Leapfrog
- 1 Volsung
- 26 Visible Geology
- 36 Data Management & Collaboration
- 14 MX Deposit
- 13 Central
- 9 Imago
- 138 Geotechnical
- 138 GeoStudio
- 334 Geophysics
- 323 Oasis montaj
- 1 Workbench
- SPIA
- 10 Res2DInv & Res3DInv
- 3 Evo
- 27 GX Developer


