let data bpmap cels =
let cels = List.map ~f:Tbl.of_cel1 cels in
let f ans r =
let datl =
List.map cels (fun cel ->
Tbl.find cel r.Bpmap.pmcoord, Tbl.find cel r.Bpmap.mmcoord) in
(r.Bpmap.probe, datl) :: ans
in
Bpmap.fold f [] bpmap