User Tools

Site Tools


ml4gamma:wdocs:classic_reco_energy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ml4gamma:wdocs:classic_reco_energy [27/06/2025 18:44] volchugovml4gamma:wdocs:classic_reco_energy [27/06/2025 18:44] (current) volchugov
Line 12: Line 12:
 <code python> <code python>
 def reco_mono_energy(dist_value, size_value): def reco_mono_energy(dist_value, size_value):
-    # маска строк, где |lookup.dist - val| <= tol 
     mask = np.abs(energy_lookup['dist'] - dist_value) <= bin_size     mask = np.abs(energy_lookup['dist'] - dist_value) <= bin_size
     if not mask.any():     if not mask.any():
ml4gamma/wdocs/classic_reco_energy.1751049843.txt.gz · Last modified: by volchugov