Skip to main content

Aggregation

GitHub source

Aggregation

evo.blockmodels.typed.report.Aggregation

Aggregation methods for report columns.

Use these values for the aggregation parameter in ReportColumnSpec.

Example: >>> col = ReportColumnSpec( ... column_name="Au", ... aggregation=Aggregation.MASS_AVERAGE, ... output_unit_id="g/t", ... )

SUM

SUM = 'SUM'

Sum of values - use for metal content, volume, tonnage, etc.

MASS_AVERAGE

MASS_AVERAGE = 'MASS_AVERAGE'

Mass-weighted average - use for grades, densities, quality metrics, etc.

What is the reason for your feedback?