PatchAssembler

class of dascore.utils.patch_assembly source

PatchAssembler(
    load_patch: collections.abc.Callable[Mapping, Patch] ,
    merge_kwargs: Mapping ,
    plan_dim: str ,
)-> None

Assemble output patches from joined member rows.

load_patch resolves one member row to its source patch (residual selections included); merge_kwargs carries the merge behavior; plan_dim names the one dimension whose range the plan narrowed, and so the only one a member needs trimming on. The plan resolver hands this the joined member frame for one output at a time.