Skip to content

Commit

Permalink
Revert "Remove unused photon attributes"
Browse files Browse the repository at this point in the history
This reverts commit 552bc97.
  • Loading branch information
APJansen committed Nov 28, 2023
1 parent 552bc97 commit f0359d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions validphys2/src/validphys/photon/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ class Photon:
"""Photon class computing the photon array with the LuxQED approach."""

def __init__(self, theoryid, lux_params, replicas):
self.theoryid = theoryid
self.lux_params = lux_params

theory = theoryid.get_description()
fiatlux_runcard = FIATLUX_DEFAULT
fiatlux_runcard["qed_running"] = bool(np.isclose(theory["Qedref"], theory["Qref"]))
Expand Down

0 comments on commit f0359d7

Please sign in to comment.