This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import subprocess | |
| import itkdb | |
| fpath = "~/VBFSUSY_13_Higgsino_150.root" | |
| eos_path = "/eos/atlas/test/itkpd/d/e/8/debug_ewans_file" | |
| data = requests.post(f'https://itkpd2eos.unicornuniversity.net/generate-token?path={eos_path}&permissions=rw') | |
| eos_token = data.json()['token'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import itkdb | |
| #image = itkdb.data / "1x1.jpg" | |
| import pathlib | |
| image = pathlib.Path("/Users/kratsg/VBFSUSY_13_Higgsino_150.root") | |
| import logging | |
| import textwrap | |
| logger = logging.getLogger('httplogger') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "channels": [ | |
| { | |
| "name": "electron_channel", | |
| "samples": [ | |
| { "name": "main", "data": [ 50, 100 ], | |
| "modifiers": [ | |
| { "name": "mu", "type": "normfactor", "data": null }, | |
| { "name": "uncorrelated_el", "type": "normsys", "data": { "hi": 1.1, "lo": 0.9 } }, | |
| { "name": "correlated", "type": "normsys", "data": { "hi": 1.1, "lo": 0.7 } } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import onnx | |
| import onnxruntime | |
| import uproot | |
| import h5py | |
| import json | |
| model="./SimpleAnalysisCodes/data/ThreeBjets_NN_2020_model.onnx" | |
| session = onnxruntime.InferenceSession(model, None) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import onnx | |
| import onnxruntime | |
| from onnx import numpy_helper | |
| import uproot | |
| model="./model.onnx" | |
| session = onnxruntime.InferenceSession(model, None) | |
| input_name = session.get_inputs()[0].name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.8" | |
| services: | |
| traefik: | |
| restart: always | |
| image: "traefik:v2.6" | |
| container_name: "traefik" | |
| command: | |
| - "--providers.docker=true" | |
| - "--providers.docker.exposedbydefault=false" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Summary | |
| ------------------ | |
| channels 2 | |
| samples 1 | |
| parameters 42 | |
| modifiers 42 | |
| channels nbins | |
| ---------- ----- | |
| electron 12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Summary | |
| ------------------ | |
| channels 2 | |
| samples 1 | |
| parameters 42 | |
| modifiers 42 | |
| channels nbins | |
| ---------- ----- | |
| electron 12 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.