Skip to content

Commit

Permalink
Add units for energy PDF e_max
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed Feb 18, 2020
1 parent cd6734d commit e3d643e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flarestack/core/energy_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,11 @@ def __init__(self, e_pdf_dict):

if "e_max_gev" in list(e_pdf_dict.keys()):
self.e_max = e_pdf_dict["e_max_gev"]
logging.info("Maximum Energy is {0}".format(self.e_max))
logging.info("Maximum Energy is {0} GeV".format(self.e_max))
self.integral_e_max = self.e_max
else:
self.integral_e_max = default_emax


@classmethod
def register_subclass(cls, energy_pdf_name):
"""Adds a new subclass of EnergyPDF, with class name equal to
Expand Down

0 comments on commit e3d643e

Please sign in to comment.