Skip to main content

cluster_and_extract_stream

Function cluster_and_extract_stream 

Source
pub fn cluster_and_extract_stream<I>(
    batches: I,
    algorithm: ClusteringAlgorithm,
    clustering: &ClusteringConfig,
    extraction: &ExtractionConfig,
    params: &AlgorithmParams,
) -> Result<NeutronBatch>
where I: IntoIterator<Item = HitBatch>,
Expand description

Cluster hits in batches, then extract and append neutrons into a single batch.

ยงErrors

Returns an error if clustering or extraction fails for any batch.