-
Notifications
You must be signed in to change notification settings - Fork 0
/
c2_Ty.py
32 lines (28 loc) · 917 Bytes
/
c2_Ty.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- coding: utf-8 -*-
"""
Created on Tue Oct 26 12:48:32 2021
@author: Xcz
"""
from c_CGH_grating_cif import CGH_grating_cif
# %%
if __name__ == '__main__':
kwargs = \
{"l": 0, "structure_xy_mode": 'y',
"m_x": 1, "T_x": 7.2, "Duty_Cycle_x": 0.25,
"m_y": 1, "T_y": 7.2, "Duty_Cycle_y": 0.33,
# %%
"size_PerCIF_Unit": 1 / 2000,
"size_pattern": 5000, "size_PerPixel": 0.8, # 不能是 0.奇数,得是 0.偶数
"size_pattern_y": 15000, # size_pattern / size_PerPixel = 65536 = 2 ^ 16 是上限
# %%
"is_transverse": 1, "is_positive": 1, "is_transparent": 1,
"is_reverse": 0,
# %%
"is_plot": 0,
# %%
"kwargs_seq": 0, "root_dir": r'1',
"is_remove_root_dir": 1,
}
from fun_global_var import init_GLV_DICT
init_GLV_DICT(**kwargs)
CGH_grating_cif(**kwargs)