Skip to content

Commit

Permalink
Use n_background for background events
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBeiske committed Nov 14, 2023
1 parent c444700 commit c70d36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctapipe/tools/train_particle_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _read_input_data(self, tel_type):
feature_names=feature_names,
rng=self.rng,
log=self.log,
n_events=self.n_signal.tel[tel_type],
n_events=self.n_background.tel[tel_type],
)
table = vstack([signal, background])
self.log.info(
Expand Down

0 comments on commit c70d36b

Please sign in to comment.