本文整理汇总了Python中source.Source.maskxpitch方法的典型用法代码示例。如果您正苦于以下问题:Python Source.maskxpitch方法的具体用法?Python Source.maskxpitch怎么用?Python Source.maskxpitch使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类source.Source
的用法示例。
在下文中一共展示了Source.maskxpitch方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Mask
# 需要导入模块: from source import Source [as 别名]
# 或者: from source.Source import maskxpitch [as 别名]
from mask import Mask
from source import Source
import time
a = time.time()
m = Mask()
m.x_range = [-300.0,300.0]
m.y_range = [-300.0,300.0]
m.x_gridsize = 2.5
m.y_gridsize = 2.5
m.openGDS('./NanGateLibGDS/NOR2_X2.gds',11,0.3)
m.maskfft()
s = Source()
s.na = 1.35
s.maskxpitch = m.x_range[1] - m.x_range[0]
s.maskypitch = m.y_range[1] - m.y_range[0]
s.type = 'annular'
s.sigma_in = 0.7
s.sigma_out = 0.9
s.smooth_deta = 0.00
s.shiftAngle = 0
s.update()
s.ifft()
o = LensList()
o.na = s.na
o.maskxpitch = s.maskxpitch
o.maskypitch = s.maskypitch
o.focusList = [0,80]
o.focusCoef = [1,0.5]
示例2: Mask
# 需要导入模块: from source import Source [as 别名]
# 或者: from source.Source import maskxpitch [as 别名]
[[6, -1],[6, -2],[1, -2],[1, -3],[4, -3],[4, -6],[3, -6],[3, -4],[0, -4],[0, -1],[6, -1]] ]
m = Mask()
m.x_range = [-300.0,300.0]
m.y_range = [-400.0,300.0]
m.x_gridsize = 1.0
m.y_gridsize = 1.0
m.CD = 40
m.polygons = mp
m.poly2mask()
m.smooth()
m.maskfft()
"""nominal ILT setting"""
s = Source()
s.na = 1.35
s.maskxpitch = 600.0
s.maskypitch = 800.0
s.type = 'annular'
s.sigma_in = 0.6
s.sigma_out = 0.8
s.update()
s.ifft()
o = Lens()
o.na = s.na
o.maskxpitch = s.maskxpitch
o.maskypitch = s.maskypitch
o.update()
o.calPupil()
o.calPSF()