Skip to content

Commit 0882370

Browse files
authored
Merge pull request #2886 from cta-observatory/replace-macos-13
Prepare release of v0.28.0
2 parents 9106401 + 020c56b commit 0882370

17 files changed

+68
-36
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,16 @@ jobs:
7272
install-method: pip
7373
extras: tests,all
7474

75-
# macos 13 image is x86-based
75+
# macos-15-intel is x86-based
7676
- name: macos (3.10, x86_64, pip)
77-
os: macos-13
77+
os: macos-15-intel
7878
python-version: "3.10"
7979
install-method: pip
8080
extras: tests,all
8181

82-
# macos 14 image is arm64 based
82+
# macos 15 image is arm64 based
8383
- name: macos (3.12, arm64, mamba)
84-
os: macos-14
84+
os: macos-15
8585
python-version: "3.12"
8686
install-method: mamba
8787
extras: tests,all

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0 # Use the ref you want to point at
3+
rev: v6.0.0 # Use the ref you want to point at
44
hooks:
55
- id: trailing-whitespace
66
- id: check-added-large-files
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111

1212
- repo: https://github.com/codespell-project/codespell
13-
rev: v2.2.6
13+
rev: v2.4.1
1414
hooks:
1515
- id: codespell
1616
additional_dependencies:
@@ -19,7 +19,7 @@ repos:
1919

2020
- repo: https://github.com/astral-sh/ruff-pre-commit
2121
# Ruff version.
22-
rev: v0.2.2
22+
rev: v0.14.4
2323
hooks:
2424
- id: ruff
2525
args: [--fix, --show-fixes]

AUTHORS

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ Tino Michael <tino.michael@cea.fr>
99
Tomas Bylund <tomas.bylund@cea.fr>
1010
Christoph Toennis <christoph.toennis1988@gmail.com>
1111
Leonid Burmistrov <leonid.burmistrov@unige.ch>
12-
Lukas Nickel <lukas.nickel@tu-dortmund.de>
1312
Jonas Hackfeld <jonas.hackfeld@ruhr-uni-bochum.de>
13+
Lukas Nickel <lukas.nickel@tu-dortmund.de>
1414
Noah Biederbeck <noah.biederbeck@tu-dortmund.de>
15-
Georg Schwefer <georg.schwefer@mpi-hd.mpg.de>
1615
Mykhailo Dalchenko <mykhailo.dalchenko@cern.ch>
16+
Georg Schwefer <georg.schwefer@mpi-hd.mpg.de>
1717
Alison Mitchell <alison.mitchell@mpi-hd.mpg.de>
1818
Dominik Neise <neised@phys.ethz.ch>
1919
Michele Peresano <peresano.michele@gmail.com>
2020
Christoph Deil <Deil.Christoph@gmail.com>
2121
Justus Zorn <justus.zorn@desy.de>
2222
Anno Knierim <anno.knierim@tu-dortmund.de>
2323
Stefan Fröse <stefan.froese@udo.edu>
24+
Thomas Vuillaume <thomas.vuillaume@lapp.in2p3.fr>
2425
Rune Michael Dominik <rune.dominik@tu-dortmund.de>
2526
Samuel Timothy Spencer <sojourner92@gmail.com>
2627
Georgios Voutsinas <voutsina@cern.ch>
2728
Raquel de los Reyes <reyes@mpi-hd.mpg.de>
2829
Franca Cassol <cassol@cppm.in2p3.fr>
2930
Clara Escanuela Nieves <clara.escanuela@mpi-hd.mpg.de>
30-
Thomas Vuillaume <thomas.vuillaume@lapp.in2p3.fr>
3131
Kai Brügge <kai.bruegge@tu-dortmund.de>
3232
Felix Werner <felix.werner@mpi-hd.mpg.de>
3333
Satoshi Fukami <fukami@icrr.u-tokyo.ac.jp>
@@ -68,6 +68,7 @@ Gernot Maier <gernot.maier@desy.de>
6868
Henning Ptaszyk <henning.ptaszyk@udo.edu>
6969
Julian Sitarek <33022433+jsitarek@users.noreply.github.com>
7070
Lab Saha <lab.saha@gmail.com>
71+
Matteo Balbo <matteo.balbo@cta-consortium.org>
7172
Mireia Nievas-Rosillo <mireia.nievas-rosillo@desy.de>
7273
Pierre Aubert <aubertp7@gmail.com>
7374
Sabrina Einecke <sabrina.einecke@tu-dortmund.de>

CHANGES.rst

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,60 @@
1+
ctapipe v0.28.0 (2025-11-13)
2+
============================
3+
4+
5+
API Changes
6+
-----------
7+
8+
- ``CameraGeometry.neighbor_matrix_sparse`` is now a ``scipy.sparse.csr_array`` instead
9+
of a ``scipy.sparse.csr_matrix``, see https://docs.scipy.org/doc/scipy/reference/sparse.migration_to_sparray.html
10+
for more information. [`#2821 <https://github.com/cta-observatory/ctapipe/pull/2821>`__]
11+
12+
13+
Bug Fixes
14+
---------
15+
16+
- Fix ``ctapipe-optimize-event-selection`` raising an error for compressed (.fits.gz) output files. [`#2829 <https://github.com/cta-observatory/ctapipe/pull/2829>`__]
17+
18+
- Fix a bug in the ``chord_length`` function used by the ``MuonIntensityFitter`` likelihood function
19+
that resulted in incorrect periodicity. The function returned 0 outside of the domain phi [-π, π]. [`#2873 <https://github.com/cta-observatory/ctapipe/pull/2873>`__]
20+
21+
- Fix a bug, where the ``ImageProcessor`` passes ``TelescopeMonitoringContainer``
22+
instead of ``CameraMonitoringContainer`` to the ``ImageCleaner`` which
23+
results in an AttributeError for the ``NSBImageCleaner``. [`#2875 <https://github.com/cta-observatory/ctapipe/pull/2875>`__]
24+
25+
- Add a check in ``lts_linear_regression`` to ensure that the input data has
26+
at least 2 valid points. Less could lead to segmentation faults. [`#2878 <https://github.com/cta-observatory/ctapipe/pull/2878>`__]
27+
28+
- Add default check in ``ImageQualityQuery`` to check for images
29+
with at least 2 surviving pixels after image cleaning. This prevents a segfault in the
30+
timing parameters if not enough points are available for the linear regression. [`#2877 <https://github.com/cta-observatory/ctapipe/pull/2877>`__]
31+
32+
New Features
33+
------------
34+
35+
- Enhanced ``StatisticsAggregator`` classes to support time-based chunking in addition to event-based chunking.
36+
37+
Refactored with component-based chunking system using ``BaseChunking``, ``SizeChunking``, and ``TimeChunking`` components.
38+
Statistics can now be aggregated over time intervals (seconds) rather than fixed event counts, enabling time-series analysis.
39+
Time-based chunking supports ``chunk_duration`` and configurable overlap via ``chunk_shift``.
40+
41+
Breaking change: ``StatisticsAggregator`` now requires a ``chunking`` component to define chunking behavior. [`#2848 <https://github.com/cta-observatory/ctapipe/pull/2848>`__]
42+
43+
- Add a documentation page to show Hillas parameters displayed on camera image as schematic. [`#2868 <https://github.com/cta-observatory/ctapipe/pull/2868>`__]
44+
45+
- Add phi0 as argument to the chord length function. [`#2872 <https://github.com/cta-observatory/ctapipe/pull/2872>`__]
46+
47+
- Read all pixel statistics tables from the HDF5 file and instantiate the appropriate interpolators for each table in the MonitoringSource. [`#2888 <https://github.com/cta-observatory/ctapipe/pull/2888>`__]
48+
49+
- Allow subsequent aggregation of pre-aggregated time ranges (time_start, time_end) instead of just time column. [`#2889 <https://github.com/cta-observatory/ctapipe/pull/2889>`__]
50+
51+
Maintenance
52+
-----------
53+
54+
- Updated colormaps in "Array Display" and "Use N-dimensional Histogram functionality and Interpolation" tutorials. [`#2883 <https://github.com/cta-observatory/ctapipe/pull/2883>`__]
55+
56+
- Add compatibility with eventio 2.0. [`#2857 <https://github.com/cta-observatory/ctapipe/pull/2857>`__]
57+
158
ctapipe v0.27.1 (2025-10-22)
259
============================
360

docs/changes/2821.api.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/changes/2829.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/2848.feature.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/changes/2857.maintenance.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/2868.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changes/2872.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)