Skip to content

Commit

Permalink
Remove unnecessary instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hckjs committed Apr 23, 2024
1 parent f932630 commit 07646b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ctapipe/calib/camera/tests/test_calibrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ def test_dl1_charge_calib(example_subarray):
for n_channels in gain_channel:
# Randomize times and create pulses
time_offset = random.uniform(-10, +10, (n_channels, n_pixels))
y = np.zeros((n_channels, n_pixels, n_samples))
y = norm.pdf(x, mid + time_offset[..., np.newaxis], pulse_sigma).astype(
"float32"
)
Expand Down

0 comments on commit 07646b7

Please sign in to comment.