template.class_template.SymmetryOrbitEQN._default_parameter_ranges

classmethod SymmetryOrbitEQN._default_parameter_ranges()[source]

Intervals (continuous) or iterables (discrete) used to populate parameters.

Notes

tuples or length two are always interpreted to be continuous intervals. If you have a discrete variable with two options, simply use a list instead of tuple. Discrete variables are populated by using random choice from the provided collection.

Examples

The following defaults:

>>> defaults = {'t': (0, 10), 'n': ['hi', 'I', 'am', 'an', 'example'], 'constantnum':(0, 1, 2, 3)}

Would, if a call to Orbit.populate() was made would initialize the parameters by choosing a real valued number between 0 and 10 for t, a string from the available options for n, and a number from the tuple of choices for constantnum. In other words, continuous ranges of values are always given by an “interval” tupole.