pub fn cluster_and_extract_batch(
batch: &mut HitBatch,
algorithm: ClusteringAlgorithm,
clustering: &ClusteringConfig,
extraction: &ExtractionConfig,
params: &AlgorithmParams,
) -> Result<NeutronBatch>Expand description
Cluster hits in-place, then extract neutrons into a NeutronBatch.
ยงErrors
Returns an error if clustering or extraction fails.