pub enum PopMethod {
Auto,
Fresnel,
Angular,
Direct,
}Expand description
伝搬の方法
Variants§
Auto
Fresnel の積分の核が標本化できれば Fresnel(Fresnel 近似の誤差が 0.01 rad を超え、重すぎなければ Rayleigh-Sommerfeld)、できなければ(近い距離)角スペクトル
Fresnel
Fresnel 近似の Huygens・Fresnel 積分(x・y に分かれる核。出力の格子は自由。遠い距離・集光向き)
Angular
角スペクトル(FFT。近い距離向き)。パイロットに曲率があれば、その球面に沿った座標で近軸の 伝達関数、曲率がなければ近似なしの伝達関数。出力の格子は入力の格子を (1 + κd) 倍したもの (出力の格子を指定すると、そこへ双線形で補間する)
Direct
Rayleigh-Sommerfeld の第 1 種の積分(近似なし、遅い)
Trait Implementations§
impl Copy for PopMethod
impl Eq for PopMethod
impl StructuralPartialEq for PopMethod
Auto Trait Implementations§
impl Freeze for PopMethod
impl RefUnwindSafe for PopMethod
impl Send for PopMethod
impl Sync for PopMethod
impl Unpin for PopMethod
impl UnsafeUnpin for PopMethod
impl UnwindSafe for PopMethod
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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