# When to Use a Lambda

Use a spatial lambda when you need to:

- Compute metrics such as t**otal volume tonnage average density**, or other summarystatistics
- **Filter** voxels based on property thresholds (e.g., density &gt; 2.5) or remove empty voxels
- **Resample** data to a coarser or finer resolution
- **Classify** voxels with a machine learning model (e.g., ore vs. waste, rock type, or vegetationclass)
- Generate **reports** of computed metrics for compliance or engineering studies