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
Resultor aCascadeEnsembleyear (
float) – A scalar year to print results inpops – If a
Resultwas passed in, this can be any valid population aggregation. If aCascadeEnsemblewas 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
Resultwas passed in, this argument specifies which cascade to use. If aCascadeEnsemblewas passed in, then this argument is ignored because theCascadeEnsemblealready uniquely specifies the cascadepretty – If
True, absolute values will be rounded to integers and percentages to 2 sig figs
- Return type:
- Returns: