Skip to content

capping builtin

capping(values, *, weights=None, caps=None, data=None)

Metal removed and statistics after capping at each of caps.

Parameters:

Name Type Description Default
values array_like or str

Values, or their column in data; NaN is skipped.

required
weights array_like or str

Declustering weights; default the volumes of a BlockModel data, else 1.

None
caps array_like

Caps; default the weighted quantiles 0.9, 0.95, 0.975, 0.99, 0.995 and 0.999.

None
data (PointSet, BlockModel, Table or dict)

Where column names are looked up.

None

Returns:

Type Description
Table

cap, fraction of weight above it, metal_removed (1 - capped mean / mean), capped mean and cv.

used in