Characterisation of a single photon counting pixel detector