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
from math import log, pi, sqrt, exp | |
""" | |
Authors: CALHEGAS Raphaël, DIZIN Jordan, FROMENTIN Raphaël | |
""" | |
# Constants | |
electron_mass = 9.1e-31 | |
h = 6.626e-34 | |
bar_h = h / (2 * pi) |
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
{ | |
"versions": { | |
"3.x": "https://scala-lang.org/api/3.x/", | |
"3.3.0": "https://scala-lang.org/api/3.3.0/", | |
"3.2.2": "https://scala-lang.org/api/3.2.2/", | |
"3.2.1": "https://scala-lang.org/api/3.2.1/", | |
"3.2.0": "https://scala-lang.org/api/3.2.0/", | |
"3.1.3": "https://scala-lang.org/api/3.1.3/", | |
"3.1.2": "https://scala-lang.org/api/3.1.2/", | |
"3.1.1": "https://scala-lang.org/api/3.1.1/", |
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
//> using scala "3.2.0" | |
import scala.quoted.Quotes | |
import scala.annotation.implicitNotFound | |
import scala.quoted.* | |
import scala.collection.View.Empty | |
trait IntersectionTypeMirror[A]: |
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 argparse | |
import os | |
import zipfile | |
class Shaderpack: | |
def __init__(self, path): | |
self.path = path |