Useful Scripts

Here we have a collection of useful code examples with a description of what each does. If you're trying to do a new task, there might be a useful starting point here!

  • basic2DGridDataInterpolation.py - This is an example of how to start with three sets of numbers describing the x, y, and z values of a set of points, view these in the xy plane with the z axis represented by colors, with values between these points interpolated using scipy's griddata method. This is analogous to a pythonic TGraph2D, but with more flexibility in the interpolation and drawing.