Merge branch 'optimisation-taguchi'

这个提交包含在:
Craig Warren
2016-01-14 10:20:52 +00:00
当前提交 18693474a1
共有 17 个文件被更改,包括 5959 次插入102 次删除

文件差异内容过多而无法显示 加载差异

查看文件

@@ -0,0 +1,20 @@
#title: MALA 1.2GHz 'like' antenna in free-space
#domain: 0.264 0.189 0.220
#dx_dy_dz: 0.001 0.001 0.001
#time_window: 6e-9
#taguchi:
## Dictionary containing name of parameters to optimise and their values
optparams['excitationfreq'] = [0.8e9, 2.5e9]
optparams['sourceresistance'] = [1, 10000]
optparams['absorberEr'] = [1, 50]
optparams['absorbersig'] = [0.01, 1]
## Dictionary containing name of fitness metric to use, stopping criterion, and names of associated outputs (should correspond to names of rxs in input file)
fitness = {'name': 'fitness_xcorr', 'stop': 0.98, 'args': {'refresp': inputdirectory + 'antenna_MALA_1200_fs_real.txt', 'outputs': 'rxMALA1200'}}
#end_taguchi:
#python:
from user_libs.antennas import antenna_like_MALA_1200
antenna_like_MALA_1200(0.132, 0.095, 0.100, resolution=0.001, **optparams)
#end_python:

文件差异内容过多而无法显示 加载差异

查看文件

@@ -0,0 +1,28 @@
#title: A-scan from a metal cylinder buried in a dielectric half-space
#domain: 0.240 0.190 0.002
#dx_dy_dz: 0.002 0.002 0.002
#time_window: 3e-9
#time_step_limit_type: 2D
#pml_cells: 10 10 0 10 10 0
#material: 6 0 1 0 half_space
#taguchi:
## Dictionary containing name of parameters to optimise and their values
optparams['rickeramp'] = [0.25, 5]
## Dictionary containing name of fitness metric to use, stopping criterion, and names of associated outputs (should correspond to names of rxs in input file)
fitness = {'name': 'fitness_max', 'stop': 4000, 'args': {'outputs': 'myRx'}}
#end_taguchi:
#python:
print('#waveform: ricker {} 1.5e9 my_ricker'.format(optparams['rickeramp']))
#end_python:
#hertzian_dipole: z 0.100 0.170 0 my_ricker
#rx: 0.140 0.170 0 myRx Ez
#box: 0 0 0 0.240 0.170 0.002 half_space
#cylinder: 0.120 0.080 0 0.120 0.080 0.002 0.010 pec
geometry_view: 0 0 0 0.240 0.190 0.002 0.002 0.002 0.002 cylinder_half_space n