From 17551b04e3cab7527c85dcf60ca6030be7e93485 Mon Sep 17 00:00:00 2001 From: Christoph Toennis Date: Mon, 3 Jun 2024 13:51:14 +0200 Subject: [PATCH] I changed some variable names to be more compatible with the statsextractors --- src/ctapipe/containers.py | 2 +- src/ctapipe/image/extractor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ctapipe/containers.py b/src/ctapipe/containers.py index 739e93092f7..3fc234edccf 100644 --- a/src/ctapipe/containers.py +++ b/src/ctapipe/containers.py @@ -538,7 +538,7 @@ class DL1PedestalVarianceContainer(Container): "Shape: (n_pixel) if n_channels is 1 or data is gain selected" "else: (n_channels, n_pixel)", ) - trigger_time = Field( + time = Field( None, "Trigger time for this variance image" "Value is a float", ) diff --git a/src/ctapipe/image/extractor.py b/src/ctapipe/image/extractor.py index 4a710deee56..a835ece33eb 100644 --- a/src/ctapipe/image/extractor.py +++ b/src/ctapipe/image/extractor.py @@ -1313,7 +1313,7 @@ def __call__(self, waveforms, tel_id, trigger_time) -> DL1PedestalVarianceContai image=variance, VarMethod=VarianceType.SIMPLE, is_valid=True, - trigger_time=np.float32(trigger_time), + time=np.float32(trigger_time), )