Skip to content

Commit

Permalink
Updated some comments to avoid problems with the doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobychev committed Aug 28, 2023
1 parent 0bb8a80 commit 791e6fb
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions ctapipe/irf/irf_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,13 +313,6 @@ class DataBinning(Component):
def true_energy_bins(self):
"""
Creates bins per decade for true MC energy using pyirf function.
The overflow binning added is not needed at the current stage.
Examples
--------
It can be used as:
>>> add_overflow_bins(***)[1:-1]
"""
true_energy = create_bins_per_decade(
self.true_energy_min * u.TeV,
Expand All @@ -331,13 +324,6 @@ def true_energy_bins(self):
def reco_energy_bins(self):
"""
Creates bins per decade for reconstructed MC energy using pyirf function.
The overflow binning added is not needed at the current stage.
Examples
--------
It can be used as:
>>> add_overflow_bins(***)[1:-1]
"""
reco_energy = create_bins_per_decade(
self.reco_energy_min * u.TeV,
Expand Down

0 comments on commit 791e6fb

Please sign in to comment.