analyzer.modules.common.gen_matching

Classes

VectorMatching

Abstract base class for all analyzer modules.

Functions

get_matching_pairs_indices(idx_1, idx_2, builder, builder2)

get_matching_objects_indices_padnone(idx_matched_obj, ...)

metric_pt(obj, obj2)

object_matching(obj, obj2, dr_min[, dpt_max, ...])

deltaR_matching_nonunique(obj1, obj2[, radius])

Doing this you can keep the assignment on the obj2 collection unique,

Module Contents

analyzer.modules.common.gen_matching.get_matching_pairs_indices(idx_1, idx_2, builder, builder2)[source]
analyzer.modules.common.gen_matching.get_matching_objects_indices_padnone(idx_matched_obj, idx_matched_obj2, maxdim_obj2, deltaR, builder, builder2, builder3)[source]
analyzer.modules.common.gen_matching.metric_pt(obj, obj2)[source]
analyzer.modules.common.gen_matching.object_matching(obj, obj2, dr_min, dpt_max=None, return_indices=False)[source]
analyzer.modules.common.gen_matching.deltaR_matching_nonunique(obj1, obj2, radius=0.4)[source]

Doing this you can keep the assignment on the obj2 collection unique, but you are not checking the uniqueness of the matching to the first collection.

class analyzer.modules.common.gen_matching.VectorMatching[source]

Bases: analyzer.core.analysis_modules.AnalyzerModule

Abstract base class for all analyzer modules. Subclasses must implement the inputs and run methods.

vectors_one_col: analyzer.core.columns.Column[source]
vectors_two_col: analyzer.core.columns.Column[source]
output_col: analyzer.core.columns.Column[source]
max_dpt: float | None = None[source]
run(columns, params)[source]
inputs(metadata)[source]
outputs(metadata)[source]