Tax-Calculator GrowDiff#

Tax-Calculator GrowDiff


class taxcalc.growdiff.GrowDiff[source]#

GrowDiff is a subclass of the abstract Parameters class, and therefore, inherits its methods (none of which are shown here).

Constructor for GrowDiff class.




class instance

Return type:



Apply updated GrowDiff values to specified GrowFactors instance.


Returns true if any parameter is non-zero for any year; returns false if all parameters are zero in all years.

static read_json_update(obj, topkey)[source]#

Return a revision dictionary suitable for use with update_growdiff method generated from the specified JSON object, which can be None or a string containing a local filename, a URL beginning with ‘http’ pointing to a valid JSON file hosted online, or a valid JSON text.

update_growdiff(revision, print_warnings=True, raise_errors=True)[source]#

Update growdiff default values using specified revision dictionary. See Parameters._update for argument documentation and details about the expected structure of the revision dictionary.