Public Member Functions | Static Public Attributes

MGT::ParamScanApp::ParamGridGen Class Reference

List of all members.

Public Member Functions

def add
def grid

Static Public Attributes

tuple p2 = staticmethod(scalePow2)
 Short aliases to scale generating functions.

Detailed Description

Class that allows to add N 1D scales and then obtain a 1D record array enumerating all N-D values.
Example of use:
g = ParamGridGen()
g.add("C",g.p2(-6,4,2)).add("gamma",g.lin(0.01,10,0.2)).grid()

Member Function Documentation

def MGT::ParamScanApp::ParamGridGen::add (   self,
  name,
  values 
)
Add a scale (dimention) with a given name and values.
Use scaleXXX set of functions to construct the values.
def MGT::ParamScanApp::ParamGridGen::grid (   self )
Return a 1D record array enumerating all combinations of scales' values

The documentation for this class was generated from the following file: