fiIter_solution(...)
def filter_solution(input_solution: InversionSolution, ruputre_ids: Iterable[int], trim_geometry: bool=False) -> InversionSolution:
"""Filter the input_solution to a subset of rupture ids specified in rupture_ids. Optionally, trim the fault section geometry to only the fault sections that are involved in the ruptures given"""
The function is already implemented, but without the trim_geometry option. However looking at contents of a solution it seems there's more to consider here. Yes, geometries could be trimmed, but there's other stuff (much bigger) that could be trimmed or even removed altogether?
In this ticket @chrisdicaprio I'll write up some doco about filter_solution, and I"ll discuss the wrinkles/potential for future of trim_ args etc.