grade_tonnage
builtin
¶
grade_tonnage(
values,
cutoffs,
*,
weights=None,
density=None,
categories=None,
data=None,
)
Grade-tonnage curve straight from the data: tonnage, mean grade and metal at or above each cutoff.
Each value stands for weights × density tonnes, e.g. block volumes and
densities, or composite lengths.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
values
|
array_like or str
|
Grades, or their column in |
required |
cutoffs
|
array_like
|
Cutoff grades in the unit of the values, or texts such as
|
required |
weights
|
array_like or str
|
Volume or declustering weight of each value; default the volumes of a
BlockModel |
None
|
density
|
(float, array_like or str)
|
Density of each value; default 1. |
None
|
categories
|
array_like or str
|
Category (e.g. domain) of each value, int or str; adds a curve per category. |
None
|
data
|
(PointSet, BlockModel, Table or dict)
|
Where column names are looked up. |
None
|
Returns:
| Type | Description |
|---|---|
Table
|
|
used in