openest.generate.calculation module¶
-
class
openest.generate.calculation.ApplicationEach(region, func, finishfunc=<function <lambda>>, *args, **kwargs)[source]¶ Bases:
openest.generate.calculation.ApplicationPass every set of values to the calculation for a value.
-
class
openest.generate.calculation.ApplicationPassCall(region, subapp, handler, *handler_args, **handler_kw)[source]¶ Bases:
openest.generate.calculation.ApplicationApply a non-enumerator to all elements of a function. if unshift, tack on the result to the front of a sequence of results. Calls func with each year and value; returns the newly computed value
-
class
openest.generate.calculation.Calculation(unitses)[source]¶ Bases:
object-
static
describe()[source]¶ Returns dictionary containing: - input_timerate: expected time rate of data, day, month, year, or any - output_timerate: expected time rate of data, day, month, year, or same - arguments: a list of subclasses of arguments.ArgumentType, describing each constructor argument - description: text description
-
enable_deltamethod()[source]¶ When applied, yield will contain arrays of coefficient multiplicands as a vector the length of the CSVV coefficients.
-
static
-
class
openest.generate.calculation.CustomFunctionalCalculation(subcalc, from_units, to_units, unshift, *handler_args, **handler_kw)[source]¶ Bases:
openest.generate.calculation.FunctionalCalculation,openest.generate.calculation.ApplicationCalculation that creates a copy of itself for an application.
-
class
openest.generate.calculation.FunctionalCalculation(subcalc, from_units, to_units, unshift, *handler_args, **handler_kw)[source]¶ Bases:
openest.generate.calculation.CalculationCalculation that calls a handler when it’s applied.
-
enable_deltamethod()[source]¶ When applied, yield will contain arrays of coefficient multiplicands as a vector the length of the CSVV coefficients.
-