eomatch.finder.base.BaseMUFinder#
- class eomatch.finder.base.BaseMUFinder(*args: Any, **kwargs: Any)[source]#
Abstract base class for collocated product identification routines.
Subclasses implement
finder()to produce a list ofMatchupEventobjects. Common helpers (run_scrappi(),all_products_overlap()) are provided here.- __init__(context: dict | str | None = None) None[source]#
Initialise the finder.
- Parameters:
context –
EOMatchContext(or a dict/path accepted by the parentBaseProcessor) supplying runtime configuration. Defaults toEOMatchContext().
Methods
__init__([context])Initialise the finder.
all_products_overlap(products)Return
Trueif every pair of products in products has a non-empty geometric intersection.filter_overlapping_products(productitem, ...)Return the subset of productitemset whose geometry overlaps productitem.
finder()Run the matchup discovery pipeline and return the results.
run_scrappi(query[, context])Execute a single scrappi query and return the matching products.