You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am running the notebook MuonTnP.ipynb which needs get_files(). But it looks that this function was removed in muon_definitions.py in the past. Should we update the notebook to use any new interface or add back this function? Thanks!
The text was updated successfully, but these errors were encountered:
Thanks! I see. Since I am learning the structure from the notebook, I can try to reach to the end and find the updates that are needed. the above solution works out. Then there pops out missing definition of 'get_default_num_denom'.
As you are working through it, compare to flattener.py for the updated usage.
Numerator and denominator definitions are now passed via a config object (see README and examples in config) rather than hard coded.
So you can pass your configuration dict to the Configuration object via:
from config import Configuration
config = Configuration({...})
and then use the same access as the flattener.
Or just iterate over your chosen definitions yourself.
The Configuration object was meant as a simple accessor to a json file that would hold all definitions for a given efficiency set, allowing quick customization, rather than hard coding definitions (as was done before).
Hi, I am running the notebook MuonTnP.ipynb which needs get_files(). But it looks that this function was removed in muon_definitions.py in the past. Should we update the notebook to use any new interface or add back this function? Thanks!
The text was updated successfully, but these errors were encountered: