ZH: move c_light value to lib

This commit is contained in:
Eric-Teunis de Boone 2022-12-15 14:40:20 +01:00
parent a4fa874b54
commit 3fce4036f3
4 changed files with 10 additions and 17 deletions

View file

@ -17,7 +17,7 @@ seed = 12345
dt = 1 # ns
frequency = 45e-3 # GHz
N = 5e2
c_light = 3e8*1e-9
c_light = lib.c_light
t = np.arange(0, 10*int(1e3), dt, dtype=float)
rng = np.random.default_rng(seed)