There is a newer version of the record available.

Published November 8, 2025 | Version v2025.11.8
Software Open

cgohlke/ptufile: v2025.11.8

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, 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

  • Fix reading files with negative TTResult_NumberOfRecords.
  • Remove cache argument from PtuFile.read_records (breaking).
  • Add cache_records property to PtuFile to control caching behavior.
  • Derive PqFileError from ValueError.
  • Factor out BinaryFile base class.
  • Build ABI3 wheels.

Files

cgohlke/ptufile-v2025.11.8.zip

Files (80.3 kB)

Name Size Download all
md5:1250229ff05402d4f4430d5a9aa0e8f7
80.3 kB Preview Download

Additional details

Related works

Software