Skip to content

Commit 7665394

Browse files
committed
Release v2025.2.20
1 parent 87277c5 commit 7665394

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

README.rst

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ Read and write PicoQuant PTU and related files
77
Ptufile is a Python library to
88

99
1. read data and metadata from PicoQuant PTU and related files
10-
(PHU, PCK, PCO, PFS, PUS, and PQRES), and
10+
(PHU, PCK, PCO, PFS, PUS, PQRES, PQDAT, and SPQR), and
1111
2. write TCSPC histograms to T3 image mode PTU files.
1212

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

1616
:Author: `Christoph Gohlke <https://www.cgohlke.com>`_
1717
:License: BSD 3-Clause
18-
:Version: 2025.2.12
18+
:Version: 2025.2.20
1919
:DOI: `10.5281/zenodo.10120021 <https://doi.org/10.5281/zenodo.10120021>`_
2020

2121
Quickstart
@@ -38,18 +38,24 @@ This revision was tested with the following requirements and dependencies
3838
(other versions may work):
3939

4040
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.9, 3.13.2 64-bit
41-
- `NumPy <https://pypi.org/project/numpy>`_ 2.2.2
41+
- `NumPy <https://pypi.org/project/numpy>`_ 2.2.3
4242
- `Xarray <https://pypi.org/project/xarray>`_ 2025.1.2 (recommended)
4343
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.0 (optional)
44-
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.1.10 (optional)
45-
- `Numcodecs <https://pypi.org/project/numcodecs/>`_ 0.15.0 (optional)
44+
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.2.18 (optional)
45+
- `Numcodecs <https://pypi.org/project/numcodecs/>`_ 0.15.1 (optional)
4646
- `Python-dateutil <https://pypi.org/project/python-dateutil/>`_ 2.9.0
4747
(optional)
4848
- `Cython <https://pypi.org/project/cython/>`_ 3.0.12 (build)
4949

5050
Revisions
5151
---------
5252

53+
2025.2.20
54+
55+
- Rename PqFileMagic to PqFileType (breaking).
56+
- Rename PqFile.magic to PqFile.type (breaking).
57+
- Add PQDAT and SPQR file types.
58+
5359
2025.2.12
5460

5561
- Add options to specify file open modes to PqFile and PtuFile.read_records.
@@ -102,7 +108,8 @@ The PicoQuant unified file formats are documented at the
102108

103109
The following features are currently not implemented due to the lack of
104110
test files or documentation: PT2 and PT3 files, decoding images from
105-
T2 formats, bidirectional per frame, and deprecated image reconstruction.
111+
T2 and SPQR formats, bidirectional per frame, and deprecated image
112+
reconstruction.
106113

107114
Compatibility of written PTU files with other software is limitedly tested,
108115
as are decoding line, bidirectional, and sinusoidal scanning.
@@ -135,8 +142,8 @@ Read properties and tags from any type of PicoQuant unified tagged file:
135142
.. code-block:: python
136143
137144
>>> pq = PqFile('tests/data/Settings.pfs')
138-
>>> pq.magic
139-
<PqFileMagic.PFS: ...>
145+
>>> pq.type
146+
<PqFileType.PFS: ...>
140147
>>> pq.guid
141148
UUID('86d428e2-cb0b-4964-996c-04456ba6be7b')
142149
>>> pq.tags
@@ -148,8 +155,8 @@ Read metadata from a PicoQuant PTU FLIM file:
148155
.. code-block:: python
149156
150157
>>> ptu = PtuFile('tests/data/FLIM.ptu')
151-
>>> ptu.magic
152-
<PqFileMagic.PTU: ...>
158+
>>> ptu.type
159+
<PqFileType.PTU: ...>
153160
>>> ptu.record_type
154161
<PtuRecordType.PicoHarpT3: 66307>
155162
>>> ptu.measurement_mode

0 commit comments

Comments
 (0)