Published March 21, 2026 | Version v2026.3.21
Software Open

cgohlke/ptufile: v2026.3.21

Authors/Creators

Description

Read and write PicoQuant PTU and related files

Ptufile is a Python library to

  1. read data and metadata from PicoQuant PTU and related files (PHU, PCK, PCO, PFS, PUS, PQRES, PQDAT, PQUNI, SPQR, and BIN), and
  2. write TCSPC histograms to T3 image mode PTU files.

PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

Changes

  • Add bounds checking to encode_t3_image function.
  • Use format-dispatch in hot decode loops to allow compiler inlining.
  • Build wheels on Windows with LLVM (30% faster decoding than MSVC).
  • Drop support for Python 3.11.

Files

cgohlke/ptufile-v2026.3.21.zip

Files (84.7 kB)

Name Size Download all
md5:36183451b727d54fe4a663808ed51750
84.7 kB Preview Download

Additional details

Related works

Software