qlat.merge_fields_ms

qlat.merge_fields_ms(f, fms)

fms = [ (f0, m0,), (f1, m1,), … ] f.get_elem(x, m) = fms[m][0].get_elem(x, fms[m][1])