Skip to content

Commit

Permalink
I changed some variable names to be more compatible with the statsext…
Browse files Browse the repository at this point in the history
…ractors
  • Loading branch information
Christoph Toennis committed Jun 3, 2024
1 parent 4c25f38 commit 17551b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ctapipe/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand Down
2 changes: 1 addition & 1 deletion src/ctapipe/image/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)


Expand Down

0 comments on commit 17551b0

Please sign in to comment.