pymrio.calc_F_Y

pymrio.calc_F_Y(S_Y, y)

Calc total direct impacts from the impact coefficients of final demand.

Note:

S_Y will be restricted to the item available in y for the calculation. This allows to use a subset of Y (just some regions for example) to be used for the calculations. Only works when using pandas DataFrames/Series.

param S_Y

Direct impact coefficients of final demand

type S_Y

pandas.DataFrame or numpy.array

param y

Final demand column vector (e.g. mrio.Y.sum())

type y

pandas.DataFrame or numpy.array

returns

Total direct impacts of final demand F_Y The type is determined by the type of S_Y. If DataFrame index/columns as S_Y

rtype

pandas.DataFrame or numpy.array