'Map the supplied function onto each Parameter.
Map the supplied function onto each Parameter (with an optional filter
function) and return the resulting dictionary.'

def map(self, func, filter_func=(lambda p: True)):

    return dict(((n, func(p)) for (n, p) in six.iteritems(self.params) if filter_func(p)))
