mostly working with this weird file handling system
This commit is contained in:
25
testing/configs/count_variations/120sim_3vary.toml
Normal file
25
testing/configs/count_variations/120sim_3vary.toml
Normal file
@@ -0,0 +1,25 @@
|
||||
[fiber]
|
||||
core_radius = 50e-6
|
||||
length = 50e-2
|
||||
model = "marcatili"
|
||||
|
||||
[gas.variable]
|
||||
gas_name = ["air", "helium"]
|
||||
|
||||
[pulse]
|
||||
power = 100e3
|
||||
wavelength = 800e-9
|
||||
|
||||
[pulse.variable]
|
||||
width = [250e-15, 240e-15, 230e-15, 220e-15, 210e-15]
|
||||
|
||||
[simulation]
|
||||
parallel = true
|
||||
repeat = 4
|
||||
t_num = 16384
|
||||
time_window = 37e-12
|
||||
tolerated_error = 1e-11
|
||||
z_num = 128
|
||||
|
||||
[simulation.variable]
|
||||
behaviors = [["spm", "raman", "ss"], ["spm", "raman"], ["spm"]]
|
||||
@@ -10,7 +10,7 @@ gas_name = "air"
|
||||
power = 100e3
|
||||
wavelength = 800e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
width = [250e-15]
|
||||
|
||||
[simulation]
|
||||
|
||||
@@ -11,7 +11,7 @@ soliton_num = 5
|
||||
wavelength = 800e-9
|
||||
width = 250e-15
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
shape = ["gaussian", "sech"]
|
||||
|
||||
[simulation]
|
||||
|
||||
@@ -15,7 +15,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
|
||||
[simulation]
|
||||
|
||||
@@ -14,7 +14,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
soliton_num = [1, 2, 3, 4]
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
width = 120e-15
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ model = "hasan"
|
||||
[gas]
|
||||
gas_name = "helium"
|
||||
|
||||
[gas.varying]
|
||||
[gas.variable]
|
||||
temperature = [300, 350, 400]
|
||||
|
||||
[pulse]
|
||||
@@ -23,7 +23,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
29
testing/configs/param_sequence/almost_equal.toml
Normal file
29
testing/configs/param_sequence/almost_equal.toml
Normal file
@@ -0,0 +1,29 @@
|
||||
# raman_type should be added
|
||||
|
||||
name = "test config"
|
||||
|
||||
[fiber]
|
||||
gamma = 0.018
|
||||
length = 1
|
||||
model = "pcf"
|
||||
pitch = 1.5e-6
|
||||
pitch_ratio = 0.37
|
||||
|
||||
[pulse]
|
||||
power = 100e3
|
||||
quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
width = 50e-15
|
||||
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.10000000005e-2, 0.1e-2]
|
||||
|
||||
[simulation]
|
||||
behaviors = ["spm", "raman", "ss"]
|
||||
parallel = true
|
||||
repeat = 4
|
||||
t_num = 16384
|
||||
time_window = 37e-12
|
||||
tolerated_error = 1e-11
|
||||
z_num = 128
|
||||
29
testing/configs/param_sequence/equal.toml
Normal file
29
testing/configs/param_sequence/equal.toml
Normal file
@@ -0,0 +1,29 @@
|
||||
# raman_type should be added
|
||||
|
||||
name = "test config"
|
||||
|
||||
[fiber]
|
||||
gamma = 0.018
|
||||
length = 1
|
||||
model = "pcf"
|
||||
pitch = 1.5e-6
|
||||
pitch_ratio = 0.37
|
||||
|
||||
[pulse]
|
||||
power = 100e3
|
||||
quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
width = 50e-15
|
||||
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.1e-2, 0.001]
|
||||
|
||||
[simulation]
|
||||
behaviors = ["spm", "raman", "ss"]
|
||||
parallel = true
|
||||
repeat = 4
|
||||
t_num = 16384
|
||||
time_window = 37e-12
|
||||
tolerated_error = 1e-11
|
||||
z_num = 128
|
||||
27
testing/configs/param_sequence/no_variations.toml
Normal file
27
testing/configs/param_sequence/no_variations.toml
Normal file
@@ -0,0 +1,27 @@
|
||||
# raman_type should be added
|
||||
|
||||
name = "test config"
|
||||
|
||||
[fiber]
|
||||
gamma = 0.018
|
||||
length = 1
|
||||
model = "pcf"
|
||||
pitch = 1.5e-6
|
||||
pitch_ratio = 0.37
|
||||
|
||||
[pulse]
|
||||
intensity_noise = 0.1e-2
|
||||
power = 100e3
|
||||
quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
width = 50e-15
|
||||
|
||||
[simulation]
|
||||
behaviors = ["spm", "raman", "ss"]
|
||||
parallel = true
|
||||
repeat = 4
|
||||
t_num = 16384
|
||||
time_window = 37e-12
|
||||
tolerated_error = 1e-11
|
||||
z_num = 128
|
||||
@@ -19,7 +19,7 @@ length = 0.02
|
||||
power = 10000
|
||||
t0 = 2.84e-14
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
wavelength = [835e-9, 830e-9]
|
||||
|
||||
[simulation]
|
||||
|
||||
@@ -15,7 +15,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = ["gaussian", "sech"]
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# parallel should not be varying
|
||||
# parallel should not be variable
|
||||
|
||||
name = "test config"
|
||||
|
||||
@@ -15,7 +15,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
@@ -28,5 +28,5 @@ time_window = 37e-12
|
||||
tolerated_error = 1e-11
|
||||
z_num = 1
|
||||
|
||||
[simulation.varying]
|
||||
[simulation.variable]
|
||||
parallel = [true, false]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#varying parameters should be lists
|
||||
#variable parameters should be lists
|
||||
|
||||
name = "test config"
|
||||
|
||||
@@ -15,7 +15,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = 0.05e-2
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
[simulation]
|
||||
|
||||
@@ -13,7 +13,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = []
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ quantum_noise = true
|
||||
shape = "gaussian"
|
||||
wavelength = 1050e-9
|
||||
|
||||
[pulse.varying]
|
||||
[pulse.variable]
|
||||
intensity_noise = [0.05e-2, 0.1e-2]
|
||||
width = [50e-15, 100e-15, 200e-15]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user