pub struct CoatModel {
pub d: f64,
pub bmax: f64,
pub wavelengths: Vec<f64>,
pub betas: Vec<f64>,
pub m: Vec<Vec<[[Complex<f64>; 4]; 2]>>,
pub psi: Vec<Vec<[f64; 2]>>,
pub mirror: Option<MirrorModel>,
pub kinks: Vec<f64>,
pub note: String,
pub order: usize,
}Expand description
暗号化された膜の特性行列モデル(層を読まずに、任意の硝材・向き・波長で使う)。
透過は膜ごと・波長ごと・β = n sinθ ごと・偏光ごとの特性行列 M(OpticStudio の位相を含む)を
M = exp(i k ψ) · M̃ と分けて持つ。M̃ は det M̃ = 1 の滑らかな行列、ψ [µm] は OpticStudio が掛ける
s・p 共通の位相 −Σ d_j Re(β²/q_j) 由来のスカラー(層の屈折率 Re(n_j) で発散するので、β ≤ bmax だけ使う)。
入射側のアドミタンス e1、基板側 e2(s: n cos、p: n / cos)で
t = 2 e1 / (e1 M00 + M10 + e1 e2 M01 + e2 M11) · sqrt(e2 / e1) · exp(i k D n_o / cos_o)
(n_o は膜の外側の媒質)。基板側から入る(後ろの媒質が空気)ときは M の対角を入れ替える。
鏡は基準の媒質 n_ref から測った r(位相 exp(2 i k n cos D_m) を外したもの)を持ち、
アドミタンス Y = e_ref (1 − r) / (1 + r) を通して入射側の媒質へ換算する。
補間は order が 0 なら β² で 3 次スプライン、波長は近い 4 点で 1/λ の 3 次。
order が p(4〜12)なら、波長は近い p 点の 1/λ の多項式、β は近い p 点の β² の多項式
(厚い膜でも少ない点で済む。層から作るモデルで使う)。
Fields§
§d: f64透過の位相の厚さ D [µm]
bmax: f64透過で使える β の上限
wavelengths: Vec<f64>§betas: Vec<f64>β(昇順、全波長で共通)
m: Vec<Vec<[[Complex<f64>; 4]; 2]>>[波長][β][偏光 s, p] → (M̃00, M̃10, M̃01, M̃11)
psi: Vec<Vec<[f64; 2]>>[波長][β][偏光] → ψ [µm]
mirror: Option<MirrorModel>§kinks: Vec<f64>波長方向の折れ目 [µm](昇順)。膜の材料の分散表の節で、係数の波長微分がここで跳ぶ。 波長の補間はこの点をまたがない(透過・鏡とも。折れ目の波長でも測っておく)
note: String注記(空でなければ利用者に見せる。短い測定から作った近似のモデルの印など)。LBCM 2 の NOTE 行、LBCM 3 の末尾の NOTES
order: usize透過の補間の点の数。0 は従来(波長は近い 4 点、β は β² のスプライン)、p(4〜12)は波長・β² とも近い p 点の多項式。
LBCM 2 の ORDER 行、LBCM 4 の値(LBCM 3 は 0 だけ)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CoatModel
impl RefUnwindSafe for CoatModel
impl Send for CoatModel
impl Sync for CoatModel
impl Unpin for CoatModel
impl UnsafeUnpin for CoatModel
impl UnwindSafe for CoatModel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more