Recent Releases of https://github.com/cgohlke/ptufile

https://github.com/cgohlke/ptufile - v2025.7.30

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, and SPQR), 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 option to specify pixel time for decoding images.
  • Add functions to read and write PicoQuant BIN files.
  • Drop support for Python 3.10.

- Python
Published by cgohlke 10 months ago

https://github.com/cgohlke/ptufile - v2025.5.10

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, and SPQR), 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

  • Mark Cython extension free-threading compatible.
  • Support Python 3.14.

- Python
Published by cgohlke about 1 year ago

https://github.com/cgohlke/ptufile - v2025.2.20

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, and SPQR), 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

  • Rename PqFileMagic to PqFileType (breaking).
  • Rename PqFile.magic to PqFile.type (breaking).
  • Add PQDAT and SPQR file types.

- Python
Published by cgohlke over 1 year ago

https://github.com/cgohlke/ptufile - v2025.2.12

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, and PQRES), 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 options to specify file open modes to PqFile and PtuFile.read_records.
  • Add convenience properties to PqFile and PtuFile.
  • Cache records read from file.

- Python
Published by cgohlke over 1 year ago

https://github.com/cgohlke/ptufile - v2025.1.13

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, and PQRES), 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

  • Fall back to file size if TTResult_NumberOfRecords is zero (#2).

- Python
Published by cgohlke over 1 year ago

https://github.com/cgohlke/ptufile - v2024.12.28

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, and PQRES), 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 imwrite function to encode TCSPC image histogram in T3 PTU format.
  • Add enums for more PTU tag values.
  • Add PqFile.datetime property.
  • Read TDateTime tag as datetime instead of struct_time (breaking).
  • Rename PtuFile.type property to record_type (breaking).
  • Fix reading PHU missing HistResDscr_HWBaseResolution tag.
  • Warn if tags are not 8-byte aligned in file.

- Python
Published by cgohlke over 1 year ago

https://github.com/cgohlke/ptufile - v2024.12.20

Read PicoQuant PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

Changes

  • Support bi-directional sinusoidal scanning (WIP).

- Python
Published by cgohlke over 1 year ago

https://github.com/cgohlke/ptufile - v2024.11.26

Read PicoQuant PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

Changes

  • Support bi-directional scanning (FLIMbee scanner).
  • Drop support for Python 3.9.

- Python
Published by cgohlke over 1 year ago

https://github.com/cgohlke/ptufile - v2024.10.10

Read PicoQuant PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

Changes

  • Also trim leading channels without photons (breaking).
  • Add property to identify channels with photons.

- Python
Published by cgohlke over 1 year ago

https://github.com/cgohlke/ptufile - v2024.9.14

Read PicoQuant PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke over 1 year ago

https://github.com/cgohlke/ptufile - v2024.7.13

Read PicoQuant PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke almost 2 years ago

https://github.com/cgohlke/ptufile - v2024.5.24

Read PicoQuant PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke about 2 years ago

https://github.com/cgohlke/ptufile - v2024.4.24

Read PicoQuant PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke about 2 years ago

https://github.com/cgohlke/ptufile -

Read PicoQuant PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke over 2 years ago

https://github.com/cgohlke/ptufile - v2024.2.15

Read PicoQuant PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke over 2 years ago

https://github.com/cgohlke/ptufile - v2024.2.8

Read PicoQuant(r) PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke over 2 years ago

https://github.com/cgohlke/ptufile - v2024.2.2

Read PicoQuant(r) PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke over 2 years ago

https://github.com/cgohlke/ptufile - v2023.11.16

Read PicoQuant(r) PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke over 2 years ago

https://github.com/cgohlke/ptufile - v2023.11.13

Read PicoQuant(r) PTU and related files.

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke over 2 years ago

https://github.com/cgohlke/ptufile - v2023.11.1

Read PicoQuant(r) PTU and related files

Ptufile is a Python library to read image and metadata from PicoQuant PTU and related files: PHU, PCK, PCO, PFS, PUS, and PQRES. PTU files contain time correlated single photon counting (TCSPC) measurement data and instrumentation parameters.

- Python
Published by cgohlke over 2 years ago