@@ -7,15 +7,15 @@ Read and write PicoQuant PTU and related files
77Ptufile is a Python library to
88
991. read data and metadata from PicoQuant PTU and related files
10- (PHU, PCK, PCO, PFS, PUS, PQRES, PQDAT, and SPQR ), and
10+ (PHU, PCK, PCO, PFS, PUS, PQRES, PQDAT, SPQR, and BIN ), and
11112. write TCSPC histograms to T3 image mode PTU files.
1212
1313PTU files contain time correlated single photon counting (TCSPC)
1414measurement data and instrumentation parameters.
1515
1616:Author: `Christoph Gohlke <https://www.cgohlke.com >`_
1717:License: BSD-3-Clause
18- :Version: 2025.9.9
18+ :Version: 2025.11.8
1919:DOI: `10.5281/zenodo.10120021 <https://doi.org/10.5281/zenodo.10120021 >`_
2020
2121Quickstart
@@ -37,19 +37,28 @@ Requirements
3737This revision was tested with the following requirements and dependencies
3838(other versions may work):
3939
40- - `CPython <https://www.python.org >`_ 3.11.9, 3.12.10, 3.13.7 , 3.14.0rc 64-bit
41- - `NumPy <https://pypi.org/project/numpy >`_ 2.3.3
42- - `Xarray <https://pypi.org/project/xarray >`_ 2025.9.0 (recommended)
43- - `Matplotlib <https://pypi.org/project/matplotlib/ >`_ 3.10.6 (optional)
44- - `Tifffile <https://pypi.org/project/tifffile/ >`_ 2025.9.9 (optional)
45- - `Numcodecs <https://pypi.org/project/numcodecs/ >`_ 0.16.2 (optional)
40+ - `CPython <https://www.python.org >`_ 3.11.9, 3.12.10, 3.13.9 , 3.14.0 64-bit
41+ - `NumPy <https://pypi.org/project/numpy >`_ 2.3.4
42+ - `Xarray <https://pypi.org/project/xarray >`_ 2025.10.1 (recommended)
43+ - `Matplotlib <https://pypi.org/project/matplotlib/ >`_ 3.10.7 (optional)
44+ - `Tifffile <https://pypi.org/project/tifffile/ >`_ 2025.10.16 (optional)
45+ - `Numcodecs <https://pypi.org/project/numcodecs/ >`_ 0.16.3 (optional)
4646- `Python-dateutil <https://pypi.org/project/python-dateutil/ >`_ 2.9.0
4747 (optional)
48- - `Cython <https://pypi.org/project/cython/ >`_ 3.1.3 (build)
48+ - `Cython <https://pypi.org/project/cython/ >`_ 3.2.0 (build)
4949
5050Revisions
5151---------
5252
53+ 2025.11.8
54+
55+ - Fix reading files with negative TTResult_NumberOfRecords.
56+ - Remove cache argument from PtuFile.read_records (breaking).
57+ - Add cache_records property to PtuFile to control caching behavior.
58+ - Derive PqFileError from ValueError.
59+ - Factor out BinaryFile base class.
60+ - Build ABI3 wheels.
61+
53622025.9.9
5463
5564- Log error when decoding image with invalid line or frame masks.
@@ -93,20 +102,6 @@ Revisions
93102
941032024.12.20
95104
96- - Support bi-directional sinusoidal scanning (WIP).
97-
98- 2024.11.26
99-
100- - Support bi-directional scanning (FLIMbee scanner).
101- - Drop support for Python 3.9.
102-
103- 2024.10.10
104-
105- - Also trim leading channels without photons (breaking).
106- - Add property to identify channels with photons.
107-
108- 2024.9.14
109-
110105- …
111106
112107Refer to the CHANGES file for older revisions.
0 commit comments