Python script to decode QIE10.P5 data