Skip to content

Commit ca4ae8a

Browse files
committed
Release v2025.2.12
1 parent da603ef commit ca4ae8a

File tree

1 file changed

+15
-32
lines changed

1 file changed

+15
-32
lines changed

README.rst

Lines changed: 15 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ measurement data and instrumentation parameters.
1515

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

2121
Quickstart
@@ -37,19 +37,25 @@ Requirements
3737
This revision was tested with the following requirements and dependencies
3838
(other versions may work):
3939

40-
- `CPython <https://www.python.org>`_ 3.10.11, 3.11.9, 3.12.8, 3.13.1 64-bit
41-
- `NumPy <https://pypi.org/project/numpy>`_ 2.2.1
42-
- `Xarray <https://pypi.org/project/xarray>`_ 2025.1.1 (recommended)
40+
- `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
42+
- `Xarray <https://pypi.org/project/xarray>`_ 2025.1.2 (recommended)
4343
- `Matplotlib <https://pypi.org/project/matplotlib/>`_ 3.10.0 (optional)
4444
- `Tifffile <https://pypi.org/project/tifffile/>`_ 2025.1.10 (optional)
45-
- `Numcodecs <https://pypi.org/project/numcodecs/>`_ 0.14.1 (optional)
45+
- `Numcodecs <https://pypi.org/project/numcodecs/>`_ 0.15.0 (optional)
4646
- `Python-dateutil <https://pypi.org/project/python-dateutil/>`_ 2.9.0
4747
(optional)
48-
- `Cython <https://pypi.org/project/cython/>`_ 3.0.11 (build)
48+
- `Cython <https://pypi.org/project/cython/>`_ 3.0.12 (build)
4949

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

53+
2025.2.12
54+
55+
- Add options to specify file open modes to PqFile and PtuFile.read_records.
56+
- Add convenience properties to PqFile and PtuFile.
57+
- Cache records read from file.
58+
5359
2025.1.13
5460

5561
- Fall back to file size if TTResult_NumberOfRecords is zero (#2).
@@ -80,29 +86,6 @@ Revisions
8086

8187
2024.9.14
8288

83-
- Improve typing.
84-
85-
2024.7.13
86-
87-
- Detect point scans in image mode.
88-
- Deprecate Python 3.9, support Python 3.13.
89-
90-
2024.5.24
91-
92-
- Fix docstring examples not correctly rendered on GitHub.
93-
94-
2024.4.24
95-
96-
- Build wheels with NumPy 2.
97-
98-
2024.2.20
99-
100-
- Change definition of PtuFile.frequency (breaking).
101-
- Add option to specify number of bins returned by decode_histogram.
102-
- Add option to return histograms of one period.
103-
104-
2024.2.15
105-
10689
- …
10790

10891
Refer to the CHANGES file for older revisions.
@@ -151,7 +134,7 @@ Read properties and tags from any type of PicoQuant unified tagged file:
151134

152135
.. code-block:: python
153136
154-
>>> pq = PqFile('tests/Settings.pfs')
137+
>>> pq = PqFile('tests/data/Settings.pfs')
155138
>>> pq.magic
156139
<PqFileMagic.PFS: ...>
157140
>>> pq.guid
@@ -164,7 +147,7 @@ Read metadata from a PicoQuant PTU FLIM file:
164147

165148
.. code-block:: python
166149
167-
>>> ptu = PtuFile('tests/FLIM.ptu')
150+
>>> ptu = PtuFile('tests/data/FLIM.ptu')
168151
>>> ptu.magic
169152
<PqFileMagic.PTU: ...>
170153
>>> ptu.record_type
@@ -275,4 +258,4 @@ Close the file handle:
275258
276259
Preview the image and metadata in a PTU file from the console::
277260

278-
python -m ptufile tests/FLIM.ptu
261+
python -m ptufile tests/data/FLIM.ptu

0 commit comments

Comments
 (0)