p: ['P', 'P2']
 t: ['Dim', 'Diss']
pre: [[2 0]
 [0 1]]
post: [[0 1]
 [2 0]]
h: <function dimer.<locals>.<lambda> at 0x7a47661da3e0>
m: [301   0]
