Benign python Download

jetgo 0.1.3

“Jet Event Toolkit for Generator-level Observables (JETGO)”

Module built on the numeric Python stackImports the NumPy array library

Evidence

Imports the NumPy array library eec.py · lines 19–30
⋯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
NumPy array operation (ndarray) eec.py · lines 62–70
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 …
NumPy array operation (zeros) eec.py · lines 104–110
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 …
NumPy array operation (array) double_differential_jet_cross_section.py · lines 203–208
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) -> …
Dynamically imports a Python module _pythia.py · lines 45–61
⋯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

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.