jetgo 0.1.3
“Jet Event Toolkit for Generator-level Observables (JETGO)”
Module built on the numeric Python stackImports the NumPy array library
SHA-25613042a6ffce8e473ce1e5ee647e1defd0d159357154c3d69ff019f17081952af
MaleculeH₂(Db₂F)
Evidence
⋯4 lines
23
24import fastjet as fj
25import numpy as np
26
27from .base import Observable
28from .identifier import ObservableIdentifier
29from ..kinematics import delta_r, is_charged
30
62:17… _FACTOR = 2
63
64 def __init__(
65 self,
66 bin_edges: np.ndarray,
67 pt_min: float | int = 0,
68 energy_weight: int = 1,
69 charged_only: bool = False,
70 use_pseudorapidit …
104:21… ges = np.asarray(bin_edges, dtype=float)
105 self._counts = np.zeros(len(self._bin_edges) - 1, dtype=float)
106
107 @property
108 def identifier(self) -> ObservableIdentifier:
109 """
110 Ide …
203:13… )
204 indices.append(int(match[0]))
205
206 return np.array([counts[lo:hi].sum() for lo, hi in zip(indices[:-1], indices[1:])], dtype=float)
207
208 def _get_complementary_metadata(self) -> …
⋯5 lines
50 for name in _CANDIDATE_MODULE_NAMES:
51 try:
52 return importlib.import_module(name)
53 except ModuleNotFoundError:
54 continue
⋯7 lines
Showing the top 5 files — 1 more file (7 regions) not shown.
No evidence locations were recorded for this file. Raw result