Skip to content

Commit

Permalink
Add EBL
Browse files Browse the repository at this point in the history
  • Loading branch information
astrojarred committed Dec 11, 2023
1 parent ab85bf3 commit 518d57f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gravitational_wave_toy/followup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_exposure(
delay: u.Quantity,
site: str,
zenith: int,
ebl: bool = False,
ebl: str | None = None,
software: str = "gammapy",
config: str = "alpha",
duration: int = 1800,
Expand Down Expand Up @@ -159,7 +159,7 @@ def get_exposure(
event_id=event_id,
site=site,
zenith=zenith,
ebl=ebl,
ebl=bool(ebl),
software=software,
config=config,
duration=duration,
Expand All @@ -168,7 +168,7 @@ def get_exposure(
max_energy=max_energy,
)

grb = observe.GRB(grb_filepath, min_energy, max_energy)
grb = observe.GRB(grb_filepath, min_energy, max_energy, ebl=ebl)

result = grb.observe(
sens,
Expand Down

0 comments on commit 518d57f

Please sign in to comment.