initial upload
This commit is contained in:
50
test/old_tests/heterogeneous_inv_test/input_params.yml
Normal file
50
test/old_tests/heterogeneous_inv_test/input_params.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
version : 2
|
||||
|
||||
domain :
|
||||
min_max_dep : [-10.0, 10.0] # depth in km
|
||||
min_max_lat : [37.7,42.3] # latitude in degree
|
||||
min_max_lon : [22.7,27.3] # longitude in degree
|
||||
n_rtp : [10,50,50] # number of nodes
|
||||
|
||||
source :
|
||||
src_rec_file : 'OUTPUT_FILES/src_rec_file_forward.dat' # source receiver file (if found, src_dep_lat_lon is ignored)
|
||||
swap_src_rec : 1 # swap source and receiver (1: yes, 0: no)
|
||||
|
||||
model :
|
||||
init_model_path : './test_model_init.h5' # path to initial model file (ignored if init_model_type is '1d_*')
|
||||
|
||||
inversion :
|
||||
run_mode : 1 # 0 for forward simulation only, 1 for inversion
|
||||
optim_method : 2 # optimization method. 0 : "grad_descent", 1 : "halve-stepping", 2 : "lbfgs",
|
||||
max_iterations_inv : 20 # maximum number of inversion iterations
|
||||
step_size : 0.01 # step size for inversion
|
||||
|
||||
# parameters for multiparametric inversion
|
||||
n_inversion_grid : 5 # number of inversion grid sets
|
||||
n_inv_dep_lat_lon : [5,20,20] # number of the base inversion grid points
|
||||
min_max_dep_inv : [-10.0, 10.0] # depth in km with R = 6371.0
|
||||
min_max_lat_inv : [37.7,43.3] # latitude in degree
|
||||
min_max_lon_inv : [22.7,28.3] # longitude in degree
|
||||
|
||||
# parameter for halving-stepping or lbfgs
|
||||
max_sub_iterations : 10 # maximum number of sub-iterations
|
||||
#regularization_weight : 0.0 # regularization weight
|
||||
smooth_method: 0
|
||||
#l_smooth_rtp : [20,20,20] #
|
||||
|
||||
parallel :
|
||||
n_sims : 1 # number of simultaneous run
|
||||
ndiv_rtp : [1,2,2] # number of subdomains
|
||||
nproc_sub : 2 # number of subprocess used for each subdomain
|
||||
|
||||
calculation :
|
||||
convergence_tolerance : 1e-4
|
||||
max_iterations : 200
|
||||
stencil_order : 3 # 1 or 3
|
||||
sweep_type : 1 # 0: legacy, 1: cuthill-mckee with shm parallelization
|
||||
|
||||
output_setting :
|
||||
is_output_source_field : 0 # output the calculated field of all sources 1 for yes; 0 for no; default: 1
|
||||
is_verbose_output : 0 # output internal parameters, if no, only model parameters are out. 1 for yes; 0 for no; default: 0
|
||||
is_output_model_dat : 0 # output model_parameters_inv_0000.dat or not. 1 for yes; 0 for no; default: 1
|
||||
is_output_in_process : 1 # output the model parameters in each iteration. 1 for yes; 0 for no; default: 1
|
||||
34
test/old_tests/heterogeneous_inv_test/input_params_pre.yml
Normal file
34
test/old_tests/heterogeneous_inv_test/input_params_pre.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
version : 2
|
||||
|
||||
domain :
|
||||
min_max_dep : [-10.0, 10.0] # depth in km
|
||||
min_max_lat : [37.7,42.3] # latitude in degree
|
||||
min_max_lon : [22.7,27.3] # longitude in degree
|
||||
n_rtp : [10,50,50] # number of nodes
|
||||
|
||||
source :
|
||||
src_rec_file : 'src_rec_test.dat' # source receiver file (if found, src_dep_lat_lon is ignored)
|
||||
swap_src_rec : 1 # swap source and receiver (1: yes, 0: no)
|
||||
|
||||
model :
|
||||
init_model_path : './test_model_true.h5' # path to initial model file (ignored if init_model_type is '1d_*')
|
||||
|
||||
inversion :
|
||||
run_mode : 0 # 0 for forward simulation only, 1 for inversion
|
||||
n_inversion_grid : 1
|
||||
|
||||
parallel :
|
||||
n_sims : 1 # number of simultaneous run
|
||||
ndiv_rtp : [1,2,2] # number of subdomains
|
||||
nproc_sub : 2 # number of subprocess used for each subdomain
|
||||
|
||||
calculation :
|
||||
convergence_tolerance : 1e-4
|
||||
max_iterations : 500
|
||||
stencil_order : 3 # 1 or 3
|
||||
sweep_type : 1 # 0: legacy, 1: cuthill-mckee with shm parallelization
|
||||
|
||||
output_setting :
|
||||
is_output_source_field : 0 # output the calculated field of all sources 1 for yes; 0 for no; default: 1
|
||||
is_verbose_output : 0 # output internal parameters, if no, only model parameters are out. 1 for yes; 0 for no; default: 0
|
||||
is_output_model_dat : 0 # output model_parameters_inv_0000.dat or not. 1 for yes; 0 for no; default: 1
|
||||
441
test/old_tests/heterogeneous_inv_test/make_test_model.ipynb
Normal file
441
test/old_tests/heterogeneous_inv_test/make_test_model.ipynb
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user