replaced material_dico with Gas object

This commit is contained in:
Benoît Sierro
2023-01-24 11:22:53 +01:00
parent 239eaddd7c
commit 1baef68656
24 changed files with 212 additions and 613 deletions

View File

@@ -6,7 +6,7 @@ import matplotlib.pyplot as plt
def main():
capillary_thickness = 1.4e-6
wl = np.linspace(200e-9, 2000e-9, 500)
n_gas_2 = sc.materials.n_gas_2(wl, "air", 3e5, 300, True)
n_gas_2 = sc.materials.n_gas_2(wl, "air", 3e5, 300)
resonances = []
for i in range(5):
t = sc.fiber.resonance_thickness(wl, i, n_gas_2, 40e-6)