torchcell.sga.merge_layout

merge_layout(dat: DataFrame, layout: DataFrame | None) → DataFrame[source]

Attach strain + volume to each quantified colony by (row, col).

With no layout, strain/volume_nl are None; downstream normalization still runs, but scoring is skipped (SGAtools behaves the same way when no array-layout file is supplied).