Files
TomoATT/test/old_tests/update_input_file/input_params.yml
2025-12-17 10:53:43 +08:00

50 lines
2.1 KiB
YAML

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 : 1 # optimization method. 0 : "grad_descent", 1 : "halve-stepping", 2 : "lbfgs",
max_iterations_inv : 3 # maximum number of inversion iterations
step_size : 0.001 # step size for inversion
# parameters for multiparametric inversion
n_inversion_grid : 5 # number of inversion grid sets
n_inv_dep_lat_lon : [5,10,10] # 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,42.3] # latitude in degree
min_max_lon_inv : [22.7,27.3] # longitude in degree
# parameter for halving-stepping or lbfgs
max_sub_iterations : 10 # maximum number of sub-iterations
regularization_weight : 100.0 # regularization weight
#l_smooth_rtp : [10,10,10] #
parallel :
n_sims : 1 # number of simultaneous run
ndiv_rtp : [1,1,1] # 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