The utilities package is the standard home for shared functions which many modules may use. The spirit of utilities is also to isolate sections of critical code so that unit tests can be used to ensure a minimum of bugginess.
More affectionately known as “bit-twiddling.”
Evaluate a rotated 3D sinusoidal wave at a given point, angle, and wavelength.
The function used is:
This function has a handful of useful properties; it has a local minimum at f(0, 0) and oscillates infinitely betwen 0 and 1.
Parameters: | |
---|---|
Returns: | float of f(x, y) |