atomica.cascade.cascade_summary¶
- atomica.cascade.cascade_summary(source_data, year, pops=None, cascade=0)[source]¶
Print summary of cascade
This function takes in results, either as a Result or list of Results, or as a CascadeEnsemble.
- Parameters:
source_data – A
Result
or aCascadeEnsemble
year (
float
) – A scalar year to print results inpops – If a
Result
was passed in, this can be any valid population aggregation. If aCascadeEnsemble
was passed in, then this must match the name of one of the population aggregations stored in the Ensemble (i.e. it must be an item contained in CascadeEnsemble.pops)cascade – If a
Result
was passed in, this argument specifies which cascade to use. If aCascadeEnsemble
was passed in, then this argument is ignored because theCascadeEnsemble
already uniquely specifies the cascadepretty – If
True
, absolute values will be rounded to integers and percentages to 2 sig figs
- Return type:
- Returns: