#[non_exhaustive]pub struct Prop {
pub beam: Beam,
pub kernel_step: f64,
pub fresnel_error: f64,
pub method: PopMethod,
}Expand description
伝搬の結果
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.beam: Beam§kernel_step: f64積分の核の位相の、入力の隣り合う標本の間の差の最大 [rad]。π を超えると折り返しが出る。 精度は(標本の中で位相が回る分)おおむね kernel_step² に比例する(1e-3 の精度には 0.3 rad 程度)
fresnel_error: f64Fresnel 近似で落とした位相の項 k ρ⁴/(8 d³) の最大 [rad](ρ は入力と出力の点の横のずれ)。
PopMethod::Direct と、近似なしの角スペクトルでは 0。0.01 rad を超えると照度が % 程度ずれうるので Direct を使う(速い集光・ピントずれ)。
近軸の角スペクトルでは伝達関数の近軸近似の誤差(場のある周波数で)
method: PopMethod使った方法(Auto なら選んだもの)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Prop
impl RefUnwindSafe for Prop
impl Send for Prop
impl Sync for Prop
impl Unpin for Prop
impl UnsafeUnpin for Prop
impl UnwindSafe for Prop
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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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