eomatch.finder.sat2sat.Sat2SatMUFinder.filter_events#
- Sat2SatMUFinder.filter_events(data: List[Dict[str, Any]]) List[Dict[str, Any]][source]#
Filter a list of raw orbitx events against the bounds in the context config.
Events are dicts with keys
start_time,stop_time, andbbox([lon_min, lat_min, lon_max, lat_max]).Applies each filter in
_EVENT_FILTER_METHODSin turn and keeps events that pass all of them. Each filter method is self-contained — it reads whichever context keys it needs and returns every event index when it isn’t configured/enabled — so adding a new filter only means adding one more method and listing it in_EVENT_FILTER_METHODS; this method itself does not need to change.- Parameters:
data – raw event dicts from
orbitx.matchups.Matchups.events.- Returns:
filtered list of event dicts.