Parameter helpers#

get_soft_bounds(bounds, softbounds)

For each soft bound (upper and lower), if there is a defined bound (not equal to None) and does not exceed the hard bound, then it is returned.

guess_bounds(params, **overrides)

Given a dictionary of Parameter instances, return a corresponding set of copies with the bounds appropriately set.

guess_param_types(**kwargs)

Given a set of keyword literals, promote to the appropriate parameter type based on some simple heuristics.

param_union(*parameterizeds[, warn])

Given a set of Parameterized objects, returns a dictionary with the union of all param name,value pairs across them.

ParamOverrides(overridden, dict_[, ...])

A dictionary that returns the attribute of a specified object if that attribute is not present in itself.