This file contains 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
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other | |
# Spack Project Developers. See the top-level COPYRIGHT file for details. | |
# | |
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | |
# ---------------------------------------------------------------------------- | |
# If you submit this package back to Spack as a pull request, | |
# please first remove this boilerplate and all FIXME comments. | |
# | |
# This is a template package file for Spack. We've put "FIXME" |
This file contains 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 tensorflow_probability as tfp | |
import tensorflow as tf | |
import zfit | |
import zfit.z.numpy as znp | |
sq2pi = np.sqrt(2.0 * np.arccos(-1.0)) | |
sq2pi_inv = 1.0 / sq2pi |
This file contains 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
#!/usr/bin/env python | |
import expertsystem as es | |
import graphviz | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
import zfit # import here to suppress TF warnings :) | |
from expertsystem.amplitude.dynamics.builder import ( | |
create_relativistic_breit_wigner_with_ff, | |
) |
This file contains 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
name = "Jonas" | |
age = 41 | |
running_time = 0.2 | |
jumping_time = 0.1 | |
tot_exercise_time = running_time + jumping_time | |
# make it a direct message | |
message = name | |
is_good = abs(tot_exercise_time - 0.3) < 0.001 | |
if is_good: # TODO: what is the ideal time? |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.