Optical transition-edge sensors single photon pulses analysis