def Trans2Text(Trans):
    """from transformation matrix to text"""
    cells = ['a', 'b', 'c']
    Text = ''
    for row in Trans:
        Fld = ''
        for i in [0, 1, 2]:
            if row[i]:
                if Fld and row[i] > 0.0:
                    Fld += '+'
                Fld += '%3.1f' % row[i] + cells[i]
        Text += Fld
        Text += ','
        Text = Text.replace('1.0', '').replace('.0', '').replace('0.5', '1/2')
    return Text[:-1]
